Moode Forum
IR Remote Control with Lirc - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: FAQ and Guides (https://moodeaudio.org/forum/forumdisplay.php?fid=9)
+--- Thread: IR Remote Control with Lirc (/showthread.php?tid=187)

Pages: 1 2 3 4 5 6


RE: IR Remote Control with Lirc - DRONE7 - 03-19-2019

Andreas, it depends on the HiFiBerry dac.... many HiFiBerry Hat boards have duplicate holes that another gpio strip can be soldered to.
https://www.modmypi.com/wire-solder-and-connectors-1141/zero-male-header-40-pin-2-x-20

There are also duplicator boards, a sort of "in-the middle-connector"
https://www.element14.com/community/docs/DOC-68908#overview

As to which pins are available for the remote you should check with HiFiBerry for your chosen board.
https://support.hifiberry.com/hc/en-us
Here is an example...
https://support.hifiberry.com/hc/en-us/community/posts/201844101-Can-I-add-infrared-sensor-for-remote-control-

The remote receiver uses 3 pins... power @ 3.3 volts, ground, and a signal pin...(often gpio pin 27)

The ground and 3.3v shouldn't be a problem but check the current useage of the  HiFiBerry Hat as there is a current limit on the 3.3v pin. (There is a work-around using the 5v gpio pin and a regulator. If you need that let me know and I can post details)

Bob


RE: IR Remote Control with Lirc - IT-Andy52 - 03-19-2019

(03-19-2019, 02:21 AM)DRONE7 Wrote: Andreas, it depends on the HiFiBerry dac.... many HiFiBerry Hat boards have duplicate holes that another gpio strip can be soldered to.
https://www.modmypi.com/wire-solder-and-connectors-1141/zero-male-header-40-pin-2-x-20

There are also duplicator boards, a sort of "in-the middle-connector"
https://www.element14.com/community/docs/DOC-68908#overview

As to which pins are available for the remote you should check with HiFiBerry for your chosen board.
https://support.hifiberry.com/hc/en-us
Here is an example...
https://support.hifiberry.com/hc/en-us/community/posts/201844101-Can-I-add-infrared-sensor-for-remote-control-

The remote receiver uses 3 pins... power @ 3.3 volts, ground, and a signal pin...(often gpio pin 27)

The ground and 3.3v shouldn't be a problem but check the current useage of the  HiFiBerry Hat as there is a current limit on the 3.3v pin. (There is a work-around using the 5v gpio pin and a regulator. If you need that let me know and I can post details)

Bob

Ah great
thx a lot for the eye-opener.
I saw these "holes" but had not thought of soldering .. still too much used to plug and play Smile
Great, I will find my way - the deeper I look into Pi and the possibilities the more I like it - 


Enjoy music and Pi-ing


RE: IR Remote Control with Lirc - DRONE7 - 03-19-2019

Quote:still too much used to plug and play [Image: smile.png]

and the "in-the middle-connector" is the plug-n-play option for those that don't want to solder.. Wink


https://www.element14.com/community/docs/DOC-68908#overview

note that any soldering on HiFiBerry boards voids the warranty... Sad


RE: IR Remote Control with Lirc - rikardo1979 - 04-15-2019

Just scratching my head for hours now and still can not work out what is going on here Huh

So installed the latest moOde 5 and can not make lirc working. After few hours I have realised that the lirc0 is missing under /dev.
Anyone any idea what is going on? Reading on net it may be an issue with the kernel?


RE: IR Remote Control with Lirc - Cardone - 04-15-2019

(04-15-2019, 12:34 PM)rikardo1979 Wrote: Just scratching my head for hours now and still can not work out what is going on here Huh

So installed the latest moOde 5 and can not make lirc working. After few hours I have realised that the lirc0 is missing under /dev.
Anyone any idea what is going on? Reading on net it may be an issue with the kernel?

The same for me....
After I installed LIRC, I'm missing in / dev / lirc0
Uninstalled / Installed .. The same effect ..


RE: IR Remote Control with Lirc - rikardo1979 - 04-15-2019

(04-15-2019, 01:11 PM)Cardone Wrote:
(04-15-2019, 12:34 PM)rikardo1979 Wrote: Just scratching my head for hours now and still can not work out what is going on here Huh

So installed the latest moOde 5 and can not make lirc working. After few hours I have realised that the lirc0 is missing under /dev.
Anyone any idea what is going on? Reading on net it may be an issue with the kernel?

The same for me....
After I installed LIRC, I'm missing in / dev / lirc0
Uninstalled / Installed .. The same effect ..

At least now I know I am not alone in this Smile
But still can not figure out what is going on or how to fix it...


RE: IR Remote Control with Lirc - TheOldPresbyope - 04-15-2019

Perhaps because of this: Using LIRC with Kernel 4.19.x?

Regards,
Kent


RE: IR Remote Control with Lirc - Cardone - 04-15-2019

(04-15-2019, 01:45 PM)TheOldPresbyope Wrote: Perhaps because of this: Using LIRC with Kernel 4.19.x?

Regards,
Kent

Thank you....

I will try it today


RE: IR Remote Control with Lirc - rikardo1979 - 04-16-2019

So the solution was very simple at the end :Big Grin

There is a change in latest 4.19.x kernel 

All what's needed after all is todo a change in /boot/config.txt

from original
Code:
dtoverlay=lirc-rpi,gpio_in_pin=4


to
Code:
dtoverlay=gpio-ir,gpio_pin=4


This is related to my lirc use on my RaspDAC Mini streamer

Hope this helps to others


RE: IR Remote Control with Lirc - stosoorok - 04-17-2019

(04-16-2019, 10:19 AM)rikardo1979 Wrote: So the solution was very simple at the end :Big Grin

Thanks rikardo1979, but not quite simple. Now I see /dev/lirc0 again but it won't recognize any remote codes (pulse). What am I missing?

edit: sorry, ignore it, typo again. Smile