composants:rpi_osmc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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] mhcomposants:rpi_osmc [2019/09/22 18:24] mh
Line 3: Line 3:
 {{composants:rpi.png?250}} {{composants:rpi.png?250}}
  
-===== Résumé =====+===== Summary =====
  
-La Raspberry pi est idéal pour se construire un media center personnelpar exemple en couple avec un NAS.+Raspberry Pi is ideal to build a home media center, for instance, coupled with a NAS.
  
-===== Mettre une télécommande =====+===== Sources management ======
  
-//Remote controls typically use 940 nm wavelength and this setup requires receiver diode capable of sensing in that spectrumIt is invisible to human eye but video cameras see it as if it produces purple light.//+In the sources menu, when keyboard is connected, pressing 'C' will bring up contextual menu for selected itemThis is useful to edit or remove sources.
  
-====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 to the eye but cameras (such as smartphonescan see dim purple light.//
-    *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 the script for the remote you are using +
-    *If it doesn't exist, clone script and make your own or learn one using the irrecord command+
  
-==== Using irrecord ====+==== Setup ====
  
-You must be in a shell : EXIT >> esc-key (default user/pass : osmc/osmc)+  *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
  
-Stop the lircd service+==== irrecord ==== 
 + 
 +Log into a shell : EXIT >> Esc. key (default user/pass : osmc/osmc) 
 + 
 +Stop lircd service
  
 <code> <code>
Line 34: Line 38:
 </code> </code>
  
-User irrecord specifying the correct device node+Launch irrecord specifying correct device (here /dev/lirc0)
  
 <code> <code>
Line 40: Line 44:
 </code> </code>
  
-Start the lircd service again+Reboot lircd service
  
 <code> <code>
Line 46: Line 50:
 </code> </code>
  
-During the record you will be asked to specify keys formatted as such KEY_1, KEY_2, etcA full list can be found here : [[https://www.ocinside.de/modding_en/linux_ir_irrecord_list/]] (2017)+Script will ask to press certain buttonsFull list can be found [[https://www.ocinside.de/modding_en/linux_ir_irrecord_list/|here]] (2017)
  
 ===== Ressources ===== ===== Ressources =====
Line 69: Line 73:
  
 ==== RPi 3 Pinout ==== ==== RPi 3 Pinout ====
 +
 +++++ GPIO Header | 
  
 {{composants:rpi3_gpio.png?500}} {{composants:rpi3_gpio.png?500}}
  
 +++++
 +
 +=== Power Button ===
 +
 +To wake up the RPi after halt, short pin #05 and GND.
  
-===== Divers =====+==== Links ====
  
 +[[https://trendblog.net/how-to-connect-your-synology-nas-to-kodi/|Configuring NFS on Synology NAS to connect to OSMC]]
  • composants/rpi_osmc.txt
  • Last modified: 2020/06/01 16:35
  • by 127.0.0.1