Arduino 5V to 12V Boost Converter

Ғылым және технология

I will show a simple circuit to boost your Arduino 5V to 12V or more.
For this you only need 6 general components, one Arduino GPIO and 4 lines of code.
The circuit can boost 5 Volt to 12Volt and deliver 500mW.
Other voltages are also possible, I will simulate, build and measure the circuit, and show you how to configure it to meet your needs.
Arduino code & xls boost calculator
drive.google.com/file/d/1zZoJ...

Пікірлер: 41

  • @davidsussens4478
    @davidsussens44785 ай бұрын

    Yet another great video with clear concise explanations and simulations. Can't wait to see what topic you do next. Thank you!

  • @smartpowerelectronics8779

    @smartpowerelectronics8779

    5 ай бұрын

    Thank you Davidsussen!

  • @Cracked1ce
    @Cracked1ce5 ай бұрын

    this setup is useful to use as a gate drive voltage for mosfets, whether you are trying to reduce losses by reducing RDSon through driving the gate with higher than 5V, or if you need the higher voltage for doing high side switching with an n channel mosfet.

  • @RobinsonDanieldosSantos
    @RobinsonDanieldosSantos5 ай бұрын

    That's a great subterfuge! I asked myself a lot by why we don't use further gpio to do switch mode auxiliary power supplies. You made the response! Congratulations man. Good solution!

  • @smartpowerelectronics8779

    @smartpowerelectronics8779

    5 ай бұрын

    Thanks RobinsonDanielSantos!

  • @sebastian19745
    @sebastian197455 ай бұрын

    I used such converters (and voltage multipliers to drive relays on some microcontroller circuits where I only had 5V. It was a good choice because whenever I wanted a higher or negative voltage, I could get it without the need of a secondary power supply, or using a smaller and cheaper one (a 6V transformer was cheaper than a 12V or one with two windings) or simply when using power from batteries for portable devices. Yes, that was years ago, when I used 8031MCU and metal can BC107 transistors.

  • @smartpowerelectronics8779

    @smartpowerelectronics8779

    5 ай бұрын

    Great, thank you Sebastian! I have good memories of BC107's with metal can, I used 2 of them them to solder my first blinky-light as a kid🙂

  • @gerardzi7930
    @gerardzi79305 ай бұрын

    Buck boost circuit Line ,it's very important to communicate with real World , thanks for video.

  • @smartpowerelectronics8779

    @smartpowerelectronics8779

    5 ай бұрын

    Thank you Gerardzi!

  • @mehmetdurna3115
    @mehmetdurna31155 ай бұрын

    Nice video. Many thanks. Can we designate a passive snubber circuit to reduce the oscillations on the collector? Do you think it helps on the efficiency?

  • @denysmalakhatka6457
    @denysmalakhatka64575 ай бұрын

    thanks for video, its helpful for me so mutch.

  • @smartpowerelectronics8779

    @smartpowerelectronics8779

    5 ай бұрын

    Thank you, glad to hear you like it!

  • @oscar-unj
    @oscar-unj5 ай бұрын

    Congratulations!

  • @smartpowerelectronics8779

    @smartpowerelectronics8779

    5 ай бұрын

    Thank you Oscar!

  • @phantu9113579
    @phantu91135795 ай бұрын

    another good video, a bit more of simulation setup should be great for hobbyist

  • @smartpowerelectronics8779

    @smartpowerelectronics8779

    5 ай бұрын

    I agree, actually I only started to use simulation recently, it is very useful to optimize small circuit parts.

  • @jensschroder8214
    @jensschroder82145 ай бұрын

    I can also use an NE555 for that. Two resistors, a diode and a capacitor. Maybe a capacitor across the operating voltage.

  • @smartpowerelectronics8779

    @smartpowerelectronics8779

    5 ай бұрын

    Yes you are right, I like NE555...it can do anything. This circuit is useful if you already have a micro-controller in your design. That is also why the code should be simple and not interfering with your other main code running in the micro controller.

  • @PhG1961
    @PhG19615 ай бұрын

    Indeed usefull! So I liked... subscribed... I already was! Schitterend!

  • @smartpowerelectronics8779

    @smartpowerelectronics8779

    5 ай бұрын

    Dankjewel PhG1961!

  • @UCt6PXDm-iFNvvc6t5r1YCgQ
    @UCt6PXDm-iFNvvc6t5r1YCgQ3 ай бұрын

    Thank you for your explanation. This video is great. I would like to ask if the BC337 component can be replaced with an N-channel MOS, such as AO3400. If it can be modified, is there anything I need to pay attention to?

  • @smartpowerelectronics8779

    @smartpowerelectronics8779

    3 ай бұрын

    Thank you, great to hear that! Yes you can replace the 1st transistor with and N-channel MOS, this speeds up the circuit. No need for a resistor in series with the gate or "speed up capacitor" then. You have to be careful that the gate is floating, so I recommend to add a pull up resistor to 5V or 12 V to the gate (1M ohm, 100k Ohm is all ok) .

  • @UCt6PXDm-iFNvvc6t5r1YCgQ

    @UCt6PXDm-iFNvvc6t5r1YCgQ

    3 ай бұрын

    According to your circuit, I successfully made a 5v boost 12v charger to charge 3 strings of lithium batteries. The charging current reached 1A. The pwm used was 200khz, the inductor was 4.7uh, and the Schottky secondary was ss34, N- MOS uses AO3400. Thank you for the detailed tutorial

  • @svenbauerle7277
    @svenbauerle72773 ай бұрын

    super ! Thank you. I tried it with a separate VCC +5Volt and with the power 5V of Arduino nano and it worked great. Do you have a pwm driven small laser diode driver ?

  • @smartpowerelectronics8779

    @smartpowerelectronics8779

    3 ай бұрын

    No I never did that, I did buy some laser diodes years ago...but never used them for anything so far 🙂

  • @rick_er2481
    @rick_er24815 ай бұрын

    Great video! Very informative. I'm looking for 5 to 12v solution for a low power lorawan sensor. You are referring to the efficiency, would this be suitable or are there more efficient way to convert 5 to 12v?

  • @smartpowerelectronics8779

    @smartpowerelectronics8779

    5 ай бұрын

    This circuit is the most efficient way starting from 5V. It is key to tune the power with the PWM signal to generate the current that you need (with some margin) so you do not waste.

  • @rick_er2481

    @rick_er2481

    5 ай бұрын

    @@smartpowerelectronics8779 Thank you for your comment, I will look into this VS some boost converters.

  • @bobodyuknow
    @bobodyuknow5 ай бұрын

    With the zener feeding back to 5v aren't you at risk of distorting the 5v rail when a surge of current feeds in to it from undampened control loop overshoot? I guess it depends how well the 5v control loop is from its own switching regulator

  • @smartpowerelectronics8779

    @smartpowerelectronics8779

    5 ай бұрын

    You are right, however for this low power and peak currents of ~250mA it is still OK. You can consider to add a capacitor over the 5V.

  • @terlumunjoseph6779
    @terlumunjoseph67795 ай бұрын

    what simulation software are you using

  • @smartpowerelectronics8779

    @smartpowerelectronics8779

    5 ай бұрын

    Simetrix, free version

  • @badrunbandi
    @badrunbandi5 ай бұрын

    hi, how to increase amp? thank you!

  • @smartpowerelectronics8779

    @smartpowerelectronics8779

    5 ай бұрын

    You can increase a little only by increasing the PWM % to 70-80%. For higher current you MUST reduce the base resistor from 2k2 to ~390 ohm. Please make sure you use up the current or you will burn your zenerdiode when you have zero load on the output 🙂

  • @user-qw2vo5tg2d
    @user-qw2vo5tg2d5 ай бұрын

    where is voltage feedback .just one pin and at least two resistors

  • @smartpowerelectronics8779

    @smartpowerelectronics8779

    5 ай бұрын

    There is no feedback pin, the excess power is "burned" in the zener diode. The circuit is meant to be used when you already have a microcontroller in your design, so the code should be simple and not interfering with your other main code running in the micro controller. So you need to tune the output power to what you need, with some margin, to reduce losses.

  • @bachger4289
    @bachger42895 ай бұрын

    I did not get why arduino is using for that? Totaly unuseable circuitry, not stable, only for constand load?

  • @smartpowerelectronics8779

    @smartpowerelectronics8779

    5 ай бұрын

    You are right about the efficiency, it's main performance is being simple and cheap, certainly not efficient ;-) The circuit is to create 12V Vcc, for example for MOSFET gate driving without an additional power supply IC. So if you use it it is key to only generate as much power as you need to reduce loss.

  • @paulversteeg8581

    @paulversteeg8581

    5 ай бұрын

    If you don't understand it, it's better to refrain from making comments that reveal your lack of understanding and also failure to look at the video to understand why the arduino is needed.😢

  • @Sebstan_
    @Sebstan_5 ай бұрын

    Good job! how can i contact u sir?

  • @smartpowerelectronics8779

    @smartpowerelectronics8779

    5 ай бұрын

    You can contact me here: tjaco193@gmail.com

Келесі