Moode Forum

Full Version: IR Remote Control with Lirc
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
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-...pin-2-x-20

There are also duplicator boards, a sort of "in-the middle-connector"
https://www.element14.com/community/docs...8#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/c...te-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
(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-...pin-2-x-20

There are also duplicator boards, a sort of "in-the middle-connector"
https://www.element14.com/community/docs...8#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/c...te-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
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...8#overview

note that any soldering on HiFiBerry boards voids the warranty... Sad
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?
(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 ..
(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...
Perhaps because of this: Using LIRC with Kernel 4.19.x?

Regards,
Kent
(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
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
(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
Pages: 1 2 3 4 5 6