{"id":4661,"date":"2024-07-28T12:00:02","date_gmt":"2024-07-28T19:00:02","guid":{"rendered":"https:\/\/www.cloudacm.com\/?p=4661"},"modified":"2024-07-26T07:18:20","modified_gmt":"2024-07-26T14:18:20","slug":"power-bank-with-18650-li-ion-battery","status":"publish","type":"post","link":"https:\/\/www.cloudacm.com\/?p=4661","title":{"rendered":"Power Bank with 18650 Li-ion Battery"},"content":{"rendered":"<p>Using micro controllers in the field requires battery power.\u00a0 USB power banks are readily available, but these devices are not serviceable and cost substantially more than the components they are built from.\u00a0 This post will cover battery power using a 18650 Li-ion cell.\u00a0 It is based off of the work done here, <a href=\"https:\/\/circuitdigest.com\/electronic-circuits\/power-bank-circuit\">https:\/\/circuitdigest.com\/electronic-circuits\/power-bank-circuit<\/a>.\u00a0 This diagram shows how these components are connected.<\/p>\n<p><a href=\"https:\/\/www.cloudacm.com\/wp-content\/uploads\/2024\/07\/BuildLayout.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4665\" src=\"https:\/\/www.cloudacm.com\/wp-content\/uploads\/2024\/07\/BuildLayout.png\" alt=\"\" width=\"1010\" height=\"493\" srcset=\"https:\/\/www.cloudacm.com\/wp-content\/uploads\/2024\/07\/BuildLayout.png 1010w, https:\/\/www.cloudacm.com\/wp-content\/uploads\/2024\/07\/BuildLayout-300x146.png 300w, https:\/\/www.cloudacm.com\/wp-content\/uploads\/2024\/07\/BuildLayout-768x375.png 768w, https:\/\/www.cloudacm.com\/wp-content\/uploads\/2024\/07\/BuildLayout-553x270.png 553w\" sizes=\"auto, (max-width: 1010px) 100vw, 1010px\" \/><\/a>The post referenced above had one flaw that should be avoided, the on\/off switch was placed on the negative line.\u00a0 This prevents expanding the circuit to include other devices because they require a common ground connection, which uses the negative line.\u00a0 The diagram above shows the switch on the battery&#8217;s positive line.\u00a0 Doing this allows other devices to share a common ground with this circuit without any risk of an energized circuit when the switch is off.\u00a0 These are the parts needed to build the power bank.<\/p>\n<p>AITRIP 10 PCS PFM Control DC-DC Converter Step Up Boost Module 600MA USB Charger 0.9V-5V to 5V Power Supply Module<br \/>\n10 count for $8.39<br \/>\n<a href=\"https:\/\/www.amazon.com\/dp\/B08X1P227C\">https:\/\/www.amazon.com\/dp\/B08X1P227C<\/a><\/p>\n<p>HiLetgo 10pcs 5V 1A 18650 Lithium Battery Charging Board TP4056 Lithium Battery Charging Board Micro USB Charge Module With Protect<br \/>\n10 count for $7.79<br \/>\n<a href=\"https:\/\/www.amazon.com\/dp\/B00LTQU2RK\">https:\/\/www.amazon.com\/dp\/B00LTQU2RK<\/a><\/p>\n<p>Holder for 18650 Button Top Single Battery<br \/>\n8 count for $6.69<br \/>\n<a href=\"https:\/\/www.amazon.com\/dp\/B07KD9JLH3\">https:\/\/www.amazon.com\/dp\/B07KD9JLH3<\/a><\/p>\n<p>100PCS 5mm High Knob Vertical Micro Mini Slide Switchs,3 Pin 2 Position SPDT Latching Toggle Switches Panel Mount DC 50V 0.5A SS12F15-G5<br \/>\n100 count for $7.99<br \/>\n<a href=\"https:\/\/www.amazon.com\/dp\/B099N3HFPG\">https:\/\/www.amazon.com\/dp\/B099N3HFPG<\/a><\/p>\n<p>3.7 Volt Rechargeable 18650 Battery 9900mAh 18650 3.7V Battery Button Top Battery for Flashlight, Headlamp, 8 Pack<br \/>\n8 count for $29.99<br \/>\n<a href=\"https:\/\/www.amazon.com\/dp\/B0CKHN95T6\">https:\/\/www.amazon.com\/dp\/B0CKHN95T6<\/a><\/p>\n<p>The build was expanded to allow a micro controller to monitor the battery level using a voltage divider.\u00a0 The resisters have a high ohm rating to reduce wasting energy.\u00a0 The voltage divider is needed because the battery voltage has the potential to exceed what the micro controller can handle without being damaged.<\/p>\n<p><a href=\"https:\/\/www.cloudacm.com\/wp-content\/uploads\/2024\/07\/BuildLayout_VoltageMonitorOut.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4669\" src=\"https:\/\/www.cloudacm.com\/wp-content\/uploads\/2024\/07\/BuildLayout_VoltageMonitorOut.png\" alt=\"\" width=\"1010\" height=\"493\" srcset=\"https:\/\/www.cloudacm.com\/wp-content\/uploads\/2024\/07\/BuildLayout_VoltageMonitorOut.png 1010w, https:\/\/www.cloudacm.com\/wp-content\/uploads\/2024\/07\/BuildLayout_VoltageMonitorOut-300x146.png 300w, https:\/\/www.cloudacm.com\/wp-content\/uploads\/2024\/07\/BuildLayout_VoltageMonitorOut-768x375.png 768w, https:\/\/www.cloudacm.com\/wp-content\/uploads\/2024\/07\/BuildLayout_VoltageMonitorOut-553x270.png 553w\" sizes=\"auto, (max-width: 1010px) 100vw, 1010px\" \/><\/a>Collecting the battery level values is useful to monitor the health of the power bank.\u00a0 The following is a plot from a micro controller that was attached the power bank.\u00a0 It&#8217;s easy to see that a voltage avalanche started shortly before the micro controller lost power.<\/p>\n<p><a href=\"https:\/\/www.cloudacm.com\/wp-content\/uploads\/2024\/07\/BatteryUse.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4671\" src=\"https:\/\/www.cloudacm.com\/wp-content\/uploads\/2024\/07\/BatteryUse.png\" alt=\"\" width=\"768\" height=\"432\" srcset=\"https:\/\/www.cloudacm.com\/wp-content\/uploads\/2024\/07\/BatteryUse.png 768w, https:\/\/www.cloudacm.com\/wp-content\/uploads\/2024\/07\/BatteryUse-300x169.png 300w, https:\/\/www.cloudacm.com\/wp-content\/uploads\/2024\/07\/BatteryUse-480x270.png 480w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a><\/p>\n<p>The weight of the power bank is 52 grams (15 grams without the battery).\u00a0 In comparison, an off the shelf unit weighs 74 grams.\u00a0 This can make it suitable for use on UAVs or other applications where weight is a consideration.<\/p>\n<p>[sphere 4676]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using micro controllers in the field requires battery power.\u00a0 USB power banks are readily available, but these devices are not serviceable and cost substantially more than the components they are built from.\u00a0 This post will cover battery power using a 18650 Li-ion cell.\u00a0 It is based off of the work done here, https:\/\/circuitdigest.com\/electronic-circuits\/power-bank-circuit.\u00a0 This diagram shows how these components are connected. The post referenced above had one flaw that should be avoided, the on\/off switch was placed on the negative&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/www.cloudacm.com\/?p=4661\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4661","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=\/wp\/v2\/posts\/4661","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4661"}],"version-history":[{"count":13,"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=\/wp\/v2\/posts\/4661\/revisions"}],"predecessor-version":[{"id":4680,"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=\/wp\/v2\/posts\/4661\/revisions\/4680"}],"wp:attachment":[{"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4661"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloudacm.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}