INFRARED []

Outils pour utilisateurs

Outils du site


INFRARED

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
documentation:informatique:raspberrypi:infrared:index [2022/09/15 20:39] – [LIRC SEND COMMANDS] f1slsdocumentation:informatique:raspberrypi:infrared:index [2022/09/16 18:28] (Version actuelle) – [LIRC] f1sls
Ligne 38: Ligne 38:
 === Add the lines below to the file === === Add the lines below to the file ===
 <WRAP left round important 30%> <WRAP left round important 30%>
-useless +Useless!
-</WRAP> +
 <code bash> <code bash>
 lirc_dev lirc_dev
Ligne 46: Ligne 44:
 </code> </code>
 // gpio_out_pin parameter points to the pin controlling the IR LED// // gpio_out_pin parameter points to the pin controlling the IR LED//
 +
 +</WRAP>
 +
  
 === Edit '/etc/lirc/hardware.conf', and add === === Edit '/etc/lirc/hardware.conf', and add ===
Ligne 104: Ligne 105:
 $ pronto2lirc $ pronto2lirc
 </code> </code>
 +Input format: KEY_NAME:HEX_VALUE HEX_VALUE HEX_VALUE...
 +
 +===== PIGPIO =====
 +<code bash>
 +wget https://github.com/joan2937/pigpio/archive/master.zip
 +unzip master.zip
 +cd pigpio-master
 +make
 +sudo make install
 +</code>
 +
 +<WRAP left round info 60%>
 +If the Python part of the install fails it may be because you need the setup tools.
 +<code bash>
 +sudo apt install python-setuptools python3-setuptools
 +</code>
 +</WRAP>
 +
 +==== To start the pigpio daemon ====
 +<code bash>sudo pigpiod</code>
 +
 +==== To stop the pigpio daemon ====
 +<code bash>sudo killall pigpiod</code>
 +
 +==== github ====
 +<code bash>git clone https://github.com/joan2937/pigpio</code>
 +
 +==== Raspbian (raspberrypi.org image) ====
 +<code bash>
 +sudo apt-get update
 +sudo apt-get install pigpio python-pigpio python3-pigpio
 +</code>
 +
 +<WRAP left round info 60%>
 +This may not be the most recent version.  You can check the version with the command pigpiod -v.
 +</WRAP>
 +
 +===== LINKS =====
 +  * https://blog.bschwind.com/2016/05/29/sending-infrared-commands-from-a-raspberry-pi-without-lirc/
 +  * https://git.code.sf.net/p/lirc-remotes/code
 +
documentation/informatique/raspberrypi/infrared/index.1663267142.txt.gz · Dernière modification : de f1sls