LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Lirc and an arduino with IR (https://www.linuxquestions.org/questions/linux-newbie-8/lirc-and-an-arduino-with-ir-4175419321/)

gregmcc 07-30-2012 04:27 AM

Lirc and an arduino with IR
 
I've posted this in an arduino form but am not sure they can help so will post here as well.

I've build a arduino with a TSOP1138 38khz infrared receiver. It works great - I press a key and the hex value is sent out to the COM port.

When I plug this project into my suse server it detects the USB device and assigns it to /dev/ttyACM0

If I then do a
Code:

cat /dev/ttyACM0
150BF23

and press a key on the remote the hex value is dumped. Great stuff.

Now the trick question - how do I get it working with lirc. What driver should I use?

I've tried a few things with irw but don't seem to be getting anywhere :(

Does this sound even doable though? How does a normal remote receiver work? Would it do the same and echo the hex value to the com port?


All times are GMT -5. The time now is 11:50 AM.