loading

Are you tired of having to change the resistor every time you change the voltage to power your LED??

Here is your solution! a constant current source. Built with only two transistors, fits in a 3 by 5 perfboard.

Step 1: Materials

You are going to need:

  • NPN Transistors (2)
  • 1kΩ Resistor (1)
  • 220Ω Resistor (1)
  • 9v Battery Snap / Power (1)
  • LED / Header (1)
  • Breadboard / Perboard (1)

Step 2: Schematic / Plan

This is the circuit diagram, very simple only two transistors.

Step 3: Get Ya Breadboard/perfboard

just get it.....

Step 4: Place Your First Transistor

Just look at the picture, by the way my transistor have a CBE pinout.

Step 5: Place Your Second Transistor

one row down from the first.

Step 6: Place Your 220Ω Resistor

just like in the picture....

Step 7: Place Your 1kΩ Resistor

pictures are worth 1000 words

Step 8: Place Your LED

Place your led or your header.

Step 9: Apply Power

Plug in your power wires/battery snap and you get 10-20ma.

Step 10: Done

Now you have a 20ma led tester. Run it off USB, car battery, 9v it will light your leds!

<p>Thanks for sharing. It is always nice to see an Instructable using just basic components.</p><p>Although your circuit does work as a current limiter, variance in the transistor gains will greatly affect the current flowing through the LED.</p><p>You can experiment with the attached circuit, which will reduce your component count to only 2 components, using a LM317 voltage regulator and single resistor.</p><p>Have a look here for more details:</p><p>https://www.instructables.com/id/Small-LED-Tester/</p>
<p>I did know about the LM317 as a constant current source but I did not happen to have any laying around and wanted an instant solution, no waiting for shipping.....</p><p>I do agree that that would make a good led tester but if you only have basic parts then I think this is the closest you can get.</p>
<p>I agree - use whatever components you have available.</p><p>In fact, I only use my LED Tester to verify the LED colors. The actual mA is not that important to me.</p>
<p>Ultimately you can just use a 9v Battery and a resistor....</p>
<p>Agreed.</p><p>But a constant current source is still useful to determine which LED will work best in your application. Some applications require a bright LED, others dim. Nice to see the difference at a constant current.</p>
<p>Did something very close to this some months back (same exorbitant component selection and all), but decided that it wouldn't really be &quot;meaty&quot; enough for an instructable, but perhaps I should reconsider :)</p><p>Just have to edit a truckload of pics from back then first (oh and fix the X-mas lights so they can be put on a timer without going berserk each time they're switched on - note to Chinese manufacturers: Just because it's got a microcontroller doesn't mean that the customers want a lot of flashing programs, that takes 8 button presses to settle to a stable light :-/)</p><p>Have a nice day :)</p>
<p>So looking at your circuit and setup, It looks more like a .010 ~ ma circuit then a .020 ma. via your pictures from the power supply readings. Did you actually measure the current to see how much it varied and if so what were the readings. But it is a nice circuit seeing the changing voltages and LEDs it worked with. Just imagine if you used SMD for this how small it could be. Thumbs Up!</p>
<p>I tried measuring the current but accidentally blew my 200ma multimeter fuse.....</p><p>I did not have proper resistors and so I played around until I got something decent. The current changes a bit with voltage it goes from 10-20mA.</p><p>If you want a more accurate current then you can calculate a resistor value and use a slightly modified circuit...</p>
<p>You cant see it in the photos but my power supply amp meter keeps switching to 0.001A to 0.002A in the video</p>

About This Instructable

1,582views

34favorites

License:

Bio: I like eletronics, AVR's and 555timers. Mini Pumpkins! I also love jerky & ☕️.
More by Ploopy:LED Tester (20ma Constant Current Source) Cool Spinning Top from Old Motor 555-Timer Logic Probe 
Add instructable to: