티스토리 뷰

Technology/Arduino

Develop for battery charger

캡틴테크 2018. 2. 11. 19:23
반응형

To make independent solution, a few crucial things have to be adapted. The thing is, battery and battery charger. The Arduino will not be worked without electricity as well as It should be charged even though we use a battery for the Micro controller. All devices have it to provide power to the Micro controller and charge it through the micro usb cable or others. Today, I will guide you to make charger module which would be basic when we make IoT solution.

* Research the Battery and Charger.

There is various types of battery and different price according to the specification like capacity and functionalities. Here is my one that I used.

1) Battery

Battery should provide the power at least 1 hour to the Micro controller. The controller can use a number of LEDs, sensor and so on. Therefore I believe the battery which has proper capacity and electric current. 

18650 li-io battery is good to use in case of IoT solution due to compact size included protection circuit. Also, It shows 3400mAh as for capacity. However normal controllers would use 5v to work properly. The battery will be generated around 4v which can not be worked for Arduino. Once I chose it to use in my solution and find way how to overcome the lack of power issue.

2) Charger

Both providing power and charging  are necessary. All laptops also have to be charged in a battery in order to use without power cable. Also some of charger has a function to step-up power around 5V which is required by the Micro controller. I researched and heard it from my colleagues. I think the module utilizes in my IoT solution too. Here is the link where I bought it.

https://www.aliexpress.com/item/5pcs-5V-Step-Up-Power-Module-Lithium-Battery-Charging-Protection-Board-Boost-Converter-LED-Display-USB/32732400277.html?spm=a2g0s.8937460.0.0.wog2Cs

AliExpress is the talk of the town for the cheapest price in the world. 1.75$ will be charged with 5 ea. Even though it will take longer time than indoor product. It is much cheaper than others.

3) Switch

Switch is needed to turn on or turn off for provide current into the micro controller. I don't have to use power always. Switch is worth it to save the battery. I was looking for the simple and neat size and decided on what switch will be used in my solution. It is side switch.

Here is the link that I placed an order(http://www.eleparts.co.kr/goods/view?no=2534357)

There is 3 sections to connect. The one is to connect from the charger. the another is to connect to the target and the last just leave it. Please refer to the below image how it works.

Everything is okay to make power module and assemble together according to the picture. I draw the picture through Fritzing.

Download the tool and install it. The tool provides abundant parts to make circuit in real.

Here is my one that I am supposed to use.

The charge has definite hole to connect from the battery but It has already usb output part to take the current from the battery. But I don't want to use the output part and just connect the line from the output pin in the charger. There is 4 pins in the charger for output but I used only 2 pins for + and -. If switch is places in the left, the vcc will not be given,

The picture shows charging it and the video shows Arduino nano can be worked according to the switch.

Okay, Great, If I assemble compactly, it would be beneficial to make independent solution.

반응형
댓글