crocket
Posts: 111
Joined: Thu Mar 07, 2019 12:38 pm

What is the best way to add IR transmitter/receiver to raspberry pi 3 B+?

Tue Apr 30, 2019 6:55 am

Currently, HiFiBerry Amp2 is added on top of Raspberry Pi 3 B+.

ANAVI infrared pHAT looks neat, but since Amp2 has tall capacitors on it, it seems I can't add it on top of Amp2.

The other two options are GPIO and USB. Do you know any good IR transmitter/receiver for GPIO and USB interfaces?

User avatar
Joel_Mckay
Posts: 288
Joined: Mon Nov 12, 2012 10:22 pm
Contact: Website

Re: What is the best way to add IR transmitter/receiver to raspberry pi 3 B+?

Tue Apr 30, 2019 7:38 am

sudo apt-get install lirc

Then search for a tutorial about setting up the interface:
http://alexba.in/blog/2013/01/06/settin ... spberrypi/
https://learn.adafruit.com/using-an-ir- ... enter/lirc

This program has been around for a long time.
https://gist.github.com/prasanthj/c15a5 ... 322c95378b

Cheers,
J

crocket
Posts: 111
Joined: Thu Mar 07, 2019 12:38 pm

Re: What is the best way to add IR transmitter/receiver to raspberry pi 3 B+?

Tue Apr 30, 2019 9:01 am

Joel_Mckay wrote:
Tue Apr 30, 2019 7:38 am
sudo apt-get install lirc

Then search for a tutorial about setting up the interface:
http://alexba.in/blog/2013/01/06/settin ... spberrypi/
https://learn.adafruit.com/using-an-ir- ... enter/lirc

This program has been around for a long time.
https://gist.github.com/prasanthj/c15a5 ... 322c95378b

Cheers,
J
I wanted to get recommendations for infrared hardwares. I can think about software setup later.

User avatar
Joel_Mckay
Posts: 288
Joined: Mon Nov 12, 2012 10:22 pm
Contact: Website

Re: What is the best way to add IR transmitter/receiver to raspberry pi 3 B+?

Tue Apr 30, 2019 11:51 am

They mention a 38KHz amplifier+de-modulator that runs at 3.3v just fine:
https://www.adafruit.com/product/157

Keep in mind there are many different remotes, IR wavelengths, and any one of 34/38/40/56 kHz modulations.
There were a few receivers that could auto-select several frequencies, but I can't recall a 3.3v version at this time.

Some end up using an mcu and a IR-pass filtered-photo-transistor to decode the raw input signal. Dumping a raw signal without decoding the modulation can be more "universal", but such methods are almost always more difficult to handle correctly.

Good luck,
J

crocket
Posts: 111
Joined: Thu Mar 07, 2019 12:38 pm

Re: What is the best way to add IR transmitter/receiver to raspberry pi 3 B+?

Tue Apr 30, 2019 12:13 pm

Joel_Mckay wrote:
Tue Apr 30, 2019 11:51 am
They mention a 38KHz amplifier+de-modulator that runs at 3.3v just fine:
https://www.adafruit.com/product/157

Keep in mind there are many different remotes, IR wavelengths, and any one of 34/38/40/56 kHz modulations.
There were a few receivers that could auto-select several frequencies, but I can't recall a 3.3v version at this time.

Some end up using an mcu and a IR-pass filtered-photo-transistor to decode the raw input signal. Dumping a raw signal without decoding the modulation can be more "universal", but such methods are almost always more difficult to handle correctly.

Good luck,
J
I don't like making a mess with jumper cables and a breadboard or prototyping on a breadboard.

What about USB infrared Toy v2 or ANAVI Infrared pHAT?

Is there any good USB infrared transceiver or any good infrared transceiver HAT?

PhatFil
Posts: 1227
Joined: Thu Apr 13, 2017 3:55 pm
Location: Oxford UK

Re: What is the best way to add IR transmitter/receiver to raspberry pi 3 B+?

Fri May 10, 2019 12:13 am

For a product to use out of the box.. i use a broadcom Rm Mini device https://www.amazon.co.uk/Broadlink-Univ ... B01HPWMWCY

with the rm-node red node within node red on a pi-0-w to issue learnt IR commands via mqtt and alexa voice commands.

imho the drawbacks are :
#1 you need to download and install a phone app to learn codes and
#2 as a wifi enabled 'IOT device lord knows what usage data its sending out to the broadcom corporate servers

benefits are:
its 'seen' and repeated every code i have flashed at it.

and once all codes are learnt you can delete the phone app unless you also want to use your phone to control it via its app?

crocket
Posts: 111
Joined: Thu Mar 07, 2019 12:38 pm

Re: What is the best way to add IR transmitter/receiver to raspberry pi 3 B+?

Fri May 10, 2019 2:59 am

PhatFil wrote:
Fri May 10, 2019 12:13 am
For a product to use out of the box.. i use a broadcom Rm Mini device https://www.amazon.co.uk/Broadlink-Univ ... B01HPWMWCY

with the rm-node red node within node red on a pi-0-w to issue learnt IR commands via mqtt and alexa voice commands.

imho the drawbacks are :
#1 you need to download and install a phone app to learn codes and
#2 as a wifi enabled 'IOT device lord knows what usage data its sending out to the broadcom corporate servers

benefits are:
its 'seen' and repeated every code i have flashed at it.

and once all codes are learnt you can delete the phone app unless you also want to use your phone to control it via its app?
That's a reasonably priced product.

Items I have considered

Return to “Automation, sensing and robotics”