Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
composants:rpi_osmc [2018/09/16 17:56] – mh | composants:rpi_osmc [2020/06/01 16:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
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 :==== | + | NFS sources have to be properly configured on the server side (e.g. on the NAS if using one) and shared folders have to have permissions set up properly on remote hosts. |
- | *Enter MyOSMC > Pi Config > Hardware Support | + | Sources management works best when using static IPs on the internal network and configuring |
- | *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 (18 when deployed in 12/2017) | + | |
- | *Go to MyOSMC > Remotes | + | |
- | *Activate | + | |
- | *If it doesn' | + | |
- | ==== Using irrecord ==== | + | < |
+ | nfs:// | ||
+ | smb:// | ||
+ | </ | ||
+ | |||
+ | ===== IR Remote control ===== | ||
+ | |||
+ | //IR remotes generally emit in a wavelength around 940nm, so we need a IR sensor. It's invisible to the eye but cameras (such as smartphones) can see a dim purple light.// | ||
+ | |||
+ | ==== Setup ==== | ||
+ | |||
+ | *MyOSMC > Pi Config > Hardware Support | ||
+ | *Note GPIO pins | ||
+ | *we need gpio_in_pin | ||
+ | *Plug the IR sensor accordingly (see below) | ||
+ | *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 | ||
+ | |||
+ | ==== irrecord ==== | ||
- | You must be in a shell : EXIT >> | + | Log into a shell : EXIT >> |
- | Stop the lircd service | + | Stop lircd service |
< | < | ||
Line 34: | Line 47: | ||
</ | </ | ||
- | User irrecord specifying | + | Launch |
< | < | ||
Line 40: | Line 53: | ||
</ | </ | ||
- | Start the lircd service | + | Reboot |
< | < | ||
Line 46: | Line 59: | ||
</ | </ | ||
- | 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 69: | Line 82: | ||
==== RPi 3 Pinout ==== | ==== RPi 3 Pinout ==== | ||
+ | |||
+ | ++++ GPIO Header | | ||
{{composants: | {{composants: | ||
+ | ++++ | ||
+ | |||
+ | === Power Button === | ||
+ | |||
+ | To wake up the RPi after halt, short pin #05 and GND. | ||
- | ===== Divers ===== | + | ==== Links ==== |
+ | [[https:// |