[!] The blog has moved [!]

The blog has moved to http://carlitoscontraptions.com/.

You will be redirected to the new URL in 5 s. Sorry for the inconvenience.

September 11, 2007

IR Detector

Besides my POV display, I'm trying to do a robot that detects obstacles using IR light. In order to make it easy to work with IR light, I built a very simple IR detector based on this article.

General Idea
An IR signal is "seen" by a reverse biased IR diode which produces an electrical signal according to the light intensity. This signal is then amplified trough a transistor which powers an ordinary LED. This means that the LED will light up when the IR diodes receives some IR light (from a TV remote for instance).

Materials
  • An IR Diode (I got mine from an old TV set)
  • An LED (a yellow one in my case)
  • A 1k Ohms resistor
  • A 50 Ohms resistor (two 100 Ohms resistors in parallel)
  • A BJT (I used the 2N3904, but any common BJT should work with the right biasing)
  • An old 9V battery (for the casing)
  • A new 9V battery (for power)
The Circuit

Construction Notes
I built the circuit by soldering the components together without using a PCB and enclosed it in an old 9V battery.

I used a battery as the casing because it is free, it looks cool, and it includes a battery clip.
The battery's cap is actually a battery clip that can be soldered to the circuit in order to connect it to another 9V battery.
When using a battery as a case, keep in mind that:
  • the inside of the battery should be insulated (with blue masking take in my case)
  • it is a good idea keep one or two of the AAAA batteries (that can be found inside the 9V battery) and use them to keep the top and bottom caps in place (make sure they are insulated two).