IR diode/receviver - VS1838B (1838 requires a resistance between Vcc and Signal)
1 -Left - Signal/Out
3 - Right - VCC+(3V)
Xinda board with a 1838B (top view) (this board includes a resistance and a led)
1-Left – GND-
2-Middle – VCC+ (3V)
3- Right – Signal/Out
38 kHz carrier frequency
Most IR remote controls use the 38 kHz carrier frequency.
Name of basic keys
List more names of KEYS with:
irrecord --list-namespace | grep KEY
(if lirc is executing, stop it with
sudo /etc/init.d/lirc stop)
irrecord -d /dev/lirc0 /home/pi/mi_mando_tv.conf
irrecord -f -d /dev/lirc0 /home/pi/my_nevir_tv.conf
(-f for raw mode; it was required for my tv handler. it writes more hex codes for each key)
(irrecord will ask to press many buttons, have patience because it is a quite boring process, after it it will ask for KEY names, enter a previous keyname, press enter, press key in IR handler.)
cp my_nevir_tv.conf lircd.conf
From Openelect GUI(GUI Graphical User Interface)
If using RaspBMC, from Menu enter in "Raspbmc Settings", "IR Remote"
Then, verify following options.
"Enable GPIO TSOP IR Receiver" must be enabled
"GPIO TSOPremote profile"=Custom
and it will detect a new lircd.conf file and will ask for reboot. Select "Yes"
My example file, generated with several TV handlers in raw mode(-f)