Is it possible to use with Tsop4838 IR receiver on top of pHAT DAC? This DAC uses all I2S pins pinout.xyz/pinout/phat_dac
If yes, then is there any additional configuration required?
Cheers
Sorry, assumed you were mixing up the two given your “This DAC uses all I2S pins” comment.
Either way, IR works with most GPIOs, as it’s just a pulse stream that is read. So it’s just a matter of telling lirc which GPIO you are using by setting the corresponding dt overlay parameters:
I am just wondering if I correctly understand this pinout description below
does it mean that I don’t need to specify gpio_in_pin like you did above? Is my config below ok? There’s no input pin for the receiver
dtoverlay=lirc-rpi,gpio_out_pin=17
And by the way: initial post by birca1987 does not contain anything about dtoverlay pin assignment changes, so I wonder how did it work (lirc-rpi default config??)
Thanks again!
(I’ve never did anything like this with RPi, so pls. excuse my ignorance)
I’m using Raspberry Pi3B and Volumio with generic i2s DAC. Accordingly, I set “Hifiberry DAC” as output device, and “Generic I2S DAC” as DAC model. But when I set dtoverlay=gpio-ir,gpio_pin=17 my DAC don’ operate. In Volumio WEB I can not set “Hifiberyy DAC”, because “Hifiberry DAC” disappears, and remain only “Audio Jack” and “HDMI Out”. I see it is imposiible to set two overlays together, Hifiberry dac and gpio-ir. Is it true?
I can confirm after many hours of rabbit-hole googling, the answer is no. It is pretty much the same as my issue with the IR remote over USB HID on the KEF EGG speakers.
ok, i read it and also have Volumio on a raspberry Pi 4 and i got down to her when trying to get the IR receiver going
Log in with ssh as:
user: pi
password: raspberry
sudo apt-get update
sudo apt-get install lirc
Now we need to configure lirc hardware:
sudo nano /etc/lirc/hardware.conf
Hi, I have option to use IR remote to control Volumio without Lirc.
It is based on Python3 with pigpio and irreceiver.
How to:
sudo apt-get install pigpio python-pigpio python3-pigpio
sudo pip3 install irreceiver
sudo pip3 install typing
Copy python file to home directory (or anywhere you want) of Volumio system, open it in the file editor and set input gpio pin number (line 93), save and run with command:
sudo python3 volumio_ir_control.py
If script will start without errors, after pushing some buttons on the remote you should see codes, copy them, than edit volumio_ir_control.py, "link"sniffed codes to proper command (started form line 66) and save file.
Run again and you can be again in control of Volumio (via remote)
Hi
I am new to Raspberry and Volumio.
I made mistake on the first step of learning step, I pressed same button for 80 dots . But I cannot redo this step again.
“irrecord -n -d /dev/lirc0 ~/lircd.conf”
How can I restart the procedure again?
Many thanks!