Hi.
I am looking at purchasing a hifi board for my RPi. I'd like to be able to control this with an infrared remote. Currently I'm using a remote pi board from http://www.msldigital.com/pages/support-for-remotepi-board-plus-2015/ - this works very well but the audio quality from my pi leaves a lot to be desired.
Is it possible to fit this board to the hifiberry, or is there a simple way of attaching an infrared sensor to the hifiberry? This would be preferable to using the remotepi board, because there seem to be a number of cases available for the hifiberry. I am a complete beginner when it comes to hardware tinkering, but I'm willing to learn. Are there any simple instructions for adding an infrared sensor?
Date
Votes
3 comments
-
HiFiBerry team Hi Robert,
have a look at this project:
https://www.hifiberry.com/forums/topic/small-media-player-with-squeezeliteslave/
There are many web pages that describe how to connect an IR receiver, e.g.
https://www.modmypi.com/blog/raspberry-pis-remotes-ir-receivers
One thing is important: Most tutorials use GPIO18 for infrared. This is not possible with the DAC+ as it is using this GPIO (see https://www.hifiberry.com/guides/gpio-usage-of-the-hifiberry-products/ for more details). Therefore you need to connect the receiver to another pin and configure it accordingly.
This is the problem with your existing board. The IR receiver is hardwired to GPIO18, which won't work. However you can just connect the IR sensor to an unused port.
Best regards
Daniel -
greenbag People have been changing gpio_in_pin from 18 to 11. -
DCLXVI since I used a semi transparent case I soldered the IR sensor to the DAC+ itself. I'm using GPIO 4.
Please sign in to leave a comment.