Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
composants:rpi_osmc [2018/09/16 17:57] – [Using irrecord] mh | composants:rpi_osmc [2019/09/22 18:19] – mh | ||
---|---|---|---|
Line 3: | Line 3: | ||
{{composants: | {{composants: | ||
- | ===== Résumé | + | ===== Summary |
- | La Raspberry | + | A Raspberry |
- | ===== Mettre une télécommande | + | ===== Sources management ====== |
- | //Remote controls typically use a 940 nm wavelength and this setup requires | + | In the sources menu, when a keyboard is connected, pressing ' |
- | ====Installation steps :==== | + | ===== IR Remote control ===== |
- | *Enter MyOSMC > Pi Config > Hardware Support | + | //IR remotes generally emit in a wavelength around 940nm, so we need a IR sensor. It's invisible |
- | *Note the GPIO pins | + | |
- | *The one we need is gpio_in_pin | + | |
- | *Cable the diode to the board | + | |
- | *Vin to 3.3V or 5V accordingly | + | |
- | *GND to RPi GND | + | |
- | *OUT to pin gpio_in_pin | + | |
- | *Go to MyOSMC > Remotes | + | |
- | *Activate the script for the remote you are using | + | |
- | *If it doesn' | + | |
- | ==== Using irrecord | + | ==== Setup ==== |
- | You must be in a shell : EXIT >> | + | *MyOSMC |
+ | *Note GPIO pins | ||
+ | *we need gpio_in_pin | ||
+ | *Plug the IR sensor accordingly | ||
+ | *Vin on 3.3V or 5V | ||
+ | *GND on RPi GND | ||
+ | *OUT on gpio_in_pin (18 on mine in 12/2017) | ||
+ | *MyOSMC > Remotes | ||
+ | *Active appropriate script according to your remote | ||
+ | *If no script exists, clone a script and edit it or create one with irrecord command | ||
- | Stop the lircd service | + | ==== irrecord ==== |
+ | |||
+ | Log into a shell : EXIT >> Esc. key (default user/pass : osmc/ | ||
+ | |||
+ | Stop lircd service | ||
< | < | ||
Line 34: | Line 38: | ||
</ | </ | ||
- | User irrecord specifying | + | Launch |
< | < | ||
Line 40: | Line 44: | ||
</ | </ | ||
- | Start the lircd service | + | Reboot |
< | < | ||
Line 46: | Line 50: | ||
</ | </ | ||
- | During the record you will be asked to specify keys formatted as such KEY_1, KEY_2, etc. A full list can be found here : [[https:// | + | Script |
===== Ressources ===== | ===== Ressources ===== | ||
Line 75: | Line 79: | ||
===== Divers ===== | ===== Divers ===== | ||
+ | To wake up the RPi after halt, short pin #05 and GND |