7

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?

2 Answers 2

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.

4
  • How did you interface the IR sensor to the PI? RS232 or USB? Can you post the specifics? Thanks! Oct 16, 2012 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, 2012 at 18:39
  • Can you provide details of how you interfaced the IR sensor to USB? Also part number would be great too! Thanks Oct 16, 2012 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, 2012 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.

2
  • I defininetly could be wrong, but I don't think the PI has the ability to accurately generate or decode the 38k signals. Oct 16, 2012 at 23:19
  • @shaun5 It should be ok given it is implemented as a kernel module. Oct 17, 2012 at 6:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.