Skip to content


Make an Infrared Remote Control for PC

A friend of mine came yesterday to me asking if I can do something for him to control WinAmp via a Remote Control. After some searching I found a very simple to build IR receiver using the serial port on LIRC official page so I started to gather the components from our local electronics shop. It costed me around 1.5$ so it was also cheap enough :D .
The schematic is

ir_receiver.GIF

and the components are as follows :

  • IC1 = 78L05, 5V regulator
  • IC2 = TSOP1738 , IR receiver
  • D1 = 1N4148
  • C1 = 4.7uF
  • R1 = 4.7K
  • one male or female (depends on your configuration/cables) serial (DB9,RS232) connector

I choosed to put all components on air and in the serial connector’s box (photos below).
The pinouts of the 9-pins connector are :

  • 1 = DCD (Carrier Detect)
  • 2 = RXD (Receive Data)
  • 3 = TXD (Transmit Data)
  • 4 = DTR (Data Terminal Ready)
  • 5 = GND (Ground)
  • 6 = DSR (Data Set Ready)
  • 7 = RTS (Request To Send)
  • 8 = CTS (Clear To Send)
  • 9 = RI (Ring Indicator)

TSOP1738 pinouts

IM000144.JPG
the starting materials

IM000148.JPG
during construction

IM000158.JPG
inside the box

IM000159.JPG
the final product

IM000387.JPG
the remote controls I use

For the software part you can use :

(Edited) As a remote control you can use almost all universal remote controls (you must know its working code for the TSOP1738, for the one from the attached picture the code is 081) and most of the domestic (videorecorder, tv …) remote controls. To see if one is working open WinLirc, press Reconfigure and then Raw Codes. If when you press a button on your remote control you see lots of numbers there then it means it is working.

(Edited) To add a status LED to your receiver, just make the schematic below (I tested it last week and it went ok). The disadvantage of this is that you’ll need a battery so it can run ok.

IR Receiver with LED status
Just click the image to see it larger

References :

Posted in Non-MCU projects.


163 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. didou says

    can I use the TSOP 1736 and maxwell remot controle please and I need help for winlirc use
    thank you a lot

  2. Trimbitas Sorin says

    Didou .. you can use TSOP 1736 without any issues instead of 1738.
    Regards
    Sorin

  3. Donnie says

    They sell IR remotes for windows, just plug the receiver into the USB port and go, no drivers needed. Mine cost $12.99 at a local electronics store and it came with new batteries. I came here looking for information to hack one and use the parts to convert a dauphin keyboard into a remote. Guess I’ll have to take it apart and poke around…lol.

  4. macgyver says

    can i remove the diode pls help me on this???

  5. Trimbitas Sorin says

    No, the diode is for your port’s security.

  6. lokraj says

    thanks for your information…

    instead of 4.7uF i took 10uF capacitor. after pressing keys of remote nothing is coming in hyperterminal. i checked for 1200 baud rate. please any body can help me out.

  7. Trimbitas Sorin says

    You could try with higher baud rates like 112000.

  8. zoteman says

    Hi, I’m very new in electronic, but I would like to know if its possible and not too difficult to make a “digital keyboard” (yeah, the ones with lasers and IR lights), I don’t need the laser part, I only want to know how to make the sensor and adjust it to recognise where’s each “key”

1 2 3 4

Continuing the Discussion

  1. DIY:happy » IR WinAmp Remote linked to this post on July 11, 2006

    [...] WinAmp really is the media player of choice (if you don’t have it, you should get it) and what’s better than being able to control said media player via infrared. This little infrared receiver hooks right up into your serial port and allows you to have full control over your tunes. You can hide the receiver in a plant, stuffed animal, or just attach it to the side of your CRT with a big ‘ol magnet (don’t actually do that). A freeware software package for Windows and Linux sweetens the deal, allowing you to program in your remote functions. [...]

  2. MAKE: Blog linked to this post on July 11, 2006

    HOW TO – Make an IR remote for WinAmp…

    Trimbitas made a nice IR controller for WinAmp (just need a serial port on the WinAmp’ed PC)… [via] – Link…….

  3. #hsk :: PC IR Remote Control :: February :: 2007 linked to this post on February 9, 2007

    [...] trus nyari-nyari skematik untuk IR Receiver, ketemu punyanya Trimbitas (bisa di cek disini http://stuff.nekhbet.ro/2006/07/10/make-an-infrared-remote-control-for-pc.html/trackback/). Komponen udah ngubek-ngubek bogor, nggak ada yang punya TSOP1738 IR Receiver. Kebanyakan toko [...]

  4. HSB: Some ideas for possible workshops linked to this post on February 26, 2009

    [...] Infrared: make an infrared receiver over a serial port, or connected to a [...]

  5. Mando a distancia para Media Center - BMW FAQ Club linked to this post on June 4, 2009

    [...] IR Remote Control your Computer http://stuff.nekhbet.ro/2006/07/10/m…ol-for-pc.html Editado por SPTR en Ayer a las [...]



Some HTML is OK

or, reply to this post via trackback.


Get Adobe Flash playerPlugin by wpburn.com wordpress themes