sudo nano /boot/config.txt
And where it says
# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi
change it to this
# Uncomment this to enable the lirc-rpi module
dtoverlay=gpio-ir,gpio_pin=20
previously it used to be dtoverlay=lirc-rpi but this one got deprecated in the newer version of
Raspbian.
Execute the following commands to copy the configuration files
sudo cp /etc/lirc/lirc_options.conf.dist /etc/lirc/lirc_options.conf
sudo cp /etc/lirc/lircd.conf.dist /etc/lirc/lircd.conf
edit /etc/lirc/lirc_options.conf by writing the command sudo nano /etc/lirc/lirc_options.conf and
modify the following lines to be exact as here:
driver = default
device = /dev/lirc0
now reboot
sudo reboot
7 of 114
Need help?
Do you have a question about the Raspberry Pi & Arduino Starter Kit and is the answer not in the manual?