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.
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??
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??
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.
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?
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.
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.
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
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.
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?
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.
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?
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.
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 ?
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 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.)
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!
@@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