Arduino 5V to 12V Boost Converter
10:10
3 Simple MOSFET Drive Circuits
12:55
Portable Arduino IDE
3:28
6 ай бұрын
Low cost logic analyzer
7:47
6 ай бұрын
A Poor Mans Logic Analyzer
9:01
6 ай бұрын
KiCAD 7 PCB Layout in 5 steps
13:16
How to Clone Arduino's
7:16
Жыл бұрын
Make your own DigiSpark USB!
13:20
ATtiny 85 Serial Print
8:52
Жыл бұрын
Program ATtiny85 directly via USB
7:43
Getting Started with PlatformIO
8:56
Пікірлер
@WatcherX-d9o
@WatcherX-d9o 2 күн бұрын
Footprints for connectors are not specified?
@smartpowerelectronics8779
@smartpowerelectronics8779 Күн бұрын
Please check the KiCad design zip file in the comments. Unzip and open the .pro file😊
@riri06170
@riri06170 2 күн бұрын
thank you so much for your KiCAD guide video, it really helped me a lot!♡
@cmc906
@cmc906 4 күн бұрын
Am I right with my guess that a bipolar transistor is used instead of a small mosfet like the BS170 because the driver transistor's switch time doesn't matter much compared to the power MOSFET's switch time?
@smartpowerelectronics8779
@smartpowerelectronics8779 2 күн бұрын
Yep and because you probably already have a npn lying around 😊
@cmc906
@cmc906 Күн бұрын
@@smartpowerelectronics8779 You're right, I did! I also had the IRFZ44N, it was like magic.
@saularanda7924
@saularanda7924 4 күн бұрын
In the Fast Push-Pull Circuit, are the push-pull transistors backward in their position?
@__logan__duvalier__
@__logan__duvalier__ 5 күн бұрын
dont forget these are inverting circuits so will apply full power to the 4.8ohm load when your Arduino is switched off ! or when the input is zero volts !
@__logan__duvalier__
@__logan__duvalier__ 5 күн бұрын
you wait for mosfet driver circuit then three come along !
@TeraHertze
@TeraHertze 5 күн бұрын
what is the software you used? i like it
@smartpowerelectronics8779
@smartpowerelectronics8779 5 күн бұрын
Simetrix, also called simplis, free version
@dreamfly555
@dreamfly555 5 күн бұрын
To my surprise, I found from digikey some P-Channel mosfets that don't cost that much but are similar to the N-Channel RDS(on) levels. E.g. G040P04T has less than 3.7mΩ and is only $1.82. The G050PO3T has less than 5mΩ costing $1.17.
@racialhygiene
@racialhygiene 5 күн бұрын
Very cool, I wonder why they didn't continue this feature into Arduino IDE 2.X? Either way it seems useful for running on linux live USB systems without internet, which is a scenario I use often. Thank you.
@racialhygiene
@racialhygiene 5 күн бұрын
This is very creative and the video is very clear and well put together. Thank you very much, this is exactly the kind of video I wish there was more of.
@Jim_One-wl4ke
@Jim_One-wl4ke 7 күн бұрын
very well explained, even though i am in mechanical field and learning electronics now. i can understand your video at a good pace. Thank you very much.
@PrinceWesterburg
@PrinceWesterburg 8 күн бұрын
My God, this is actually really easy - I've been putting off using PCB software for 20 years but recently I have genuine need of it and thanks for making this video!
@Foxhood
@Foxhood 10 күн бұрын
Coming from Eagle, i didn't need an entire bare basics session, just a quick run-down from start to finish. For that this is a great tutorial!! Now to start the tedious process of migrating and updating all my libraries. Hard to believe i'm actually making the switch honestly. When i started in 2011: KiCad was a mess and CadSoft Eagle was what i was trained to work with in college. But then CERN got involved with KiCad and Autodesk with Eagle. Now there is a open-source powerhouse while the former champion is slated for deprecation...
@smartpowerelectronics8779
@smartpowerelectronics8779 9 күн бұрын
Thanks Chiel, yes in the comments I learned that KiCAD came a long way, it is now a pretty good PCB layou package!
@abpccpba
@abpccpba 12 күн бұрын
if you try again, fix your audio BYE
@saysoy1
@saysoy1 12 күн бұрын
with this knowledge, I feel I am ready to build My robots ARMY HAHAHAHAHAHAHA!
@smartpowerelectronics8779
@smartpowerelectronics8779 12 күн бұрын
🤣
@luisfelipesaldivar5100
@luisfelipesaldivar5100 15 күн бұрын
hi sir, i´m having some issues related to the drazzy's and digistump url's for the arduino board manager, Digistump's website was shut down, or at least that's what I think,do you know what happened to both repositories? and also, do you still have the files for arduino IDE board manager core by any chance? I was thinking if windows 11 is the problem, cause the drivers don't work here. Thank you in advance.
@seanwhitehall4652
@seanwhitehall4652 15 күн бұрын
How hard it is to get multiple PCB designs and combine them onto one file? For if multiple people make PCB parts to be combined into a single, larger PCB.
@vidtechnology7342
@vidtechnology7342 24 күн бұрын
what should i do if i want to use circuit at 650 khz ?
@smartpowerelectronics8779
@smartpowerelectronics8779 24 күн бұрын
Normally less than 1MHz is not very critical. I suggest you make a ground plane, use the bottom layer and fill it with as much copper as you can. Search fill function in KiCad and search ground plane in general with Google
@vidtechnology7342
@vidtechnology7342 23 күн бұрын
@@smartpowerelectronics8779 not works. Pmos IRF9520 didnt switch off. i want to make either half or full bridge driver for inductive load, at 700 KHz
@HQ_Nextpcb
@HQ_Nextpcb 25 күн бұрын
High-quality tutorial! Love to see more
@smartpowerelectronics8779
@smartpowerelectronics8779 25 күн бұрын
Thanks man! Bit busy lately, ~ July I will make some more videos 🙂
@philaesfarewell
@philaesfarewell 27 күн бұрын
Great small tutorial
@smartpowerelectronics8779
@smartpowerelectronics8779 26 күн бұрын
Thanks man, hope it helped you starting to use KiCAD !
@sailing-moody54ds
@sailing-moody54ds Ай бұрын
Thank you for making this fantastic video. I got my logic analyser working as a result of following your instructions. This now will allow me to diagnose the data on my NMEA 2000 network.
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
Great to hear that, just looked it up, NMEA 2000 is a bit similar to CAN as used in cars? I make these videos just for fun, and I actually learn a lot from the comments :-)
@21thTek
@21thTek Ай бұрын
Great !! ⭐⭐⭐⭐⭐
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
5-star rating! thanks man 🙂
@atharvnadkarni2353
@atharvnadkarni2353 Ай бұрын
What is the footprint for connector and led?
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
You can download the KiCAD project file, link is in the comments :-) kzfaq.info?event=video_description&redir_token=QUFFLUhqa0RNU2lDYjhSMkcxS0lDLVRzRWJtUHc4aFRyUXxBQ3Jtc0tsRWd2Z1lYOVZtcGxLemZNdWpuS1dqMkNFMVQzUVRjX0xWNm1mNVlWTlBZanFHem11bHhnN05wdnkxOE5aT1FLMl9GMW5lb1pIdzFfQkl2Q0FDOHdOckxwT09GN2RVaG45Q2UzTUdKbGlIck1SaDJfOA&q=https%3A%2F%2Fdrive.google.com%2Ffile%2Fd%2F1lvo3erODoXkqmzu_f_4TiOI9Fkn1rpG_%2Fview%3Fusp%3Dsharing&v=3FGNw28xBr0
@JuanBotes
@JuanBotes Ай бұрын
thanks \o/
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
Most welcome! ;-)
@shovnikpaul3297
@shovnikpaul3297 Ай бұрын
hi, great tutorial. I apologize if this is very basic knowledge I'm missing, but why can't we directly connect the MCU's GPIO pin to the gate of the MOSFET? MOSFETs have insulated gates so they won't draw any (or perhaps very little) current, right? much less than the base of a bipolar transistor for sure; so why go through the trouble of connecting a separate NPN for example in the first circuit? Thanks.
@Regenersys_Fabio_Barone
@Regenersys_Fabio_Barone Ай бұрын
Nice video, good explanations. But a comment on the use of "current sink" (BJT with emitter resistor) to drive the boot-strap circuits. The **minimum** voltage achievable at the collector of the level-shifter BC547 (call this Q1) is about 4.5V, due to the output voltage from the Arduino, and the Vce (sat) of Q1. Add to this the Vbe of the pull-down PNP in the buffered boot-strap, means that the mimum voltage at the gate of the MOSFET will be about 5.2V. In most cases this should be sufficiently low to ensure the MOSFET stays OFF, but not always. Is there any particular reason you did not just connect the emitter of Q1 directly to GND, and insert a suitable resistor in series with its collector if current or power dissipation became a concern?
@gidonzilberman7188
@gidonzilberman7188 Ай бұрын
Nice presentation 😅
@tvdylan
@tvdylan Ай бұрын
so ive got my hall sensor triggering my arduino and then arduino into a gate driver chip and then gate driver chip into a mosfet. but the coils are being turned on for wayy to long and its over heating the coils very quickly and not even getitng up to speed, very un smooth, i have a 100 ohms resistor between gate and driver output and10k across gate/source. and a 4k7 ohm reisstor between arduino out and gate driver logic input. can you suggest what im doing wrong here ??
@onlyrgu
@onlyrgu Ай бұрын
I havent used KidCAD is 10 years, was using Altium and mentor , I need a refresh course form Kicad 8 this video puts me back on track..KiCAD came a long way
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
Thank you onlyrgu, good to hear it was useful 🙂
@tvdylan
@tvdylan Ай бұрын
ive just bought all the components needed to make your cascode circuit !! i couldnt resist !! to infinity and beyond ! : )
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
Yeah, that circuit is fun, even though you do not save many parts compared to the 3-transistor circuit.
@tvdylan
@tvdylan Ай бұрын
@@smartpowerelectronics8779 yeah, its a nice little challenge for me ! and i chose the cascode circuit because you said its faster than light ! : P hehe. and sharp on/ off times is what im looking for !! the parts will arrive soon. and i have also bought the gate driver chip you suggested as well. i also had a new nano board arrive today ! so i can trigger the gate driver chip soon and also use my hall sensors now ! and this way i wont be over voltage'ing the gate ! good luck to me ! ha thanks !
@tvdylan
@tvdylan Ай бұрын
i have another question for you master of mosfets ! now i have my mosfet, 600V CoolMOSª P7 Power Transistor IPA60R08, im not using gate driver yet, but i have my pulse motor that the mosfet is triggering a coil on and off for. the voltage for the gate/source is coming from a trigger coil. the magnets spin passed it and create a voltage etc. And the coil is getting a bit hot, is there a solution to keep my coil COOLER? the coil is significantly hot. the mosfet is a bit warm, but only a little bit, with a small heat sink. but its normally cool when i run the pulse motor at 12 volts. i would like to figure out how to keep things cool at 24 volts. because i get a much better output @ 24 volts input. what i am doing is charging battery's on the output of my motor with the energy pulses that occur when the coil turns ON and off. the transient spikes. do you have any ideas about keeping my motor coil cool in this situation ? its always been a challenge for me. would my coils stay cooler with a higher power rating of mosfet? or is this not how things work ? and do you think the ON time of the mosfet is too long and is perhaps whats causing the excess heat ? the mosfet says 4volts is the max gate voltage, but my trigger coil generates a higher voltage than that, 7 - 17 volts is this naughty to give the mosfet gate a higher voltage than the datasheet says is its maximum? should i be limiting the voltage to the recommended maximum voltage for the gate ? i plan to replace the trigger coil, with a hall sensor and gate driver soon ! thanks for your help so far ! : )
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
I am not sure why the motor coil gets hot, reducing the on time will for sure help. A MOSFET will die very quickly if the gate-source voltage exceeds its maximum, there is some margin but not much, if you exceed, it is gone instantly. Is the trigger coil a seperate coil? Or part of the motor? Sorry I am not a motor expert ;-)
@tvdylan
@tvdylan Ай бұрын
@@smartpowerelectronics8779 i see ! my data sheet says the maximum voltage is 4volts of Vgs. but i have more than 8 volts and its still working. its a little warm, but it is pushing 1.5 amps through the drain/source. so i thought maybe thats normal. and yes ! its a sperate trigger coil. so it produces more and more volts the faster the motor spins ! so it will be good to replace the trigger coil with a lovely hall sensor / arduino / gate driver situation !! : ) i tried connecting my two motor coils in series and that makes them cooler, which is most likely because i am halfing the current draw on each coil. but then this makes motor slower, so i put the two coils bakc in parrallel and this is faster for better output. but coils are a bit warm now. but soon i can test the shorter on/off times ! i can make a video when i have succeeded with my hall sensor ! thank you !
@zigaresnik-co3no
@zigaresnik-co3no Ай бұрын
what footprint did you use for battery cell
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
There is no battery, only USB :-)
@tvdylan
@tvdylan Ай бұрын
the cascode circuit: Is the 100nf cap connected to the arduino ground ? and im slightly confused about the 12v arrow, where do i get the 12 volts ? i understand if my source voltage is 24 volts for my main load then i have 24 volts for my mosfet drain/source but im not sure what the 12 volts is ?
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
Hi TVDylan, Yes the 100nF is connected to the Arduino ground. The 12V you need to make from the 24V or any other high voltage you have in your circuit. For example, from 24V use a 2k2 resistor and a 12V zener diode, or a 7812/LM317 voltage regulator as you wish. Most MOSFETs do not allow more than 20V on the gate, so 24V is too much.
@tvdylan
@tvdylan Ай бұрын
@@smartpowerelectronics8779 i see, thank you !! i can do that ! and..so if mysource is 24 volts, two batterries in series, can i connect inbetween the two batterries for the 12 volts ? : )
@jdarnell123
@jdarnell123 Ай бұрын
You rock the damn house!!! 🙂 I liked, subscribed and really appreciate this super informative video. Thanks!!
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
Thanks jdarnell! This video is not very popular, maybe because the topic is quite complex: you need to get several things right: Node-Red and MQTT server running, and make your ESP connect and communicate correctly. I use this type of setup now at home for all my lights, it works quite good. I only have some problems with connectivity in one room, I will try to improve WiFi reach with an external antenna (IPEX connector on ESP32S or just solder it). There are tutorials showing software teaks, but I did not get too much results form than....
@jdarnell123
@jdarnell123 Ай бұрын
@@smartpowerelectronics8779 I am going to use Node-Red for a smart raised-bed garden setup together with rain barrels for harvesting water for it. Your excellent instruction is helping me get started so I don't have to hard wire all my own controls. It will also enable wifi controlling of the garden which my family will find convenient. Thanks again for everything! :)
@abdul-q-khan
@abdul-q-khan Ай бұрын
If you don't live in a lab it's of any use?
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
Hi Abdul, the circuits are used in mass production in the millions because it is still much cheaper than an IC. If you just want to get this function done as a hobbyist, an IC is a good solution and cost is not an issue. What is good about the circuit is that it illustrates how the principle works. I have been a power-supply-IC designer, inside the IC it works similar. I never understand why IC vendors keep charging such high prices for such a simple function.
@MrSchmimi
@MrSchmimi Ай бұрын
isn‘t the pinout of an USB connector 1-5V, 2-D-, 3-D+ and 4-GND?
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
You are right: Vcc D- D+ GND, the final PCB is correct though. ehh it is a tutorial how to use KiCAD, the USB PCB is only used as an example 🙂
@vitporiz
@vitporiz Ай бұрын
Hey thanks for the tutorial, it helped me a lot! However, even though it works, i believe there is a mistake in the schematic. There should be a capacitor between DTR and the RESET pin of the ATTiny (1), thats correct. But then RESET pin should be pulled high. The way you have it, the DTR pin is pulled high and RESET pin is floating, which is wrong. If you check the schematic of arduino UNO for example you see that its designed the way i described. I believe your version works only because of imperfections of the capacitor. The rest of the video is amazing tho and thank you for the tutorial!
@chrisguo5698
@chrisguo5698 Ай бұрын
it works very well in my simulator as well, however when I built it with real transistors, the speed is very slow. Have you tried it ?
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
Yes, I built all 3 circuits. The 1st one is really slow. It should work, even with other transistor types (BC547 is pretty poor) . How is your input signal? Does it have a fast slope?
@tvdylan
@tvdylan Ай бұрын
can you make me one please ! : ) i can buy it ! i want to do fast switching without burning my mosfet !! : )
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
I suggest you buy a MOSFET gate driver, for instance TC1411N. Buy the "N" version, it does not invert and buy DIP-8 so it is easy to solder. Search the specification (Bing " TC1411N pdf") and follow the test circuit. It will work, only a few components :-)
@tvdylan
@tvdylan Ай бұрын
@@smartpowerelectronics8779 oooh !! thank you very much !!! : D
@tvdylan
@tvdylan Ай бұрын
@@smartpowerelectronics8779 thanks very much !! so do i just connect the driver directly to the mosfet without any extra compnenets in between ? PIN 6/7 to GATE, PIN 4/5 to SOURCE GROUND(NEGATIVE), PIN 2 to INPUT SIGNAL (ARDUINO DIGITAL OR HALLSIGNAL), and PIN 1/8 to INPUT POSITIVE ? and i saw in one diagram a guy has a 0.1uf cap between pin 1 and ground. is that how you would do it ? im a bit of a begginer when it comes to driver chips, so its a littel bit ocnfusing to me. iver nearly figured it out tho ! you obviously know alot about this stuff !! ive always used a trigger coil directly to my mosfet gate with my pulse motor. which is what im going to do with this driver chip. im going to be turning a coil on and off on my pulse motor with 12-24 volts form the batterys. any help will be much appreciated ! and the fast on /off times are crucial for my experiments : )
@davidgapp1457
@davidgapp1457 Ай бұрын
Excellent. Much appreciate the time and effort that went into making this video (and others). Concise, clear and absolutely fascinating - I have a degree in Electrical and Electronic Engineering from UCL in England, but still find this channel to be educational and insightful.
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
Thanks David!
@AnakinShane
@AnakinShane Ай бұрын
Hi, there, Why did you set "pinMode" to 1 and "digitalWrite" to 1, when the led is connected to 6 ?
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
Hi Anakin Shane, yes that is confusing. The physical pin6 of the DIP-8 package is connected to PB1 or GPIO1 or "Arduino pin" 1. IN the software you refer to the "GPIO" number. You can see the pin out at the bottom of this website: electroprogramics.com/2020/08/31/introduction-to-attiny85/ 🙂
@AnakinShane
@AnakinShane Ай бұрын
@@smartpowerelectronics8779 Thanks for answer.
@dbuezas
@dbuezas Ай бұрын
Very interesting! I was hoping to see a comparison with the simpler P channel high side switch circuit, particularly since that one can be driven at zero Hz. I'll make that my suggestion for a future video :)
@c0mputer
@c0mputer Ай бұрын
Can the company you order the PCB from do the soldering of components for you?
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
The one I use can, also JLCPCB can do that, but I never tried. Please check on the websites of PCBWay, JLCPCB or ask them, they may have this service.
@Geert890
@Geert890 Ай бұрын
Exactly what I needed, thanks!!!
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
Thanks Geert! Mooi te horen!
@cesarhernandezcinfo
@cesarhernandezcinfo Ай бұрын
Excellent tutorial, Thank you.
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
You are welcome!
@saimonsarder2151
@saimonsarder2151 Ай бұрын
Sir can you provide me the footprints you used in every components?? It was fast forwarded when you added the components. I've watched it several times but couldn’t understand. I want to make this PCB. I need your help sir🙏
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
I added a link to the zip file with the project files, unzip and double click the .pro files to open it in KiCAD7
@L2.Lagrange
@L2.Lagrange Ай бұрын
These are incredibly helpful videos
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
thank you!
@L2.Lagrange
@L2.Lagrange Ай бұрын
Great topic for a video! I'll definitely mess around with a few of these drivers. I use PWM and PWM drivers in a lot of my projects
@luisalbertoparada5757
@luisalbertoparada5757 2 ай бұрын
excelente clase y aplicacion del analizador logico, un nuevo suscriptor
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
Thanks man!
@shanemoyo2233
@shanemoyo2233 2 ай бұрын
just out of curious. what is the memory unit. ATtiny?
@smartpowerelectronics8779
@smartpowerelectronics8779 Ай бұрын
Yes ATTINY85, I describe the design on this video: kzfaq.info/get/bejne/jt11jdmSrN-vdHk.html