Log in

View Full Version : Remote control support


dukey
5th May 2010, 00:51
So, I've been using the WinLIRC project for a while now. The idea is, you connect a simple infra-red reciever to your pc, via the serial port. And then you can program it to use any remote control, ie your tv remote etc. So you can control media player classic, winamp, whatever.

Now, the problem is a lot of newer pcs don't have serial ports, and WinLIRC was basically, hard coded to use the serial port. So, I redesigned the whole program from ground up. I redesigned it, so it would be easy to add support for new recievers. I built myself a simple reciever which connects to the microphone in on my sound card.

Here's some pics.
Circuit pic
http://www.lirc.org/images/ir-audio.png

Heres mine (i didn't bother with the diode)
http://i126.photobucket.com/albums/p95/dukeeeey/winlirc/DSCF0326-2.jpg

It gets it power from USB !
http://i126.photobucket.com/albums/p95/dukeeeey/winlirc/DSCF0327.jpg

It doesn't get much simpler than that.

Here's what the data looks like when recorded with my reciever.
http://i126.photobucket.com/albums/p95/dukeeeey/winlirc/IRData.png

I wrote a simple algorithm to decode the raw audio into pulse/space data which can then be used to decode the actual remote command.

Anyway, check out http://sourceforge.net/projects/winlirc/ if you are interested.

I use this on my own media centre software I wrote. It works great, especially on my HDTV :)
http://forum.doom9.org/showthread.php?t=143521

Enjoy !