## Step 4: Start building the circuit!

this circuit is so simple, i'm going to build it without a circuit board. i'll just connect the leads of the parts in mid-air! but you can use a small proto-board if you want (see photos at the end for an example).

first, identify the pins on Q1 and Q2. laying the parts in front of you with the labels up and the pins down, pin 1 is on the left and pin 3 is on the right.

comparing to the schematic:
Q2:
G = pin 1
D = pin 2
S = pin 3

Q1:
E = pin 1
B = pin 2
C = pin 3

so: start by connecting the wire from the LED-negative to pin 2 of Q2

<p>I had posted here about 8 months back about a serious flaw in the circuit diagram and related text. I am surprised to find that the original circuit is still being published without correcting the flaw. It seems the author does not bother to read the comments and the people following the post are also as much blind and misinformed as the author.</p><p>I would like to once again point out the mistake. The circuit symbol of the MOSFET shown is that of a P-Channel Mosfet, and not N-Channel as written in the article. But funnily, the part number given is that of a N-Channel MOSFET. The proper symbol for the MOSFET mentioned in the article is given below:</p>
<p>as simpletronic said, BOTH your symbol AND the author's symbol are correct and are both acceptable ways of drawing an N-channel MOSFET.</p><p>I have no illusions, however, that my picture will change your mind either.</p><p>I worked at my parents' hardware store in college. one time a man came in with a &quot;blown fuse&quot;. I suggested we check it first with a multimeter. the fuse showed 0 Ohms, so I said the fuse was still good and hadn't been blown. the man said 0 Ohms meant open circuit. I politely restated it was a short circuit. he restated his assertion that it was open. I tried to diplomatically explain I was currently studying EE and showed him that the fuses on our shelves also measured 0 Ohms. I even touched the tips of the meter together and showed him the display now read 0 Ohms. he left without buying a replacement fuse because he was certain he was correct and that all of the fuses in our stock were just as bad as the one he had.</p><p>some people just &quot;know&quot; they are correct and no amount of evidence to the contrary will convince them otherwise.</p>
<p>Does anyone have a diagram on how to make this on breadboard? please. </p>
<p>Congratulations on a simple but effective constant current circuit.</p><p>The schematic symbol of the MOSFET shown in the circuit diagram is that of a P-Channel MOSFET, not N-Channel. Moreover, it is not a simple FET but a MOSFET.</p><p>The power adapter voltage can be calculated as follows:</p><p>V supply = 3.2 X n + 1V</p><p>Where 3.2 is the voltage drop across each led, n is the number of LED's in series.</p><p>The 1V added in the end is to take care of any voltage drop that may occur in the power supply due to regulation errors. So a 6V supply can only feed one LED. A 12V supply can feed a maximum of 3 LED's. From the above rough formula we can say that 3 LED's in series will require:</p><p>V = 3.2X3+1 = 10.6V</p><p>So a 12V supply will also work with 3 LED's, but to keep the power dissipation of the MOSFET at a minimum, it would be advisable to keep the power supply voltage as close to the calculated value as possible, thus 11V would dissipate less heat than a 12V supply. So if you have a 24V supply available, you can safely connect 7 LED's in series.</p>
<p>the symbol shown is correct.</p><p><a href="https://www.circuitlab.com/blog/2013/10/17/new-mosfet-schematic-symbols/" rel="nofollow">https://www.circuitlab.com/blog/2013/10/17/new-mosfet-schematic-symbols/</a></p>
<p>You are wrong, the symbol is that of a P-Channel MOSFET. Below is the actual symbol of the Fairchild FQP50N06L MOSFET taken from their data sheet. Please be informed before commenting:</p>
<p><strong>Both</strong> symbols <em>( yours and the author&acute;s )</em> are correct and correspond to an <strong>NMOSFET</strong>. The authors&acute;s symbol is a simplified symbol which does not show the internal <strong>bulk-source</strong> connection. <strong>IEEE</strong> <em>(Institute of Electrical and Electronics Engineers)</em> accepts this symbol as a <strong>valid</strong> <strong>NMOSFET</strong> symbol. Nothing more to say.</p>
<p>In calculations, you mentioned LED current is 0.5/R3. How did you arrive at the number 0.5? similarly, the next line how did you arrive 0.25/R3 as power?</p>
<p>Given that the voltage drop across the current sense resistor (R3) is 0.5v - then using Power = IV = VI = V x V/R = 0.5 x 0.5/R3 = 0.25/R3. </p><p>I've built the circuit and the voltage drop across Vbe for Q1 = voltage drop for R3 - is indeed 0.5v. But how could that be predicted from the 2N5088 data sheet? What are the design steps? </p><p>(it is a great tutorial BTW - just I'm frustrated by my lack of understanding - even if the light does come on!)</p>
<p>I was curious about this too, and if I'm understanding right has to do with the qualities of a transistor, but could be wrong. Here's why I think that:</p><p>- <a href="http://electronics.stackexchange.com/questions/91667/why-is-vbe-a-constant-0-7-for-a-transistor-in-the-active-region" rel="nofollow">http://electronics.stackexchange.com/questions/916...<br></a></p><p>Throughout my reading, I've seen folks using 0.5 - 0.7 for various calculations; thankfully some named it as V_BE, so I googled around leading me to the above. It sounds like an inherent property of the materials used. Here's two examples that spell it out a little more than this tutorial:</p><p>- <a href="http://www.pcbheaven.com/userpages/LED_driving_and_controlling_methods/?topic=worklog&p=3" rel="nofollow">http://www.pcbheaven.com/userpages/LED_driving_and...<br></a>- <a href="http://www.scienceprog.com/building-simple-constant-current-power-led-driver/" rel="nofollow">http://www.scienceprog.com/building-simple-constan...</a></p><p>So, if we know that junction right above R3 is at 0.7V, I think that's how we get I = 0.7/R3 (though this tutorial uses 0.5). And power is V^2/R, so you get 0.25 (0.5^2). In the first link, his equation Vm = Vdd - Vled - 0.7 suggests that since the voltage will drop across the LED, and end up at 0.7 at the transistor, the MOSFET will have the balance.</p><p>Anyway, you had that already but felt like commenting since it perplexed me as well. I'm still not positive, but think he's using 0.5 instead of 0.7 and the value comes from a property of transistors. At least that's as close as I've gotten to something sane-ish!</p>
Could I use the IRF510 instead of the FQP50N06L?
<p>will you make it so i can buy this kit?</p>
<p>I made similar circuit many times, last one:</p><p>irlml2502 nfet, 4.7ohm resistor, KT315B legendary soviet union BJT (made in december 1981, exactly one year older than i'm ;D ).</p><p>LED is 300ma 940nm IR.</p>
Dan, can you please tell me what you refer to with &quot;3 x 3W&quot;? Elsewhere, I've read &quot;power source: 3 x 3W&quot;. Wish I knew what that means!
Hi! I guess you might know what it means by now but in case you were still looking for the info, 3x3w simply means 3 leds of 3w. Usually they are wired in series.
<p>The schematic shows 3x power leds and is usable for my design. Howerver:</p><p>I would like to use 2x 3 power leds in serie in parallel, each led with If = 350mA en Vf =3.2-3.5 V</p><p>Can I just use the 2x parallel 3 leds with R3 set to 0.71 ohm? </p><p>Using a 12Volt power supply. </p><p>Thanks<br></p>
Maybe you can answer my question: Can you please tell me what Dan refers to with &quot;3 x 3W&quot;? Elsewhere, I've read &quot;power source: 3 x 3W&quot;. Wish I knew what that means! Thanks.
<p>Not sure exactly where you saw those terms here -- but in electronics W represents &quot;watts&quot;, so 3 x 3W may mean three 3-watt LEDs -- perhaps the capacity of the power supply?</p>
Awesome! But can I use a rfp30n06le n channel mosfet? thank you for your time and dedication
<p>Works like a charm! Thanks so much for this and for making it so easy for novices like me. :D</p>
<p>Thanks for sharing, this helped! Escpecially those calculations, but where those 0.5 and 0.25 came from?</p>
<p>I made a 1 amp version like the one you have on the Veroboard to power some white LED strips. Works awesome.</p><p>Mine is also blobtronics &lt;-(love that term : )</p><p>Thanks</p>
<p>Really great tutorial and ideas. Just wish I understood the theory better.</p><p>Maybe you could delve into that some day? I don't understand how the FET can be an adjustable resistor. Also, I was confused by the terms like power NFET, small transistor, etc. When I looked up the model you posted, it stated that it's a MOSFET. When googling for FETs, one usually gets results for MOSFETs. I suppose because google tries to include similar results.</p>
Sir.... I am not expert this area. How can I connect more LEDs, any modify this circuit..... Please help me......
<p>choose the DC adapter with higer voltage &amp; use the higher wattage R1 if necessary (the (!!!apropriate number of) LEDs'll keep the FET&acute;s wattage the same = the excess voltage (ADAPTER DC OUT minus 3.99V per led)will dissipate as !!! heat on R1, Q2 , the led should convert 50% of it's energy to light the rest 50% heats and gradually degrades the LED junction)</p>
<p>PLEASE PLEASE HELP!<br><br>I have a Constant Current LED driver module, rated 80-100V @ 600ma. It currently runs a 45 LED string.<br><br>What I want it to do is to run a 23 string @ the same rating. The PROBLEM is that when I do, the supply kicks the total voltage down to equal the same voltage across each LED. Basically, I am trying to double the voltage at the same current, but it won't let me. (The LEDs are rated at over double their current power so I am not worried about blowing them.)<br><br>Real world:<br><br>I measure across the LED while 45 of them are on and the voltage is 2.225VDC @ 600ma. I then short the string to 23 and measure and it is still 2.225VDC@600ma, but I want 4.45VDC@600ma across each LED.<br><br>There's a micro blue potentiometer on this module and I don't know what it does (nor do I have a schematic) but I need to know what to do to adjust it up to 4.45VDC.<br><br>I need this, like, 8 years ago so please help!<br><br>Will</p>
<p>PS If it can't do this, then how can I get it to give me 1200ma instead at the same volts?</p>
<p>That depends on the model of LED driver. What is the manufacturer's name and/or part number for the thing?</p>
<p>Your LED driver is only providing a constant current to the string of LEDs. The voltage across each LED is therefore set by the LEDs themselves [See the LED I-V Curve picture attached].</p>
<p>How can I use this circuit in an array of, 20 10W power LEDS with 900ma current nd 9v forvard voltage ? <br><br>Can the same circuit be used or do I need to tweak it ? <br><br>and how many LED's can be put in series or parallel with a 12v dc power supply ? </p>
<p>hello,</p><p>how can i drive more power to the led cuz its not shining bright enough? </p>
<p>Hi, do you have a solution to wire a power led to a 6VAC power source?</p>
<p>If I wanted to make the same circuit but couple it to my bike's hub dynamo, what components would need to change? (Of course, aside from having a full wave rectifier.) I want to drive six 1w LEDs with an IF of 320mAh in two series/parallel branches. The hub provides a peak power of around 14.2 v at around 50 Km/h. Some insight would be amazing. Thanks!</p>
<p>Hola mi montaje es este , con un circuito que encontr&eacute; en un sitio. Material un regulador 7805 y una R de 15 ohmios y led como muestra la imagen Ya que son de 4 Watts El inconveniente que calientan demasiado los reguladores 7805 y la Resistencia. No se si esto es normal dependiendo del dise&ntilde;o del circuito. Gracias por alguna sugerencia para este dise&ntilde;o. Ya que lo necesito para colocar en la moto con 12 volts 5 Amper </p>
<p>I want run 10 1 watt leds from a 3.7v 2000mAh battery for max time ... If I connect them directly , I will bet less than 30 minutes total ..</p><p>How to get more work time ? if I use a dc stepup circuit , is it gonna help ?</p>
<p>The only way you can get more run time from this set up is to either limit power to the LED's so they are running under 1w each, or to increase your battery capacity. Can't get something from nothing. Also, connecting them in series, your going to need higher voltage, as the voltage adds up with series. At around 3.2v per LED, your going to need around 32v to run them properly, unless you go in parallel (which I have no experience with, only series)</p>
<p>Nice! </p><p>Can you please tell me, can I drive a 3W Led with this circuit by modifiying some of the parts?</p>
<p>Easy and useful built. I used what I had on hand, namely a BC237B as the NPN Transistor and a FQP30N06L for the N-MOSFET. After 10min, with the small heat sink, the MOSFET is only warm to the touch. Resistor does not really heat. However, I should spend a few minutes to make a heat sink for the LED...</p>
&nbsp;Can this circuit be used to drive multiple LEDs? If so, would they be wired in parallel or series?
<p>Yes. In series. Always in series with LEDs. Know that it is possible to arrange parallel LEDs (and, more commonly, branches of LEDs in series) but it is of no concern to you at this moment. Because in this context, any engineer who asks that question is definitely not ready to balance parallel current draws, and the other complexities inherent with parallel LED drive circuits. </p>
I'm not an expert on this topic, but I'm learning.... From what I know: <br><br>You would need to switch out the resistors and ensure the other components can handle the current you require. The way these work you will get better results if you wire the LEDs in series.
Thanks, I eventually figured it out.&nbsp;<a href="https://www.instructables.com/id/USB-Mega-Flashlight/">https://www.instructables.com/id/USB-Mega-Flashlight/</a>
<p>How to connect 5 to 10 1W LED to this circuit. What changes I have to make in this circuit. </p>
<p>Great write up, very useful especially for beginners like me! I do have a question that I hope you can help me with. </p><p>What should I modify if I were to use this to power 6, 3w LEDs wired in a series? TIA</p>
<p>I forgot to mention, I'm planning to use 12Vs to power the series up (the yellow and black wires from a PC's power supply), would that be enough? </p>
<p>Hello</p><p>I would like to use that circuit but with a PWM from a microcontroller to control the LED mean current. Is it possible to switch the circuit without adding a big transistor switching directly the source power ?</p><p>Thanks by advance</p>
Hi Dan<br><br>I am thinking of a modification to your circuit to run on AC supply. Wanna build AC run light bulbs for my home using Power LED's and a good reliable driver is essential. The circuit which you have runs best if the voltage of the LED string matches with the input voltage else most of it is dissipated in Q2.<br><br>Can convert 230V AC to DC using a Bridge, have protection devices like MOV, spike resistor &amp; fuse in the AC input end and limit the voltage using Zener diodes to 12V. which can be then fed to to the LED string. Does the current setting still work if these modifcation are done ?<br><br>Insights on this would be very helpful !<br><br>Thanks<br>
<p>Rectifying 230 V AC directly would give you about 330 V DC! You don't say exactly how you intend to use zener diodes to reduce that to 12 V but you would be throwing away lots of power in addition to dealing with hazardous voltages. Much better to use a transformer before your rectifier, or a switch-mode power supply, to generate a low voltage DC supply first.</p>