Тёмный
Lewis Loflin
Lewis Loflin
Lewis Loflin
Подписаться
Hello and welcome. My channel is mostly electronics projects. My website and videos cover a broad range of electronics and micro-controller projects for advanced and beginning hobbyists.
LM317 High Powered Current Source 2024
11:23
4 месяца назад
Update 2024 ULN2003 Transistor Array Operation
7:06
5 месяцев назад
TL431 12V Battery Charger Complete
9:47
5 месяцев назад
TL431 Power Constant Current Source Demo 1
10:58
5 месяцев назад
TL431 Constant Current Source Circuits
8:24
5 месяцев назад
TL431 Under-Voltage, Over-Voltage Detection
8:35
5 месяцев назад
TL431 10-Volt Charger Short Version
2:27
5 месяцев назад
TL431A Lithium-Ion Cell Charging Circuits
11:17
5 месяцев назад
LM2575 Switching Power Supply
10:20
Год назад
Operate, Build Hall Effect Switch Pt. 2
17:52
2 года назад
Комментарии
@philippe5394
@philippe5394 12 часов назад
Lewis, it's always a pleasure for me to see you have posted a new vidéo. I think i found a mistake on the "H" bridge schematic. SW1 is HB1 and SW2 is HB2. Is that right??
@LewisLoflin
@LewisLoflin 9 часов назад
Correct. HB refers to the opto couplers; the switches can also exist. They are used for testing. I should have used the opto label.
@KaradevNetLtd
@KaradevNetLtd 17 часов назад
where in this video is show how motor spin ????? and chose directions also change rpm for motor ????
@ramighazzawi3907
@ramighazzawi3907 18 часов назад
Hope all is well with you !
@LewisLoflin
@LewisLoflin 17 часов назад
I'm OK. Thanks.
@ariedekker7350
@ariedekker7350 19 часов назад
Thanks for this episode. This is saved with the previous report.
@demofilm
@demofilm День назад
very cool explanation
@ariedekker7350
@ariedekker7350 День назад
Thank you for this report. I will definitely keep this. There is a good chance that I will use it. Thank you and see you next time.
@Edmorbus
@Edmorbus День назад
Thanks for sharing Keep up the good work
@tomvoxx4082
@tomvoxx4082 День назад
Nice.
@user-nr1wn9qt1m
@user-nr1wn9qt1m 2 дня назад
Thanks a lot
@DeLaCruzer11
@DeLaCruzer11 5 дней назад
At 8:58, the 12V NEG and Arduino GND are connected together, will it hurt the Arduino device, because there's 12 volts potential in the battery versus 5 vots potental in the Arduino device? Will the greater potential (12 volts) will cause a current to flow from 12 v battery to the 5 v Arduino? Or is this a case where ground are cosidered zero votage therefore no current will flow from the greater potential to the lower potential??
@LewisLoflin
@LewisLoflin 3 дня назад
No, the Arduino is fine unless the transistor develops a collector-to-base short. I often use optocouplers to prevent noise and short circuits in the Arduino.
@Austin-d8p
@Austin-d8p 6 дней назад
In the 24 vdc lamp, and 24 vdc relay with 120 vac lamp examples, is pin 8 ground connected to the 5 vdc ground for the microcontroller inputs, or is it connected to 24 vdc ground?
@LewisLoflin
@LewisLoflin 6 дней назад
No. I leave it disconnected for non-magnetic loads, other connect to lam +.
@Austin-d8p
@Austin-d8p 6 дней назад
@@LewisLoflin I am using a ULN 2003 to fire a 24v relay, for this application I should connect pin 8 to 24v GND?
@Austin-d8p
@Austin-d8p 6 дней назад
I am not understanding what "lam +" is sorry.
@LewisLoflin
@LewisLoflin 6 дней назад
@@Austin-d8p Sorry. E is ground, and common goes to +V.
@thomasw2509
@thomasw2509 16 дней назад
Hi, I doubt it when You say, "you can omit connecting the suppressor diodes common pin when not using indictve loads". I have done exactly that just because of couriosity on my latest clock build. It was on a high side driver. Anyway. IF the diodes could be pulled out of the circuit that would work. By not connecting the common pin to Vcc it makes an OR-gate out ouf the INTERNAL diodes. Watch the multiplexed outputs simultaniously altering when done on a clock. The number digits start blinking at the frequency of the seconds LED, fed through the same chip.
@LewisLoflin
@LewisLoflin 15 дней назад
I can't say much until I see a schematic of what you did. Connect the diodes to Vcc then. Thanks for the info.
@thomasw2509
@thomasw2509 15 дней назад
Hi, see my U125D based clock. Initially it had used an integrate high side driver. The UTC 62783 is suffered from not fully shutting off the unused digits on a multiplexed clock. This results in ghosting on the LED displays. The Toshiba IC TBD62783AP is said not being suffered from this bad behaviour But I had none on hand. I replaced the 62783, a counterpart of the well known ULN2803, with a number of discrete transistor drivers. @@LewisLoflin Works much better.
@eric.hofman
@eric.hofman 17 дней назад
BURNED, you put 40V for Gate Mosfet plus 50~95V and 40K resistor and 10~19V gate mosfer >, and 10K resistor to emitter via colector GRAND
@LewisLoflin
@LewisLoflin 17 дней назад
This won't work at that kind of voltage. The limit is 20V.
@eric.hofman
@eric.hofman 17 дней назад
BURNED, 40K resistor plus 50V voltage and 10V emitter, and 10K divider resistor to the battery
@aus2024-u6o
@aus2024-u6o 18 дней назад
Great video. In regards to the PNP power transistor used, if I require a higher input voltage of say 200VDC and output current of 8 - 10 amps, could I swap out the single PNP power transistor for a Darlington Transistor? Also the LM317 would be changed to LR8NS
@LewisLoflin
@LewisLoflin 17 дней назад
No, unless all polarities are reversed. As for that kind of power I'd recommend not playing around with that.kind of power.
@nielsdaemen
@nielsdaemen 19 дней назад
You should be talking about the input levels of the mosfet driver, not the mosfets themselves
@pokpikchan
@pokpikchan 21 день назад
Can't thank you enough
@sananabizada4928
@sananabizada4928 21 день назад
can i use mechanical switch instead of optocoupler?
@LewisLoflin
@LewisLoflin 21 день назад
Yes you can, but why?
@osaidshabbir
@osaidshabbir 24 дня назад
Hi, man i want to make an h-bridge for arduino but aldo want to control the speed of the motor. There are more questions that i would like to ask about this.
@LewisLoflin
@LewisLoflin 23 дня назад
email lewis@bvu.net
@mboowashafiq1496
@mboowashafiq1496 Месяц назад
hi lewis ,,, good video ,, please how can some one get in touch with you
@LewisLoflin
@LewisLoflin Месяц назад
lewis@bvu.net
@mboowashafiq1496
@mboowashafiq1496 Месяц назад
@@LewisLoflin thanks so much i send you an email please try to check and see if you can help out
@aaronartale
@aaronartale Месяц назад
I'm curious what are you powering with this circuit? Are you actually using this circuit for something or this just an academic exercise?
@LewisLoflin
@LewisLoflin Месяц назад
Battery charger, motor current limit, etc.
@migor777
@migor777 Месяц назад
Newbie here. How can this be adjusted to be current limiting device. I want to test broken motherboards with voltage injection (usually 1 up to 5 volts) but need to protect the motherboard from too much current (100ma to 1000ma range). How would this be achieved ? Can you make video about this?
@BJcanal270
@BJcanal270 Месяц назад
I like conventional flow!!
@olivermwiinga
@olivermwiinga Месяц назад
The 100 of 100 teaching and clear , good
@LewisLoflin
@LewisLoflin Месяц назад
Thank you.
@isaacmartin5558
@isaacmartin5558 Месяц назад
Thank you @Lewis!
@LewisLoflin
@LewisLoflin Месяц назад
You are welcome.
@DirtDays-th
@DirtDays-th Месяц назад
Thank you so much for sharing🎉🎉🎉
@filips7158
@filips7158 Месяц назад
I really dislike schematic representation where input is on the right and the circuit on the left, with no clear separation between input hot/live and the output live wire. Makes schematics hard to read and it is even worse for understanding what the hell it does.
@gefe8985
@gefe8985 Месяц назад
Thanks ad 😍, i learned so much from you.
@gorekBoy
@gorekBoy Месяц назад
Sir could you please explain how to count value of resistor between Vcc and the cathode of the TL431 (in your case 4.7K) for constant current sink circuit? In TL431 data sheet I found formula for this resistor in constant current source circuit but there is no similar for constant current sink. Second question is how can I to count Ika?
@LewisLoflin
@LewisLoflin Месяц назад
This resistor isn't critical it simply supplies KA current for the TL431 and the base current for the transistor. If using a lower gain transistor, the 4.7K can be dropped to 2.2K.
@BJcanal270
@BJcanal270 Месяц назад
Thanks for sharing your knowledge. I hope you can explain BAV99 🙏🏽 Thanks you in advance!!
@LewisLoflin
@LewisLoflin Месяц назад
That is a dual fast switching diode, 3 pin diodes connected anode to cathode in series. www.smc-diodes.com/propdf/BAV99%20N0595%20REV.B.pdf
@tvdylan
@tvdylan 2 месяца назад
I'm wanting to drive a mosfet with a TC1411N driver chip. because its a fast chip and i really need quick on and off times. was thinking of using a hall sensor to trigger a digital signal into the driver. what are the connections form the driver to the mosfet ? would it be exactly the same as your circuit shown in this video @6:55 ?
@LewisLoflin
@LewisLoflin Месяц назад
This should work.
@tvdylan
@tvdylan Месяц назад
@@LewisLoflin okay, thanks ya !
@mesutdemirci2
@mesutdemirci2 2 месяца назад
Is the motor braking?
@LewisLoflin
@LewisLoflin Месяц назад
Yes. When both switches are off the MOSFETs switch to ground.
@butterflywing61
@butterflywing61 2 месяца назад
Nicely done ! Will be using this for a multi cell heater control thanks.
@LewisLoflin
@LewisLoflin 2 месяца назад
Thank you.
@nayanjagirdar8408
@nayanjagirdar8408 2 месяца назад
Very nice sir thanks 👌👍
@LewisLoflin
@LewisLoflin Месяц назад
Most welcome
@shankarappamural6648
@shankarappamural6648 2 месяца назад
Good
@LewisLoflin
@LewisLoflin 2 месяца назад
Thank you.
@keithking1985
@keithking1985 2 месяца назад
Hello Lewis, i just found your channel "again" while looking at circuit schematics online and brought me to your channel. I just subscribed and am happy to see your channel again as i learnt a load of stuff from you when i began learning electronics a few years back.. THANK YOU FOR SHARING 👍😊🇮🇪
@LewisLoflin
@LewisLoflin Месяц назад
Thanks and welcome
@keithking1985
@keithking1985 2 месяца назад
Haven't seen this channel in a long time. Excellent channel too, I learnt a lot from here👍😊🇮🇪
@LewisLoflin
@LewisLoflin Месяц назад
Welcome!
@hamadsherazi6896
@hamadsherazi6896 2 месяца назад
what are the part numbers of Mosfet?
@LewisLoflin
@LewisLoflin 2 месяца назад
See this webpage: www.bristolwatch.com/ele/h_bridge.htm
@mosfet500
@mosfet500 2 месяца назад
You're only monitoring your clock pulse with one leg of your encoder. These are quadrature encoders which four steps per cycle not two.
@LewisLoflin
@LewisLoflin 2 месяца назад
Not right. The device is triggered through the interrupt then checks the other leg.
@mosfet500
@mosfet500 2 месяца назад
@@LewisLoflin I might have missed it, I'll re-watch your video when I'm done on my project. Thanks for the reply.
@mosfet500
@mosfet500 2 месяца назад
​@@LewisLoflin I believe you're wrong. You must monitor BOTH encoder A & encoder B leads in both states - rising and falling. This is a quadrature encoder you should interrupt when when encA goes high and low and when encB goes high and low to get the full encoder output. If you draw a line every time EITHER A or B changes you will see all four states. For example, let's say encA goes positive and we measure encB as high, fine we increment the counter. Here's the bug, now in the next quadrant, the one you're missing, if encB goes positive AND encA is still positive we increment the counter but if encA is low we decrement the counter. You have no way to see this step with your falling interrupt as you're just measuring the "falling" edge interrupt and not even measuring any changes of the encB lead. For every rise and fall of encA and encB ( two pulses on your chart) the encoder registers four counts. All you're interrupt is measuring is one quadrant (encA falling edge) not four quadrants (encA rising and falling, encB rising and falling). Also, the 1uF capacitor is too large, you can accomplish spike suppression with a 0.1uF or even a 0.01uF and a 10k resistor. The problem with using the 1uF capacitor is that you will miss steps on the slow rise time of the damped encoder signals. For example, I just designed a linear encoder that monitors a digital readout. in a 10mm change of the linear distance the encoder pulses 20k steps (5 microns a step 10/ 5e-4 = 20k). A 1uF cap. will never be able to capture that signal, the rise time is too long. You're worrying about speed with delays when you're damping the signals with too much capacitance. Everything can be easily done in software. For example if we have two pins in the same interrupt vector any time either rises or falls we trigger the same vector. Here's a program I wrote, it compares the last state with the new state and determines the direction. Using and 328p clocked at 8Mhz (internal clock) we can run the linear encoder example I gave above although I use an external 16Mhz ceramic resonator. It uses PINB,0 and PINB,1 which makes the algorithm easier to implement. If you use other ports you will have to move the bits to position 0 and1. No extra hardware is required, just a simple routine. Try it out and see what you think: (code removed as it will be part of a magazine article.)
@LewisLoflin
@LewisLoflin 2 месяца назад
The hardware interrupt monitors the other leg.
@LewisLoflin
@LewisLoflin 2 месяца назад
@@mosfet500 The title specifies interrupts. A rising or falling pulse (set in software) allows the Arduino to check the state of the other leg.
@herzogsbuick
@herzogsbuick 2 месяца назад
check my spec sheets?! you can't make me, you're not my dad! :-D it's hard to quiet my head down. thinking of how to use the 3.3v GPIO on my ESP3622 on a PNP transistor to source from 24v through a motor has been making my head go quiet. i've been googling and reading for a week, and your diagram at 8:44 finally makes sense to me. now my brain is alive with such high quality thoughts as, "mustachioed yachtsman" and "balloon laundry" ah, that's way more clear. back to normal! :-P thank you so much!
@nguyentrunghieu595
@nguyentrunghieu595 2 месяца назад
If the input voltage to control the motor is 220VDC, 1000W, which mosfet should I use?
@johnnybegood2002
@johnnybegood2002 2 месяца назад
Do you know if I can use this device to copy and program an HT48R32-B-0 microcontroller? Thanks
@LewisLoflin
@LewisLoflin 2 месяца назад
I'm sure it can't. If the controller is not in the oull down menu it won't work.
@CrazyCoupleDIY
@CrazyCoupleDIY 2 месяца назад
Thanks mate, very helpful video
@LewisLoflin
@LewisLoflin Месяц назад
Glad it helped
@CrazyCoupleDIY
@CrazyCoupleDIY 2 месяца назад
Your video is 9 years old but still a gold (other than the cough, ha ah )
@filaliaziz971
@filaliaziz971 2 месяца назад
how much Power(Watts) from the 24v and the 15v and thx
@LewisLoflin
@LewisLoflin Месяц назад
Depends on the motor. This can work with several amps.
@filaliaziz971
@filaliaziz971 Месяц назад
@@LewisLoflin if you don't mind , i made this circuit with irf1404 , i connected the ir2110 ground with motor power supply ground and the 15v(-) and 5v(-) , it worked fine with 12v 1amp motor then i used a 12v 7amp motor sadly the gate resistor of the high side and the low side blow up with the ir2110, could you give some advise for how to connect every ground or if you suspect the problem and thx
@LewisLoflin
@LewisLoflin Месяц назад
@@filaliaziz971 What do you mean by "hooked to ground." 5V is not the motor supply. There should be no motor current through the gate resistor.
@farukben
@farukben 2 месяца назад
fffffffffffffThank you so much for the details. As a beginner on Ardunio, this video will help me greatly to create a half bridge circuit.
@juseth2
@juseth2 2 месяца назад
Does this work on windows 10 or 11?
@LewisLoflin
@LewisLoflin 2 месяца назад
If you get the correct driver. The new USB drivers won't work with this. there are ways around this.
@landwalker6941
@landwalker6941 2 месяца назад
The formula shown on the circuit diagram is "It = Ik =Ice + IL". But I think it "It - Ik = Ice + IL ". Is my understanding correct?
@LewisLoflin
@LewisLoflin 2 месяца назад
You are correct.
@babysociu789
@babysociu789 2 месяца назад
How can known max input IN(Ampe) ?
@LewisLoflin
@LewisLoflin 2 месяца назад
It is stated in the spec sheets. I derate max by 25%.
@samsonderera9589
@samsonderera9589 2 месяца назад
Hi sir how do l conduct you
@LewisLoflin
@LewisLoflin Месяц назад
lewis@bvu.net