BlueCArd - part 4 - DC DC Boost Converter - what is it and why we need it
Updated: Jun 26, 2020
To power the Arduino Board and the rest of the electronic we need a stable power source. In this tutorial I'll show you what is a DC DC Boost Converter (aka step up converter), how to use it and why we need it
The elements used in this tutorial are from the list of elements needed for BlueCArd. The detailed list can be found here:
The elements needed for this tutorial are:
The elements from the last tutorial (without the USB cable): Arduino Nano First Steps
1x DC DC Boost Converter -> from 1V - 5V to 5V and at least up to 500 mA
4x more pin connector cables (2x black and 2x red)
I also made a video where I show how to connect the circuid and how the used current changes when we change the input voltage. You can watch the video here:
What is a DC DC Boost Converter?
A boost converter (step up converter) is a device that can increase the voltage from the power source (while decreasing the current).
For BlueCArd I used this one:
As you can see You can put any voltage between 1V and 5V at its input and it will output stable 5V.
How does it work (very short explanation)?
I'm not an electrical engineer and I'll try to explain it to the extent of my understanding. If you find any errors please send me a message or write it in the comments, so I can fix them. Thank You!
Below is the general circuit of a DC DC boost Converter:
Vin is the input voltage (in our case from 1V to 5V)
Vout is the output voltage (in our case 5V)
How it works:
When switch S is closed the current follows the blue line and the inductor L creates a magnetic field.
When switch S is opened the magnetic field of the inductor L starts to collapse inducing current through the inductor L creating a high voltage spike and the current is pushed through the red line (through the diode D) and is stored in the capacitor C.
The diode D stops the current flowing back from the capacitor.
(Side note about capacitors: If you don't know how a capacitor works -> the space between the plates indicates that the circuit is broken there and no electrons can flow through -> the electrical particles are stored at the plates creating a load and when the input voltage is lower than the stored the capacitor tries to push current in the opposite direction -> that is why there is a diode there to stop the current flowing back.)
When the switch S is switched very fast this effect pumps up the Vout. The switch S is normally a MOS transistor.
In this way the Vout is much higher than Vin. But in the same time the output current is much lower than the input current (P = U.I).
Why use the DC DC Boost Converter?
The DC DC Boost Converter has 5V stable output independent of the power source.
This means that I can power without a problem the Arduino Nano microcontroller and any other elements that require 5V
I can also calculate the needed resistors for the LEDs and other components that need different voltage independent of the power supply and don't have to change the circuit when I change the power source
I can also use e.g. only 1 rechargeable battery with 1.2V to power smaller circuits
Changing the circuit to use the DC DC Boost Converter
Use the circuit from the last tutorial. To connect the step up converter to the circuit do the following:
Connect the 5V output of the boost converter to the (+) pins on the breadboard
Connect the GND output of the boost converter to the (-) pins on the breadboard
Connect the VIN pin of the Arduino Nano board to the (+) pins on the breadboard
Connect one of the GND pins of the Arduino Nano board to the (-) pins on the breadboard
Disconnect the usb cable (if you have it connected)
Put some voltage (1V to 5V) on the input of the boost converter (GND or (-) on the IN- and (+) on the IN+)
In the picture below I set up the input voltage to 3.6V (equals to 3 rechargeable AA batteries)
And on this picture, I changed it to 1.2V (equals to 1 rechargeable AA battery)
As you can see the circuit is working regardless of the input voltage. You can also see that the current flowing into the Boost Converter is different. Both times the power consumption is the same so when the voltage goes down the current must proportionally go up!
This is also why I decided to use 3xAA rechargeable batteries for BlueCArd, so I can limit the current through the Boost Converter.
In the next tutorial I'll show you how to connect the AT-09 (HM-10) module to the Arduino Nano and how to send commands between the Arduino Nano and the BLE module.