I want to receive and generate IR signals with my PI. What is the best way to reliably do this? Would it be with something like this?
Asked
Active
Viewed 1,597 times
2 Answers
2
You should look at LIRC. I bought a cheap IR sensor (Philips OVU412000) from ebay and set up LIRC to receive signals from a TV remote in order to control a program I wrote. Works great on my Pi. I haven't looked into generating signals, but I think LIRC is capable of this.

HeatfanJohn
- 3,125
- 3
- 24
- 36

Munkeh
- 681
- 4
- 9
-
How did you interface the IR sensor to the PI? RS232 or USB? Can you post the specifics? Thanks! – HeatfanJohn Oct 16 '12 at 16:41
-
The IR receiver is USB and it's connected to the Pi via a USB hub (powered, as I have other stuff connected also.) Do you need any other info? – Munkeh Oct 16 '12 at 18:39
-
Can you provide details of how you interfaced the IR sensor to USB? Also part number would be great too! Thanks – HeatfanJohn Oct 16 '12 at 19:46
-
The receiver is a Philips OVU412000. You don't need to do any interfacing as it's all handled by LIRC/kernel stuff; just plug and go. – Munkeh Oct 17 '12 at 20:14
0
Here's a project on how to use LIRC to interface the PI to a home made receiver and transmitter. There is also a third schematic for a transceiver.
The receiver looks to be pretty simple, just a TSOP1238 directly connected to GPIO pins 1, 6 & 12 on the Pi.

HeatfanJohn
- 3,125
- 3
- 24
- 36
-
I defininetly could be wrong, but I don't think the PI has the ability to accurately generate or decode the 38k signals. – PersonOfInterest Oct 16 '12 at 23:19
-
@shaun5 It should be ok given it is implemented as a kernel module. – Alex Chamberlain Oct 17 '12 at 06:59