Skip to content

Instantly share code, notes, and snippets.

@billpatrianakos
billpatrianakos / LIRC_Raspian_Buster.md
Last active October 18, 2024 13:12
How to set up LIRC on Raspbian Buster (2019, 4.x kernel)

Infrared and LIRC

*Beware: These instructions have been cobbled together from all of the sources I found that got my specific unit working. I can verify it works on a Pi 3B running the latest OS as of summer 2019. Everyone's hardware and system will be a bit different so your mileage may vary. Before you go crazy trying to debug issues sending a signal, grab an existing lirc config for any remote and use the lirc CLI to send a signal out and verify your hardware is sending the signal by viewing the IR LED through a front-facing smartphone camera (almost all smartphone front cameras - even new iPhones - will not filter out IR light and you should see the LED flash when sending a signal). If you see your hardware is sending a signal and/or you can see that the IR input is seeing some signal, then you know your setup works and the issue may be that the remote you're trying to learn simply won't work with LIRC. I know for a fact that many Comcast/Xfinity cable remotes are actually RF devices and need to have

@billpatrianakos
billpatrianakos / lirc_pi_zero_w.txt
Last active December 16, 2023 19:20 — forked from prasanthj/lirc-pi3.txt
Getting lirc to work with Raspberry Pi Zero W (Raspbian Buster)
# Steps to get IR receiver and transmitter from Amazon [1] working on a Raspberry Pi Zero W.
$ sudo apt-get update
$ sudo apt-get install lirc
# Remove this line from /boot/config.txt
dtoverlay=lirc-rpi,gpio_in_pin=18,gpio_out_pin=17
# Add the following lines in /boot/config.txt
dtoverlay=gpio-ir,gpio_pin=23