Tell me more ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

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?

share|improve this question

2 Answers

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.

share|improve this answer
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

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.

share|improve this answer
I defininetly could be wrong, but I don't think the PI has the ability to accurately generate or decode the 38k signals. – shaun5 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 6:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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