composants:rpi_osmc

This is an old revision of the document!


OSMC Media Center

La Raspberry pi est idéal pour se construire un media center personnel, par exemple en couple avec un NAS.

Remote controls typically use a 940 nm wavelength and this setup requires a receiver diode capable of sensing in that spectrum. It is invisible to human eye but video cameras see it as if it produces purple light.

  • Enter MyOSMC > Pi Config > Hardware Support
    • 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 a script and make your own or learn one using the irrecord command

You must be in a shell : EXIT » esc-key (default user/pass : osmc/osmc)

Stop the lircd service

sudo systemctl stop lircd_helper@lirc0

User irrecord specifying the correct device node

irrecord -d /dev/lirc0 /home/osmc/lircd.conf

Start the lircd service again

sudo systemctl start lircd_helper@lirc0

During the record you will be asked to specify keys formatted as such KEY_1, KEY_2, etc. A full list https://www.ocinside.de/modding_en/linux_ir_irrecord_list/ (2017)

ir38dm.jpg

Specifications

*output form: active low *supply voltage: 4.5V ~5.5V *low level output voltage: 0.2V *power consumption: 0.6mA *wavelength: 940nm *BPF center frequency: 38kHz *operating temperature: -10°C ~ +60°C *soldering temperature: 260°C, t< 5sec *signal range: max. 10m *case: 7.3 x 7.6 x 5.2mm ±0.3mm *weight: 0.68g

  • composants/rpi_osmc.1537113364.txt.gz
  • Last modified: 2020/06/01 16:36
  • (external edit)