Yo, this was exactly what I was looking for for a project I'll be returning to now that school is over. Great video
@garthhowe2975 жыл бұрын
I really like this kind of "basics" video. I haven't worked with transistors for decades, and the refresher is great.
@andymouse5 жыл бұрын
Yep definitely one of those discrete "back pocket" circuits to keep in mind.
@pileofstuff5 жыл бұрын
Thanks Kevin. I was planning to use some PT4115 to drive a few large LEED arrays, but this simplifies things considerably (and reduces the cost too!)
@arduinocowboy39605 жыл бұрын
Thank you, Kevin. I think this is just what I needed to drive the LED's in my project.
@fpgamachine4 жыл бұрын
I have used many times the PNP version of this constant current source. It works great.
@andersson.l.e5 жыл бұрын
I love that kind of videos. Keep them coming. 👍
@neteagle2k95 жыл бұрын
Hi, very interessing video. By the way, a more crude CCS can be obtained removing your blue NPN, and the 1k base resistor. The current will rely on the output voltage of the µC typically 3.3V. The current will be equal to I = (Vio - Vbe)/R
@agstechnicalsupport5 жыл бұрын
Thank you so much for the instructive video on constant current regulator circuits !
@DCBpower4 жыл бұрын
Even simpler... Use two small signal diodes with a resistor to v+ to generate a steady low voltage. Dive the base of an NPN transistor through a resistor from your constant voltage source. Use the gain of your transistor to select your transistor driving resistor. Use your minimum operating voltage (minus the ~1.4 voltage drop). This circuit lets you operate a 2 volt LED from a 3v lithium cell with constant brightness across the full charge. The circuit above doesn't go as low because you lose ~0.7 volts driving 1 transistor.
@prashanthb65212 ай бұрын
Very clear explanation, thanks.
@RubixB0y5 жыл бұрын
Could a mosfet be used to drive a larger load without running into the higher base current problem?
@cognetic5 жыл бұрын
Love have you just get started. So many videos have 2-3 minutes of wasted intro time. Ain't nobody got time for that. 😁
@Kevindarrah5 жыл бұрын
yea, thanks!
@pyromen3215 жыл бұрын
Awesome! I’m going to put one of these together tomorrow!
@ArtyMars3 жыл бұрын
Woah that Falstad Simulator is so cool this will help me plan out my LED circuits ahead of time before electrocuting myself hahaha
@recolaq5 жыл бұрын
Nice and useful Tutorial. But what happened with the TLV431?
@malgailany5 жыл бұрын
Cascading BJTs in parallel could be problematic. They may run into thermal runaway, where one transistor will allow more current to pass and become hotter as the current increases. MOSFETs do not run into thermal runaway, which makes them a better candidate for parallel connections. Thanks.
@Kevindarrah5 жыл бұрын
lol, ran into that once, but this circuit doesn't have that problem because each transistor has its own resistor to ground, so it self regulates if one transistor starts to run away... that voltage increases on that one resistor, thus forcing the "driver" transistor off. You just gave me an idea to show how thermal runaway works. Might cool to see it happen with straight parallel connections vs this.
@JasonRobards23 жыл бұрын
I see these circuits explained on youtube with BJT's. Why not use a mosfet? Lower forward voltage means less heat loss.
@tomgeorge37265 жыл бұрын
Hi, good video, you need to show the advantage of the circuit with different loads. That is, more than one LED in SERIES. As long as the circuit volt drop can accommodate them.
@Kevindarrah5 жыл бұрын
yea, I like that idea!
@magnuswootton61813 жыл бұрын
Modifying the voltage is as good as modifying the load, tricked me at first!!
@jazbell75 жыл бұрын
A very clever circuit but be careful where you use it. That 0.7v reference is subject to variation between units and changes with temperature at about 2.1mv per degree centigrade.
@Kevindarrah5 жыл бұрын
yea, that's why it's "dirty" :)
@richlaue5 жыл бұрын
This we one of the circuits we added to thr variable power supply we built in high school electronics nano on 1968
@PhG19615 жыл бұрын
Awesome well explained video!
@jonnupe16455 жыл бұрын
What would it look like if I replaced the Led with a dc aquarium pump motor. I know it'll have to be beefy but would it work?
@stewartrv5 жыл бұрын
For larger currents, rather than go parallel I guess I could change the driver transistor for a TIP120 is similar right?
@DazzaDirect5 жыл бұрын
can the 3.3v from the micro processor be swapped for just a regular power signal and if so could if be a different voltage, like could it be changed to a higher voltage and maybe change the 1k resistor to a higher value im thinking a 14v supply and a 10w 9v led , finally could it use the same supply as the led and would it need a diode to stop back feed , cool video, thanks for the upload .
@Kevindarrah5 жыл бұрын
Yep, that would work. Try it out in the simulation for yourself
@marvinschneider27075 жыл бұрын
Great Video, A question about the TrigBoard. Is it possible to differentiate the difference between a wakeup by the timer or an external switch. I have the following Szenario: Door is open and the board sends me a notification. The door than stays open for a long time and the timer wakes up the module every hour. Can I differentiate if the board was wake up by the timer or the door opening? The thing is It is not possible to read out the pin for the door because that one is always open. I would be happy to get a response because I am trying to wrap my head around fixing that issue.
@fredericguiet20775 жыл бұрын
Yes, you can. Check Kevin's wiki about trigboard...you'll find ya answer to this question.
@marvinschneider27075 жыл бұрын
@@fredericguiet2077 Thanks for the answer. Could you tell me in what paragraph I can find that because I wasn't able to find it there.
@hichamtassi17534 жыл бұрын
Hello, very nice video ! i did the same, i used 1.5 Ohm to have an output of max 1A, but when i plug a load to my 12v lamp bulb, the voltage drops to 4v, is it normal ? many thanks.
@MohamedAhmed-zi1ru5 жыл бұрын
So the 2 transistors keep turning each other on/off really quick as there is a signal from the microcontroller right ? "Besides the constant 0.7 v that draws the constant current depending on the value of R ofc "
@reshadrei17883 жыл бұрын
is this possible on 2n3906?
@MUHAMMADYAWARIFRAHEEM5 жыл бұрын
Very informative video
@tohtorizorro3 жыл бұрын
ingenious!
@SinuheZubieta5 жыл бұрын
Can be made similar circuit but with PNP transistors?
@LePhone6205 жыл бұрын
Could we use it for costant discharging lithium batteries, for example? Using higher power transistor and a discharge current of about 1 amp would be possible ? Thanks
@arnabmusouwir90184 жыл бұрын
Brilliant
@babykojek55005 жыл бұрын
How If i want to build 14v 3A constant current from 12v..?
@avejst5 жыл бұрын
Elegant project/Design Thanks for sharing :-)
@Graham19045 жыл бұрын
Why not put a 100R resistor in the base circuit for the single transistor design?
@SulliivanC5 жыл бұрын
What is the difference between the cascade and normal ??
@wreckless_-jl6uu5 жыл бұрын
*Damn, very nice!* 👍
@TheMarasar5 жыл бұрын
Hi Kevin, I believe you are using DC source? On the simulation there is AC 40Hz. Can we even use AC PSU?
@Nolobot5 жыл бұрын
The purpose of the AC source is to show that the current doesn't change depending on the input voltage. The kicker here is that the AC source has an offset making all voltages applied positive. So, no this would not work with a zero-biased AC source.
@tomcass2403 жыл бұрын
Does this work on DC or is it AC?
@jumadhaheri5 жыл бұрын
Fantastic this great
@efox295 жыл бұрын
Don't need the base resistor and you don't need the blue transistor. Set the emitter resistor to be Vh (from uc)-0.6V/desired current. 2 less components.. And does the same thing.
@jtb86315 жыл бұрын
I agree, I’m a total noob with this stuff, but if I am interpreting this correctly, and you are just driving the red transistor between fully on and fully off very quickly to achieve a dimming effect, I see no need for any of the blue part of the circuit. And if this is correct you have just applied a very fast switch to an LED and a current limiting resistor. In which case, from my understanding FETs are more generally used for this function.
@laszlobenyei483 Жыл бұрын
❤👍
@Nono-hk3is5 жыл бұрын
REGULATORS... MOUNT UP!
@mariushmedias5 жыл бұрын
ffs.. linear led driver ICs with max current setting and pwm dimming are as cheap as 15-20 cents each.. ex Diodes inc AL5802 or Nexperia NCR405U (random cheap led drivers on Digikey) Yoiu can add a few of these whenever you order other components for a project... like you'd order transistors.
@davidp13115 жыл бұрын
its not about the actual driving of leds, it is about understanding the fundamentals of electronics and how things work. obviously you wouldn't use this circuit for production
@magnuswootton61813 жыл бұрын
This is what u need to get a computer running I think.