So here is my small pet-project to create handy HTPC device for vacation travels. There are multiple sources how to setup new remote type (here and here) and how to connect TSOP receiver (here), unfortunatelly all a little bit outdated.
So I noted all my steps into this short guide.
Hardware:
- RPi4 4GB
- Argon Remote (why this one? I had a spare, and besides I like its terse design)
- TSOP sensor (any type for 38 kHz will work, I used TSOP4838)
Software:
- Installed latest stable LE11 on RPi4
- TSOP in my case was connected to GPIO pin 23, so following line needs to be added to config.txt (you can edit it directly on the SD card):
dtoverlay=gpio-ir,gpio_pin=23
- Connect via SSH to RPi4 and create with nano editor these 2 files (see for the contents in the attached zip file):
/storage/.config/rc_keymaps/argon40.toml
/storage/.config/rc_maps.cfg
That's it, pretty simple. Attached few pictures from my setup, I used alu fanless cooling case and drilled hole in it to expose the sensor.
Enjoy!