Constant Voltage or Current Supply with ARDUINO

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ค. 2024
  • Join my Arduino Course -70% Sale (Spanish): bit.ly/3ldW6kO
    🔥In this video I show you how to get constant voltage or cosntant current using the Arduino and a voltage/current feedback. Hope you learn something new and prepare for the MPPT project...
    🔗LINKS
    ------------------------------------------------------------
    Buck Converter Tutorial: electronoobs.io/tutorial/210
    ACS712 Tutorial: electronoobs.com/eng_arduino_...
    Buck Converter Video: • DIY Buck converter - T...
    Boost Converter Tutorial: • Boost converter with F...
    AFILIATE LINKS🔗
    ------------------------------------------------------------
    Digital Microscope AD407: www.banggood.com/custlink/mKD...
    PCB magnetic support: www.banggood.com/custlink/3DG...
    Soldering station: www.banggood.com/custlink/3KK...
    900M-T Tip Kit: www.banggood.com/custlink/KvD...
    TS80 soldering iron: gbe.st/302klVF
    TS100 soldering iron: www.banggood.com/custlink/33D...
    KSGER T12 soldering iron: www.banggood.com/custlink/KmG...
    Solder 0.5mm: ebay.us/QvMPcA
    Flux syringe: ebay.us/A7cdbP
    Dispenser: ebay.us/c2w232
    Solder Paste: www.banggood.com/custlink/GG3...
    Tweezers ceramic: www.banggood.com/custlink/K3K...
    Tweezers KIT: www.banggood.com/custlink/KG3...
    Titanium tweezers: www.banggood.com/custlink/GKK...
    Download PCB Gerbers for practice: electronoobs.io/shop/index.ph...
    SUPPORT🤝
    ------------------------------------------------------------
    Patreon : / electronoobs
    Shirts & Merch: teespring.com/es/stores/elect...
    Join ELECTRONOOBS.io: electronoobs.io
    00:00 Intro
    00:46 Buck converter
    05:08 Constant Voltage Not Feedback
    08:16 With Feedback
    11:47 Constant current
    #Buck
    #Arduino
    #supply
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 238

  • @ELECTRONOOBS
    @ELECTRONOOBS  3 ปีที่แล้ว +6

    You all have good questions, I'll try to answer them soon. Thank you so much!
    Join my Spanish Arduino Course: bit.ly/3ldW6kO

    • @09iban09
      @09iban09 3 ปีที่แล้ว

      Una pregunta, si nos apuntamos al curso ahora podremos seguir con el segundo curso avanzado o ese curso ira aparte? A mi me interesa mas el avanzado, pero si va todo junto me apunto ya y asi ya lo tengo. Un saludo

    • @ELECTRONOOBS
      @ELECTRONOOBS  3 ปีที่แล้ว

      @@09iban09 hola. Los cursos van relacionados pero serán dos cursos por separado. Quiero decir tendrías que pillar el segundo también. Si quieres espérate al más avanzado. Saludos :)))

    • @09iban09
      @09iban09 3 ปีที่แล้ว

      @@ELECTRONOOBS vale perfecto gracias. Esperando al segundo curso con ansia =D

    • @pashko90
      @pashko90 3 ปีที่แล้ว

      @HalfSpeedMastering hi bro. Im looking for some budget 300-350v (working voltage on the system 210-260v) mppt, but they all priced around 1000$. Where is something cheaper on the market? I love vectron, but does not have that much cash right now... I appesiate your advice.

  • @marshdilruk
    @marshdilruk 3 ปีที่แล้ว +4

    As Albert Einstein once said, you made everything about buck converter as simple as possible but not simpler than what it should be. Great video man! It's really an interesting time to be live in because video tutorials of this quilty are freely available on TH-cam.

  • @raagamparmar179
    @raagamparmar179 3 ปีที่แล้ว +17

    I ALWAYS WANTED A VIDEO BASED ON THAT!!! Good Job!

    • @robotechzone
      @robotechzone 2 ปีที่แล้ว

      best arduino project th-cam.com/video/zxlb22cTwHo/w-d-xo.html and you can also get code from this video

  • @ericcmcgraw
    @ericcmcgraw 3 ปีที่แล้ว +4

    Very well explained. A little more detail on the role of the inductor and diode: When the switch is closed, the supply is charging up the inductor, which stores its energy as current. When the switch opens, the inductor discharges its energy while pulling additional current through the diode. This is what allows the converter to output more current than the supply (unlike a linear regulator) and thus be more efficient.

  • @Delali
    @Delali 3 ปีที่แล้ว +4

    I love how you explain stuff into details. Glad to learn from your channel as always. Great video

  • @TechBuilder
    @TechBuilder 3 ปีที่แล้ว +18

    Great vid! Was working in a synchronous version lately, very timely :)

    • @ericdenny4515
      @ericdenny4515 3 ปีที่แล้ว +1

      My three favourites are electronoobs,Techbuilder and great scott

    • @protonspeed
      @protonspeed 11 หลายเดือนก่อน

      @@ericdenny4515 same here

  • @ecospider5
    @ecospider5 3 ปีที่แล้ว +6

    Fantastic overview. I’m looking forward to understanding the code that makes this work.

  • @RMquickbit
    @RMquickbit 3 ปีที่แล้ว

    Great video man, awesome breakdown from the very beginning and showing the fundamentals behind the circuits! Too many channels skip over the educational information, 👍🏻. Definitely looking forward to the future MPPT controller. Well done, sir.

  • @circuitium310
    @circuitium310 3 ปีที่แล้ว

    Nice video! Love them not just the way you present them but because they teach and clarify some vague concepts. Thank you!

  • @malharkhairnar485
    @malharkhairnar485 3 ปีที่แล้ว +1

    Your videos helped me alot for my engineering project

  • @iuhere
    @iuhere 3 ปีที่แล้ว +1

    Absolutely worth my watchtime.🙏 Thank you for sharing. Good luck 👍 for the next one

  • @akara8793
    @akara8793 ปีที่แล้ว

    One of the best explanation i have seen for a long time. You need really know your craft to explain it in such simple terms. Its never easy explaining complex thing very simply. Well done look forward to watching more

  • @fatigmakers
    @fatigmakers ปีที่แล้ว

    I've watched your videos for serveral months. Great explaination in simple words, although I'm not a native, but still can understand easily. Thank you a lot.

  • @r.d.machinery3749
    @r.d.machinery3749 3 ปีที่แล้ว

    This guy is one of the best of the electronic enthusiast TH-camrs. I have watched the channel grow quite successfully. Shame about the constant ads - I pay for TH-cam and expect an ad free experience.

  • @BenMitro
    @BenMitro 3 ปีที่แล้ว

    Excellent absolutely excellent coverage of a buck inverter based on Arduino. Looking forward to the full MPPT project.

  • @rjhornsby
    @rjhornsby 3 ปีที่แล้ว

    Thanks for this video. I have a closet full of low power gear, most 5, 12, maybe 18VDC - many of us do - and it’s long frustrated me that every single device needs its own 120VAC power input. It’s messy wiring, requires multiple 120V power strips, and I have to guess can’t be power efficient doing AC to DC for each thing. Your explanation helped me understand what it might take to fix my rat’s nest.

  • @Metroid1890
    @Metroid1890 3 ปีที่แล้ว +1

    I've been wanting to do this for a while

  • @bahadrsivasl6615
    @bahadrsivasl6615 3 ปีที่แล้ว

    Realy great job!!! You won a subscriber, thanks for your efforts

  • @Dad-ij2qy
    @Dad-ij2qy 7 หลายเดือนก่อน

    Two seriously COOL ways to use an Arduino! Thank you for explaining it all in such detail. Super!

  • @educationaltechnology8363
    @educationaltechnology8363 2 ปีที่แล้ว

    ohhh your channel is definitely under-rated crystal clear explination.

  • @mrfrozen97-despicable
    @mrfrozen97-despicable 3 ปีที่แล้ว +2

    Good. Thanks for fresh content Everytime

  • @stefano.a
    @stefano.a 3 ปีที่แล้ว +1

    Excellent work! This will be taught in the school where I work (referring also to your video and video channel) adding PID control. Thank you!

    • @stephaniesadie832
      @stephaniesadie832 ปีที่แล้ว +1

      "taught" not "teached", dreadful grammar for a Teacher.

    • @stefano.a
      @stefano.a ปีที่แล้ว

      @@stephaniesadie832 thank you. I teach electronics in Italy

  • @Gyaan_anant
    @Gyaan_anant 3 ปีที่แล้ว

    Your channel has lot of good stuff, so i'll subscribed it..,, keep growing good content.

  • @ivanrocha9808
    @ivanrocha9808 2 ปีที่แล้ว

    Thank you, great explanation!

  • @ignition_electronics2520
    @ignition_electronics2520 3 ปีที่แล้ว +1

    Thank You So much for Great Tutorial 🔥🔥

  • @abdulrouflone_5555
    @abdulrouflone_5555 3 ปีที่แล้ว +1

    Thanks for making MPPT CONTROLLER 😍

  • @jamest.5001
    @jamest.5001 3 ปีที่แล้ว

    Happy holidays, this Buck's for you, buck converter!

  • @sermadreda399
    @sermadreda399 3 ปีที่แล้ว

    Great vid, Thank you for sharing

  • @jeroenjager
    @jeroenjager 3 ปีที่แล้ว

    Great video! This helped me out soo much!

  • @electronic7979
    @electronic7979 3 ปีที่แล้ว +1

    Helpful video. I liked it

  • @mancio92M
    @mancio92M 3 ปีที่แล้ว +1

    beautiful tutorial

  • @vipinchoudhary2787
    @vipinchoudhary2787 3 ปีที่แล้ว

    Thank you very much, I was waiting from a long time for such video..

    • @robotechzone
      @robotechzone 2 ปีที่แล้ว

      best arduino project th-cam.com/video/zxlb22cTwHo/w-d-xo.html and you can also get code from this video

  • @SaliyaRuchiranga
    @SaliyaRuchiranga 3 ปีที่แล้ว +1

    great video, and clear explanation ! 💖💖💖💖💖

  • @jimbooth2010
    @jimbooth2010 3 ปีที่แล้ว

    Very nice video!! Good job!

  • @usmanumer9871
    @usmanumer9871 3 ปีที่แล้ว

    u always explan clearly

  • @caslor2002
    @caslor2002 3 ปีที่แล้ว

    Thanks one more time again for the detailed but simple in explanation video for electronics . i have learned a lot and helped me build my own projects.

    • @ELECTRONOOBS
      @ELECTRONOOBS  3 ปีที่แล้ว

      Thank you!

    • @lennard7123
      @lennard7123 3 ปีที่แล้ว

      @@ELECTRONOOBS Hey, I also think this video explains very good how the converter and module are working, but you could please post the code for using buck converter and current limiter at the same time? I don't know how to program it... Thank you very much :)

  • @PhG1961
    @PhG1961 3 ปีที่แล้ว

    Waw, really usefull and a great video. Very well explained !
    Happy holidays and keep it safe !

    • @ELECTRONOOBS
      @ELECTRONOOBS  3 ปีที่แล้ว

      Thank you very much! Happy holidays to you too!

  • @raghavsrivastava2910
    @raghavsrivastava2910 3 ปีที่แล้ว +1

    Great video. Please make a video on how to add PID control to this converter.

  • @sammflynn6751
    @sammflynn6751 3 ปีที่แล้ว

    damn waiting eagerly for the MPPT video, This channel keeps getting better every video.

    • @robotechzone
      @robotechzone 2 ปีที่แล้ว

      best arduino project th-cam.com/video/zxlb22cTwHo/w-d-xo.html and you can also get code from this video

  • @guilhermedias9404
    @guilhermedias9404 3 ปีที่แล้ว

    Great vídeo man 👍👍👍

  • @ashok_ign5623
    @ashok_ign5623 3 ปีที่แล้ว +1

    Always Great Tutorials 🔥🔥

    • @robotechzone
      @robotechzone 2 ปีที่แล้ว

      best arduino project th-cam.com/video/zxlb22cTwHo/w-d-xo.html and you can also get code from this video

  • @sivaprakash6068
    @sivaprakash6068 3 ปีที่แล้ว

    i am waiting for next week updation of this project. keep doing

  • @RinksRides
    @RinksRides 3 ปีที่แล้ว +1

    Suggested to add inline capacitor with gate and appropriate resistor to Source to limit pulse-length to the Gate. This is common practice to block DC. That way, it would not matter if your MCU or driver circuit failed to a DC state. The MOSFET Gate would only respond to pulses. the RC forms a high pass filter. The inline Capacitor to Gate introduces ~90 deg phase shift, but not a problem if you only have one channel or drive all Gates the same way.

  • @asitsantra3491
    @asitsantra3491 3 ปีที่แล้ว +3

    Great.... mppt 3 stage charging...

  • @technicaljourneywithpuneet
    @technicaljourneywithpuneet 3 ปีที่แล้ว

    Well explained 👌 Good 👍

  • @slametriswandi7322
    @slametriswandi7322 3 ปีที่แล้ว

    Great tutorial. Excellent...

  • @avejst
    @avejst 3 ปีที่แล้ว

    Great video
    Thanks for sharing :-) 🎄

  • @backdemoletor4654
    @backdemoletor4654 3 ปีที่แล้ว

    Absolutely fantastic

  • @usmanumer9871
    @usmanumer9871 3 ปีที่แล้ว

    fantastic project

  • @mmoci81
    @mmoci81 3 ปีที่แล้ว

    Very good video. Would be nice to understand how to calculate values for inductor and capacitor.

  • @abdullahalrazi3491
    @abdullahalrazi3491 3 ปีที่แล้ว

    Wait for it bro. love you

  • @EEGworld
    @EEGworld 3 ปีที่แล้ว

    Awesome content 👏

  • @OtavioRodrigues_
    @OtavioRodrigues_ 3 ปีที่แล้ว

    Great video!!
    Could you please explain how to calculate the inductor value in the buck converter?

  • @AD34534
    @AD34534 3 ปีที่แล้ว

    Great video bro.

  • @azyfloof
    @azyfloof 3 ปีที่แล้ว +3

    There's a highly linear relationship between the pwm frequency and the voltage output, so you could probably calculate an accurate offset to add to or subtract from the pwm frequency in a single loop, instead of adding or subtracting by 1 with each loop 😊

    • @LeonardoMeireles05
      @LeonardoMeireles05 8 หลายเดือนก่อน

      No, depende de muchas cosas incluida la temperatura, no es una cuenta Lineal

  • @Drxxx
    @Drxxx 3 ปีที่แล้ว

    great video!

  • @nithikasandinu9034
    @nithikasandinu9034 3 ปีที่แล้ว

    great video. suscribed

  • @lennard7123
    @lennard7123 3 ปีที่แล้ว +2

    Hey, great video! Could you give us a schematic and code for using the buck converter and current limiter simoutanlisuly?

  • @prathambumb5593
    @prathambumb5593 3 ปีที่แล้ว

    Excellent content 👍

  • @Dennis-mq6or
    @Dennis-mq6or 3 ปีที่แล้ว

    Good video!

  • @martinchristiansson658
    @martinchristiansson658 3 ปีที่แล้ว

    Thanks alot, Will need to build a buck converter in my upcoming project. How do you calculate what exact inductance/capacitor values necessary?

  • @yahyamustapha7275
    @yahyamustapha7275 3 ปีที่แล้ว

    thanks brother you are the best god protect you

  • @harikamalakarreddydarapu7410
    @harikamalakarreddydarapu7410 3 ปีที่แล้ว +2

    Very nice project

  • @NBspark
    @NBspark 3 ปีที่แล้ว +1

    nice concept

  • @ajpran
    @ajpran 3 ปีที่แล้ว

    very great, thanks

  • @CraigHollabaugh
    @CraigHollabaugh 3 ปีที่แล้ว

    Nice work, great explanation, well presented. I also liked that you have melted your solderless board in spots. Shows you like to experiment (and maybe failed, ha). Thanks from Colorado.

    • @ELECTRONOOBS
      @ELECTRONOOBS  3 ปีที่แล้ว

      Yes I fail a few times till I get it right :)

    • @CraigHollabaugh
      @CraigHollabaugh 3 ปีที่แล้ว

      @@ELECTRONOOBS All the great engineers fear not their failures but embrace them.

  • @neail5466
    @neail5466 3 ปีที่แล้ว

    You are excellent in explaining ❤️,
    This is a great video for understanding the theory but a cc cv module from china would be pocket friendly.

  • @chanusatelier1331
    @chanusatelier1331 3 ปีที่แล้ว +1

    Great Job!, Please Make a video for PID controller large heaters(like 1.5kW) using SSR, Thank you.

  • @nasermasri3816
    @nasermasri3816 3 ปีที่แล้ว +1

    Keep going!

  • @chrisgallagher85
    @chrisgallagher85 ปีที่แล้ว

    thanks for sharing

  • @shehryarshaheen7115
    @shehryarshaheen7115 3 ปีที่แล้ว +1

    That's my stuff 🐱. Keep it up

  • @hans-dieterjung4026
    @hans-dieterjung4026 3 ปีที่แล้ว

    Thanks, I like it and I'm learning, my question is, how works a constant Voltage with Current limiter

  • @ady0187
    @ady0187 3 ปีที่แล้ว

    great video,please make a 48v arduino esc

  • @thomassorensen7907
    @thomassorensen7907 3 ปีที่แล้ว

    Hi
    Just a question. The p-channel FET at 6:01, does it turn right? You also have the parasitic diode in the FET that will conduct. As I see it, it will conduct when the FET is OFF. Also tuning the FET would leqd to a more defined ON/OFF voltage.

  • @danielakintola8000
    @danielakintola8000 ปีที่แล้ว

    Hello. Can it be used for AC current too?

  • @SonicWawes
    @SonicWawes 3 ปีที่แล้ว

    Hi. Great video for beginers. Please correct you video for errors in schematic. Your P-MOS transistor has swapped Source and Drain (in for example 5:52). Always connect Source of P-MOS to power supply and Dran to your load in this configuration. Otherwise you tranzistor will be still open thanks to body diode.

  • @edwinr4378
    @edwinr4378 3 ปีที่แล้ว

    Thank you 🙏

  • @SudhirKumar-bq4xz
    @SudhirKumar-bq4xz 3 ปีที่แล้ว +1

    For me this is one of best explanation on CV or CC source.
    Sir, can you make a video on MOSFET gate drive circuit. Most of us confused when to use driver IC, when to use isolated transformer, also many schematics offers discrete bootstrap circuits, so can you explain which option is efficient for specific circuits.
    Also can you recommend a good textbook to study electronics....
    Thank you in advance..... :-)

    • @eindeend
      @eindeend 3 ปีที่แล้ว +1

      FYI, greatscott made a video a week ago about driving mosfets. That video helped me understand it very well

    • @SudhirKumar-bq4xz
      @SudhirKumar-bq4xz 3 ปีที่แล้ว +1

      @@eindeend Thank you, and I'm also his old subscriber, still we may get new suggestion or even detailed explanation or different opinions from Electronoobs, 2 is always greater than 1 right....? :-)

  • @ionelvranceanu6413
    @ionelvranceanu6413 3 ปีที่แล้ว +1

    Great video as always. How's the nixie watch project going?

    • @ELECTRONOOBS
      @ELECTRONOOBS  3 ปีที่แล้ว +1

      I've made the PCB but haven't received it yet...

  • @engineerjoules7163
    @engineerjoules7163 3 ปีที่แล้ว +3

    Great explanation of how the feedback loop can maintain a constant voltage output. Awesome video sir!

  • @AlbiinoBlacksheep
    @AlbiinoBlacksheep 3 ปีที่แล้ว

    Is there any risk of self-oscillation in the constant voltage circuit? At what load frequency would that be?

  • @uvrjj
    @uvrjj 2 ปีที่แล้ว

    This is gold

  • @jaishankarm5920
    @jaishankarm5920 3 ปีที่แล้ว

    Good job

  • @leehewitt9559
    @leehewitt9559 3 ปีที่แล้ว

    Brilliant !!

  • @ranganatennakoon
    @ranganatennakoon 3 ปีที่แล้ว

    awesome !!!

  • @srul76
    @srul76 3 ปีที่แล้ว

    Great vid

  • @superpuppy7854
    @superpuppy7854 ปีที่แล้ว

    Nice but ...
    With a 555 timer you have a voltage divider on the inputs feeding two comparators that are driving flip flop.
    Wouldn't it be simpler to substitute the arduino with a 555?
    I haven't drawn it out but I'm guessing less cost and components without the risk of burning out your microcontroller.
    Update.
    I just watched your video on the Buck converter and read your post on using the 555.
    Nice to know I was right about it being possible.
    Thanks for posting these, very educational 👍

  • @MakerMike-bx5ms
    @MakerMike-bx5ms 5 หลายเดือนก่อน

    This was great! I just wish you could make a arduino buck boost converter with current limiting too. Pleeeeeease!!!

  • @simengfu7352
    @simengfu7352 ปีที่แล้ว

    Is the diode placed at the best place? Because once the switch is off, the energy stored in the inductor would push towards the same direction as when the switch is on which results a voltage spike (inductor engergy + capacitor energy). That voltage spike would result a current firstly pass through the LED and then the diode. By the time the current reaches the diode (if it does), the LED is already burnt. This indeed saves the MOSFET but destroyed the load which I think is much more expensive than the MOSFET. I suggest to put that diode together with the inductor parallely just after the switch and befor the capacitor. In this way the the diode is freewheeling immediately after the switch is off.

  • @Dc_tech386
    @Dc_tech386 8 หลายเดือนก่อน

    Hello I need a constant voltage in a buck converter no matter the load but I use lm393 to regulate the current but i can’t get the voltage to stay at 24 voltage the voltage drop to 20 volt I use feedback to the comparator but I don’t know how to use op amp to get constant voltage or I have to use programming ic to do this because op amp cont do it

  • @BFC24
    @BFC24 3 ปีที่แล้ว

    can i use volt and current control (both codes) in same circuit ? like mppt?

  • @Kyrazlan
    @Kyrazlan 2 ปีที่แล้ว

    How would you go about getting more stable control? For example +/- .001V and .001A

  • @kashyapkoshti
    @kashyapkoshti 3 ปีที่แล้ว

    you should give an explanation about the power rating of inductors and other components

  • @jensschroder8214
    @jensschroder8214 3 ปีที่แล้ว

    If you open the switch, the coil will try to keep current flowing. This can be done through the diode in the capacitor. With the switch open, the coil becomes a battery for a short time.
    The diode should be a fast Shottky diode, not a slow 1N400x. A quick UF4004 work.

  • @nisstw
    @nisstw 3 ปีที่แล้ว

    Sir, would you please add short protection function into this power supply. Thank you.

  • @kubilaytan9507
    @kubilaytan9507 3 ปีที่แล้ว

    i want to 10 uA constant current circuit. Is it possible with this circuit . Thanks

  • @vsapre80
    @vsapre80 3 ปีที่แล้ว

    Very nice 👍 video.

    • @vsapre80
      @vsapre80 3 ปีที่แล้ว

      You show high side switching in the schematic. What is the device used in the setup shown.

  • @inayathussain9236
    @inayathussain9236 3 ปีที่แล้ว

    Mppt charge controller was my university project

  • @ismaherbert1500
    @ismaherbert1500 3 ปีที่แล้ว

    Exelente diseño!!!, el circuito de control del mosffet variaría sin en ves de un canal N pongo un canal P??

  • @Deepakkumar-pk9nz
    @Deepakkumar-pk9nz 3 ปีที่แล้ว +2

    Add a rotary encoder to control the current and voltage.