crocket
Posts: 124
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: 295
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: 124
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: 295
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: 124
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: 1681
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: 124
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

renice123
Posts: 198
Joined: Tue Oct 15, 2019 3:56 pm

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

Thu Dec 19, 2019 5:23 am

I use the Teensy 3.6 microcontroller in order to connect the infrared sensor via usb.
Teensy has many inputs for working with various protocols (SPI / I2C & etc) and allows you to write, for example, a small and efficient keyboard and mouse emulator program via USB
This is very convenient, since the control panel turns into a keyboard or mouse, but at the same time it remains possible to work through the serial port emulator for lirc
Among other things, Teensy programming is an interesting hobby! In addition to the infrared sensor signals, I transmit time to Raspberry, since Teensy has a built-in clock. Also, some more modules from Arduino are connected to Teensy
https://www.pjrc.com/store/teensy36.html

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

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

Thu Dec 19, 2019 6:40 am

I actually gave up on infrared transceivers because infrared is unreliable.

riley123
Posts: 2
Joined: Sun Apr 26, 2020 6:14 pm

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

Sun Apr 26, 2020 6:43 pm

I have also had issues with the reliability of infrred and came across devices like the USB-UIRT (http://www.usbuirt.com/) when searching for a replacement, as my old IR Blaster died.

These devices boradcast an IR signal and can use a TiVo-style direct connect cable. Does anyone know if there is a way to use such a cable directly with a raspberry pi (without purchasing an external USB device like the USB-UIRT).

I looked through the devices listed earlier in this thread, I dont see any references to a jack and the pictures dont seem to show one.

The divice I wish to control has the required IR socket.

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

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

Mon Apr 27, 2020 3:32 am

I kind of gave up on infrared and wireless technologies in general. Now, everything should be wired.

riley123
Posts: 2
Joined: Sun Apr 26, 2020 6:14 pm

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

Mon Apr 27, 2020 10:19 pm

The device I found (USB-UIRT) is hard wired. It uses the infrared extender jack for a direct connect.

I was wondering if there was a way to do the same thing with a raspberry pi.

Thanks

crocket
Posts: 124
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 28, 2020 7:25 am

riley123 wrote:
Mon Apr 27, 2020 10:19 pm
The device I found (USB-UIRT) is hard wired. It uses the infrared extender jack for a direct connect.

I was wondering if there was a way to do the same thing with a raspberry pi.

Thanks
Good luck with infrared hardwares. But, I gave up on it. You will have to get some help from others.

Return to “Automation, sensing and robotics”