Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revisionBoth sides next revision | ||
composants:rpi_osmc [2018/09/16 17:56] – created 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 56: | Line 60: | ||
=== Specifications === | === Specifications === | ||
- | *output form: active low | + | |
- | *supply voltage: 4.5V ~5.5V | + | *supply voltage: 4.5V ~5.5V |
- | *low level output voltage: 0.2V | + | *low level output voltage: 0.2V |
- | *power consumption: | + | *power consumption: |
- | *wavelength: | + | *wavelength: |
- | *BPF center frequency: 38kHz | + | *BPF center frequency: 38kHz |
- | *operating temperature: | + | *operating temperature: |
- | *soldering temperature: | + | *soldering temperature: |
- | *signal range: max. 10m | + | *signal range: max. 10m |
- | *case: 7.3 x 7.6 x 5.2mm ±0.3mm | + | *case: 7.3 x 7.6 x 5.2mm ±0.3mm |
- | *weight: 0.68g | + | *weight: 0.68g |
==== RPi 3 Pinout ==== | ==== RPi 3 Pinout ==== | ||
Line 75: | Line 79: | ||
===== Divers ===== | ===== Divers ===== | ||
+ | To wake up the RPi after halt, short pin #05 and GND |