<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>diy &#8211; Voltaic Systems Blog</title>
	<atom:link href="https://blog.voltaicsystems.com/tag/diy-2/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.voltaicsystems.com</link>
	<description>Solar Tutorial and DIY Solar Guides</description>
	<lastBuildDate>Thu, 30 Jan 2025 19:42:59 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://blog.voltaicsystems.com/wp-content/uploads/2024/07/cropped-Favicon_48x48-32x32.png</url>
	<title>diy &#8211; Voltaic Systems Blog</title>
	<link>https://blog.voltaicsystems.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Build Solar Powered Chimes</title>
		<link>https://blog.voltaicsystems.com/build-solar-powered-chimes/</link>
					<comments>https://blog.voltaicsystems.com/build-solar-powered-chimes/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 01 Apr 2021 17:37:33 +0000</pubDate>
				<category><![CDATA[All]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[dc motor]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[Solar]]></category>
		<category><![CDATA[sound sculpture]]></category>
		<guid isPermaLink="false">http://80ca4ebf1c.nxcli.io/?p=111984</guid>

					<description><![CDATA[&#160; Introduction This tutorial will demonstrate how to make a simple direct drive solar chimes sculpture with a Voltaic mini solar panel. The solar chimes concept is based on an early solar power sound installation, from 1977, by the sound artist Joe Jones. This circuit is about as simple of a solar circuit as possible. [&#8230;]]]></description>
										<content:encoded><![CDATA[<div style="width: 750px;" class="wp-video"><video class="wp-video-shortcode" id="video-111984-1" width="750" height="422" preload="metadata" controls="controls"><source type="video/mp4" src="https://blog.voltaicsystems.com/wp-content/uploads/2021/03/SolarChimes-Nathanson-March26-2021.mp4?_=1" /><a href="https://blog.voltaicsystems.com/wp-content/uploads/2021/03/SolarChimes-Nathanson-March26-2021.mp4">https://blog.voltaicsystems.com/wp-content/uploads/2021/03/SolarChimes-Nathanson-March26-2021.mp4</a></video></div>
<p>&nbsp;</p>
<h2>Introduction</h2>
<p>This tutorial will demonstrate how to make a simple direct drive solar chimes sculpture with a Voltaic <a href="https://voltaicsystems.com/mini-solar-panels/">mini solar panel</a>. The solar chimes concept is based on an early solar power sound installation, from 1977, by the sound artist Joe Jones.</p>
<div id="attachment_112004" style="width: 760px" class="wp-caption alignnone"><img fetchpriority="high" decoding="async" aria-describedby="caption-attachment-112004" class="size-medium wp-image-112004" src="https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-final-667x500.jpg" alt="Solar chimes sculpture installed on wall." width="750" height="562" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-final-667x500.jpg 667w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-final-1333x1000.jpg 1333w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-final-768x576.jpg 768w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-final-1536x1152.jpg 1536w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-final-2048x1536.jpg 2048w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-final-80x60.jpg 80w" sizes="(max-width: 750px) 100vw, 750px" /><p id="caption-attachment-112004" class="wp-caption-text">Solar chimes sculpture installed on wall.</p></div>
<p>This circuit is about as simple of a solar circuit as possible. The PV cell is wired directly to the motor, without any additional components. The use of a geared motor allows us to avoid using more complex motor driver circuitry while still producing a nice slow movement.</p>
<p>The structure is made from two sheets of balsa wood that form a T turned 90 degrees. A couple additional small pieces are used as supports.</p>
<p>In this example, I’m using 5.9”x3.9”x0.08” sheets of balsa wood for the structure. Many other materials will work just as well, from upcycled cardboard to higher quality materials. Similarly, you don’t necessarily need actual chimes like I’m using here. Experiment with different materials to get different types of sounds from your sculpture.</p>
<p>This project is intended to be mounted on an indoor wall. Mount the sculpture in a location that gets hit with sunlight in the afternoon and it will be a good reminder to get off the computer and go for a walk.</p>
<h2>Parts List for Solar Chimes</h2>
<ul>
<li><a href="https://voltaicsystems.com/0-6-watt-6-volt-solar-panel-etfe/">0.6 Watt 6 Volt Mini Solar Panel</a> (P123)</li>
<li><a href="https://www.amazon.com/gp/product/B08L62VSH1/ref=ppx_yo_dt_b_asin_title_o09_s00?ie=UTF8&amp;psc=1">Balsa wood</a></li>
<li>String</li>
<li><a href="https://www.amazon.com/Ook-04527001297-50141-Galvanized-Multicolor/dp/B001EX1C2W/ref=sr_1_4?dchild=1&amp;keywords=12+awg+steel+wire&amp;qid=1616617187&amp;sr=8-4">12 gauge steel wire</a> (You can substitute wire from a metal coat hanger or any other type of sturdy wire that can be bent as needed)</li>
<li><a href="https://www.amazon.com/gp/product/B07BW9V2Z2/ref=ppx_yo_dt_b_asin_title_o08_s00?ie=UTF8&amp;psc=1">Chimes</a></li>
<li><a href="https://www.jameco.com/z/B32-6V3-1RPM-Jameco-ReliaPro-Motor-DC-Gear-6V-340-1-2RPM-7350G-Cm-90MA_2146505.html">Geared 6V DC Motor</a></li>
<li>Screw or hook</li>
<li>22 gauge electrical wire</li>
</ul>
<h2>Recommended Tools:</h2>
<ul>
<li>Soldering iron and solder</li>
<li>Hot glue gun and hot glue</li>
<li>Drill</li>
<li>1/2” Drill bit</li>
<li>1/16” &#8211; 3/32” Drill bit (size depends on the string thickness)</li>
<li>Pliers</li>
<li>Scissors</li>
<li>Pencil</li>
<li>Wire strippers</li>
<li>Wire cutter</li>
<li>Exacto knife</li>
<li>Ruler</li>
</ul>
<h2>Build Instructions</h2>
<ol>
<li>Prepare the horizontal piece that the motor will be attached to.
<ul>
<li>Mark the motor shaft hole. The hole should be located at least ¼” off center on the long edge. By offsetting the motor, it is easier to keep the motor arm from hitting the wall when it is installed.</li>
<li>Mark pairs of holes in a semi circle around the motor to hang the chimes from.
<p><div id="attachment_111989" style="width: 760px" class="wp-caption alignnone"><img decoding="async" aria-describedby="caption-attachment-111989" class="size-medium wp-image-111989" src="https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-01-667x500.jpg" alt="Board with drill hole markings" width="750" height="562" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-01-667x500.jpg 667w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-01-1333x1000.jpg 1333w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-01-768x576.jpg 768w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-01-1536x1152.jpg 1536w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-01-2048x1536.jpg 2048w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-01-80x60.jpg 80w" sizes="(max-width: 750px) 100vw, 750px" /><p id="caption-attachment-111989" class="wp-caption-text">Step 1</p></div></li>
<li>Drill the hole for the motor shaft with a ½” drill bit. Use a small drill bit for the chime strings. The exact size of these holes may depend on the thickness of string you are using. (I used a 1/16” bit.)</li>
<li>Lightly sand the holes. (optional)</li>
</ul>
</li>
<li>Cut the support pieces
<ul>
<li>Cut a thin strip of wood about 3.7”x1/4”.</li>
<li>Cut 2 small 90 degree triangles (roughly ¼” and 1” sides)
<p><div id="attachment_111991" style="width: 760px" class="wp-caption alignnone"><img decoding="async" aria-describedby="caption-attachment-111991" class="size-medium wp-image-111991" src="https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-02-667x500.jpg" alt="3 pieces of balsa wood" width="750" height="562" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-02-667x500.jpg 667w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-02-1333x1000.jpg 1333w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-02-768x576.jpg 768w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-02-1536x1152.jpg 1536w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-02-2048x1536.jpg 2048w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-02-80x60.jpg 80w" sizes="(max-width: 750px) 100vw, 750px" /><p id="caption-attachment-111991" class="wp-caption-text">Step 2</p></div></li>
</ul>
</li>
<li>Assemble wooden structure
<ul>
<li>Draw a line across the center of the board</li>
<li>Glue the thin strip of wood from step 2A centered underneath the line</li>
<li>Glue the long edge of the triangular pieces to the edges of the board</li>
<li>Glue the horizontal piece that the motor will be mounted on to the support pieces.
<p><div id="attachment_111986" style="width: 760px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-111986" class="size-medium wp-image-111986" src="https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-03d-667x500.jpg" alt="Image of wooden boards glued together" width="750" height="560" /><p id="caption-attachment-111986" class="wp-caption-text">Step 3</p></div></li>
</ul>
</li>
<li>Attach the arm to the motor shaft
<ul>
<li>Cut an 8&#8243; to 12” piece of 12 gauge wire.</li>
<li>Stick the wire through the hole on the motor shaft so that roughly 3/4” is sticking out.</li>
<li>Using a pair of pliers, crimp the wire to the shaft so that it cannot move.
<p><div id="attachment_111993" style="width: 760px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-111993" class="size-medium wp-image-111993" src="https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-04-667x500.jpg" alt="Motor with wire crimp on" width="750" height="562" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-04-667x500.jpg 667w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-04-1333x1000.jpg 1333w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-04-768x576.jpg 768w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-04-1536x1152.jpg 1536w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-04-2048x1536.jpg 2048w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-04-80x60.jpg 80w" sizes="auto, (max-width: 750px) 100vw, 750px" /><p id="caption-attachment-111993" class="wp-caption-text">Step 4</p></div></li>
</ul>
</li>
<li>Cut a piece of string roughly 16” long and tie each end to the flanges on either side of the motor (note that the length of the string will need to change if the back of your structure is larger than this example).</li>
<li> Stick the arm and motor shaft through the hold on the horizontal board. Glue the edges of the motor into place. Avoid gluing the flanges where the string is tied in case you need to adjust the length of the string.
<p><div id="attachment_111998" style="width: 760px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-111998" class="size-medium wp-image-111998" src="https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-06-750x281.jpg" alt="A diptic showing a motor attached to a wood board" width="750" height="281" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-06-750x281.jpg 750w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-06-1500x563.jpg 1500w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-06-768x288.jpg 768w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-06-1536x576.jpg 1536w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-06-2048x768.jpg 2048w" sizes="auto, (max-width: 750px) 100vw, 750px" /><p id="caption-attachment-111998" class="wp-caption-text">Step 6 (Left: top view, Right: bottom view)</p></div></li>
<li>Prepare the solar panel
<ul>
<li>Hold the solar panel in place and measure out the length of your wires. (You may want to leave them a little long and cut them down as needed, because it will be difficult to attach new wires to the panel once it is glued in place.)</li>
<li>Solder one wire to the positive terminal of the panel and the other wire to the negative terminal of the panel.</li>
<li>Glue the panel to the top of the backboard with the wires sticking out the bottom.
<p><div id="attachment_112000" style="width: 760px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-112000" class="size-medium wp-image-112000" src="https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-07-750x281.jpg" alt="A diptic showing the back of a solar cell and the solar cell glued to a wooden structure" width="750" height="281" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-07-750x281.jpg 750w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-07-1500x563.jpg 1500w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-07-768x288.jpg 768w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-07-1536x576.jpg 1536w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-07-2048x768.jpg 2048w" sizes="auto, (max-width: 750px) 100vw, 750px" /><p id="caption-attachment-112000" class="wp-caption-text">Step 7</p></div></li>
</ul>
</li>
<li>Connect the positive wire from the solar panel to the positive (red) terminal on the motor. Connect the negative wire from the solar panel to the other terminal on the motor.
<p><div id="attachment_111996" style="width: 760px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-111996" class="size-medium wp-image-111996" src="https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-08-667x500.jpg" alt="Motor and solar cell attached to wooden stucture" width="750" height="562" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-08-667x500.jpg 667w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-08-1333x1000.jpg 1333w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-08-768x576.jpg 768w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-08-1536x1152.jpg 1536w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-08-2048x1536.jpg 2048w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-08-80x60.jpg 80w" sizes="auto, (max-width: 750px) 100vw, 750px" /><p id="caption-attachment-111996" class="wp-caption-text">Step 8</p></div></li>
<li>Attach chimes with length of string about 8&#8243; &#8211; 10” long.</li>
<li>Bend the 12 gauge wire slightly so that it catches the chimes as it turns. Shorten the chime strings and 12 gauge wire as needed.</li>
<li>Hang the sculpture on a screw or hook on a wall that gets sun at some point during the day.
<p><div id="attachment_112004" style="width: 760px" class="wp-caption alignnone"><img fetchpriority="high" decoding="async" aria-describedby="caption-attachment-112004" class="size-medium wp-image-112004" src="https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-final-667x500.jpg" alt="Solar chimes sculpture installed on wall." width="750" height="562" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-final-667x500.jpg 667w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-final-1333x1000.jpg 1333w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-final-768x576.jpg 768w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-final-1536x1152.jpg 1536w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-final-2048x1536.jpg 2048w, https://blog.voltaicsystems.com/wp-content/uploads/2021/03/solarchimes-final-80x60.jpg 80w" sizes="(max-width: 750px) 100vw, 750px" /><p id="caption-attachment-112004" class="wp-caption-text">Solar chimes sculpture installed on wall.</p></div></li>
</ol>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.voltaicsystems.com/build-solar-powered-chimes/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		<enclosure url="http://blog.voltaicsystems.com/wp-content/uploads/2021/03/SolarChimes-Nathanson-March26-2021.mp4" length="115008474" type="video/mp4" />

			</item>
		<item>
		<title>Reading Charge Level of Voltaic USB Battery Packs</title>
		<link>https://blog.voltaicsystems.com/reading-charge-level-of-voltaic-usb-battery-packs/</link>
					<comments>https://blog.voltaicsystems.com/reading-charge-level-of-voltaic-usb-battery-packs/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 10 Nov 2020 16:34:30 +0000</pubDate>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[V25]]></category>
		<guid isPermaLink="false">http://80ca4ebf1c.nxcli.io/?p=11266</guid>

					<description><![CDATA[Blog Overview: IntroductionParts List and Arduino WiringArduino Code and Battery Charge TestsPython Code and Datalogging Battery Voltage OutputConclusion and Continuation Introduction Voltaic has added the ability to read the voltage, and thus the charge level, of the Li-ion cells in its V25, V50 and V75 USB Battery Packs. If you are building an IoT application [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h1>Blog Overview:</h1>
<h3><u><a href="#intro">Introduction</a><br /><a href="#parts-list">Parts List and Arduino Wiring</a><br /><a href="#arduino-code">Arduino Code and Battery Charge Tests</a><br /><a href="#python-code">Python Code and Datalogging Battery Voltage Output</a><br /><a href="#conclusion">Conclusion and Continuation</a></u></h3>
<h1 id="intro">Introduction</h1>
<div>Voltaic has added the ability to read the voltage, and thus the charge level, of the Li-ion cells in its <a href="https://voltaicsystems.com/v25/">V25</a>, <a href="https://voltaicsystems.com/v50/">V50</a> and <a href="https://voltaicsystems.com/v75/">V75</a> USB Battery Packs. If you are building an IoT application using one of these Always On battery packs, you can monitor the state-of-charge (SoC) and potentially make changes to your application&#8217;s power consumption in order to keep it running 24 x 7.</div>
<div> </div>
<div>In this post, I show how you can use a microcontroller and the INA219 voltage/current sensor to read and report the cell voltage from the batteries&#8217; USB-C port. </div>
<div> </div>
<hr /><!--<h1 id="parts-list">Cell Voltage vs Capacity</h1>
If we know the battery's internal cell voltage, we can determine its capacity. There is a slightly different curve if the battery is being charged, discharged or neutral (neither charging or discharging).
-->
<h1 id="parts-list">Parts List and Arduino Wiring</h1>
<p>An Arduino Uno board is used as the main datalogger for the tutorial, which will allow for real-time measurement of voltages and currents as a function of time. The 10-bit ADC of the Arduino is used to measure the voltage outputted by the V25 battery&#8217;s USB-C D+ pin, while the INA219 reads the input voltage and current of the power supply. The INA219 is a good choice due to its low quiescent current during power down (~6μA) and minimal consumption during reading (~1mA).</p>
<div id="attachment_11351" style="width: 760px" class="wp-caption aligncenter"><a href="https://voltaicsystems.com/v25/"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11351" class="wp-image-11351 size-large" src="https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_battery_voltaic-1500x1000.jpg" alt="V25 Battery Pack" width="750" height="500" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_battery_voltaic-1500x1000.jpg 1500w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_battery_voltaic-750x500.jpg 750w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_battery_voltaic-768x512.jpg 768w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_battery_voltaic-1536x1024.jpg 1536w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_battery_voltaic-2048x1366.jpg 2048w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_battery_voltaic-300x200.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_battery_voltaic-360x240.jpg 360w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_battery_voltaic-600x400.jpg 600w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a><p id="caption-attachment-11351" class="wp-caption-text">V25 USB Battery Pack</p></div>
<p>The principal components required to follow along with the experiment are:</p>
<ul>
<li>V25 USB Battery Pack &#8211; $35 [<a href="https://voltaicsystems.com/v25/" target="_blank" rel="noopener noreferrer">Buy from Voltaic</a>]</li>
<li>Arduino Uno Board &#8211; $13.00 [<a href="https://makersportal.com/shop/arduino-uno-rev3-board-atmega16u2-usb" target="_blank" rel="noopener noreferrer">Buy from Maker Portal</a>]</li>
<li>INA219 Current/Voltage Sensor &#8211; $7.89 [<a href="https://www.amazon.com/gp/product/B01ICN5OAM/ref=as_li_qf_asin_il_tl?ie=UTF8&amp;tag=makerportal-20&amp;creative=9325&amp;linkCode=as2&amp;creativeASIN=B01ICN5OAM&amp;linkId=b893350f585e4da35d4da62d13783f8e" target="_blank" rel="noopener noreferrer">Buy from Amazon</a>]</li>
<li>USB-C Terminal Breakout &#8211; $8.99 [<a href="https://www.amazon.com/gp/product/B07QLL2K1X/ref=as_li_qf_asin_il_tl?ie=UTF8&amp;tag=makerportal-20&amp;creative=9325&amp;linkCode=as2&amp;creativeASIN=B07QLL2K1X&amp;linkId=c25a07fc8796bd64e4b8f48f6c20b7a1" target="_blank" rel="noopener noreferrer">Buy from Amazon</a>]</li>
<li>0V-30V, 5A Variable Power Supply &#8211; $69.97 [<a href="https://www.amazon.com/gp/product/B07JQXQ8S5/ref=as_li_qf_asin_il_tl?ie=UTF8&amp;tag=makerportal-20&amp;creative=9325&amp;linkCode=as2&amp;creativeASIN=B07JQXQ8S5&amp;linkId=6219b13f656b6e1e18d064a91c4b5552" target="_blank" rel="noopener noreferrer">Buy from Amazon</a>]</li>
<li>18 AWG Solid Core Wire &#8211; $14.49 [<a href="https://www.amazon.com/gp/product/B085QD9DWP/ref=as_li_qf_asin_il_tl?ie=UTF8&amp;tag=makerportal-20&amp;creative=9325&amp;linkCode=as2&amp;creativeASIN=B085QD9DWP&amp;linkId=19158e9a6f2f15754a7c3ffba69d1c16" target="_blank" rel="noopener noreferrer">Buy from Amazon</a>]</li>
<li>Mini Breadboard &#8211; $3.00 [<a href="https://makersportal.com/shop/mini-breadboard" target="_blank" rel="noopener noreferrer">Buy from Maker Portal</a>]</li>
</ul>
<p>The 18 AWG wire is a particularly important requirement for the power supply and load circuit, as many of the standard jumper wires included with Arduino kits are incapable of handling the 2A supply currents requested by the V25 battery pack. Another important caveat of the 18 AWG is that the diameter is too thick for Arduino input pins, so be sure to use 22 AWG for the Arduino components and 18 AWG for the power circuit. Any power supply should work for this particular application, under the assumption that it can supply the 5V/2A specification of the USB-C port of the battery. Keep in mind &#8211; if a lower capacity charger is used, longer charge times will result. It is also important to use the terminal portion of the INA219 voltage/current sensor, instead of the inline pins. This will again circumvent any amperage limitations on the traces of the breadboard used to wire the INA219 (if at all).</p>
<p>The wiring diagram is given below that links all components used in the tutorial:</p>
<div id="attachment_11282" style="width: 1034px" class="wp-caption aligncenter"><a href="https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_INA219_wiring_diagram.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11282" class="wp-image-11282" src="https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_INA219_wiring_diagram.jpg" alt="V25 + Arduino Wiring Diagram" width="1024" height="724" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_INA219_wiring_diagram.jpg 2500w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_INA219_wiring_diagram-707x500.jpg 707w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_INA219_wiring_diagram-1414x1000.jpg 1414w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_INA219_wiring_diagram-768x543.jpg 768w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_INA219_wiring_diagram-1536x1086.jpg 1536w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_INA219_wiring_diagram-2048x1448.jpg 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><p id="caption-attachment-11282" class="wp-caption-text">Figure 1: Wiring diagram between Arduino board, V25 battery, INA219 voltage/current sensor, and external power supply</p></div>
<p>&nbsp;</p>
<p>The relationship between a USB-C plug and the USB-C terminal can be seen in the figure below:</p>
<div id="attachment_57465" style="width: 1034px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-57465" class="wp-image-57465" src="https://blog.voltaicsystems.com/wp-content/uploads/2020/11/USB_type_C_plug_to_terminal.png" alt="USB-C Plug to USB-C Terminal" width="1024" height="688" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2020/11/USB_type_C_plug_to_terminal.png 2197w, https://blog.voltaicsystems.com/wp-content/uploads/2020/11/USB_type_C_plug_to_terminal-744x500.png 744w, https://blog.voltaicsystems.com/wp-content/uploads/2020/11/USB_type_C_plug_to_terminal-1487x1000.png 1487w, https://blog.voltaicsystems.com/wp-content/uploads/2020/11/USB_type_C_plug_to_terminal-768x516.png 768w, https://blog.voltaicsystems.com/wp-content/uploads/2020/11/USB_type_C_plug_to_terminal-1536x1033.png 1536w, https://blog.voltaicsystems.com/wp-content/uploads/2020/11/USB_type_C_plug_to_terminal-2048x1377.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><p id="caption-attachment-57465" class="wp-caption-text">Figure 2: USB-C plug in relation to USB-C terminal pin inputs.</p></div>
<p>Since the INA219 is a high-side current sensor, we see its function at the beginning of the circuit taking the input directly from the power supply. Then, the V25 battery follows next in the circuit, ultimately leading back to the power supply&#8217;s ground. Additionally, the D+ is broken out from the USB-C terminal to go directly to the Arduino board&#8217;s A0 analog pin, which is where we will measure the V25 cell voltage. We also need the Arduino to share a ground with the power supply, which is also what&#8217;s done in Figure 1. Lastly, the INA219 is wired to the Arduino Uno via the Inter-Integrated Circuit (I<sup>2</sup>C) protocol. Another important point to note is the use of the 3.3V analog reference. As stated at the introduction, the V25 battery has a scaled voltage of roughly 1/2, which means that we will see a maximum cell voltage around 4.2 &#8211; which scales by half to 2.1. Thus, we don&#8217;t need the entire 5V analog range of the Arduino, which is why we have chosen 3.3V as the reference. This will give us higher resolution on the 10-bit reading, which consequently is from 0V-3.3V. In the next section, the Arduino code used to measure voltage and current in real-time is introduced and explained.</p>
<hr />
<h1 id="arduino-code">Arduino Code and Battery Charge Tests</h1>
<p>The Arduino code given below measures voltage from the input power supply and load current from the V25 battery, while also reading the USB-C D+ voltage output on pin A0 of the Arduino board. The code was developed using the Arduino IDE version 1.8.13. </p>
<!-- HTML generated using hilite.me -->
<div style="background: #ffffff; overflow: auto; width: auto; border: solid gray; border-width: .1em .1em .1em .8em; padding: .2em .6em;">
<pre style="margin: 0; line-height: 125%;"><span style="color: #008000;">/*</span>
<span style="color: #008000;"> * Reading Voltages and Current with Arduino ADC + INA219</span>
<span style="color: #008000;"> * -------------------------------------------------------</span>
<span style="color: #008000;"> *</span>
<span style="color: #008000;"> * Maker Portal LLC Copyright 2020</span>
<span style="color: #008000;"> * Written by: Joshua Hrisko</span>
<span style="color: #008000;"> *</span>
<span style="color: #008000;"> */</span>
<span style="color: #0000ff;">#include &lt;Wire.h&gt;</span>
<span style="color: #0000ff;">#include &lt;Adafruit_INA219.h&gt;</span>

Adafruit_INA219 ina219_A(0x40); <span style="color: #008000;">// start INA219 current/voltage sensor</span>

<span style="color: #2b91af;">void</span> setup(<span style="color: #2b91af;">void</span>)
{
  analogReference(EXTERNAL); <span style="color: #008000;">// set analog reference to 3.3V</span>
  Serial.begin(115200); <span style="color: #008000;">// open serial port at 115200 bps</span>
  Serial.println(<span style="color: #a31515;">"Acquisition Start"</span>); <span style="color: #008000;">// start word for Python code</span>

  <span style="color: #008000;">// check to make sure INA219 is being read</span>
  <span style="color: #0000ff;">if</span> (! ina219_A.begin()) {
    Serial.println(<span style="color: #a31515;">"Failed to find First INA219 chip (0x40)"</span>);
    <span style="color: #0000ff;">while</span> (1) { delay(10); }
  }
  <span style="color: #008000;">// print header for logging data:</span>
  Serial.println(<span style="color: #a31515;">"Time[s],InputVoltage[V],InputCurrent[mA],D+[V]"</span>);
}

<span style="color: #2b91af;">void</span> loop(<span style="color: #2b91af;">void</span>)
{
  <span style="color: #008000;">// preallocate variables</span>
  <span style="color: #2b91af;">float</span> shuntvoltage = 0.0; <span style="color: #2b91af;">float</span> busvoltage = 0.0;
  <span style="color: #2b91af;">float</span> current_mA = 0.0; <span style="color: #2b91af;">float</span> loadvoltage = 0.0;
  <span style="color: #2b91af;">float</span> d_plus = 0.0;

  <span style="color: #008000;">// read variables from INA219 (voltages/current)</span>
  shuntvoltage = ina219_A.getShuntVoltage_mV();
  busvoltage = ina219_A.getBusVoltage_V();
  current_mA = ina219_A.getCurrent_mA(); <span style="color: #008000;">// load current</span>
  loadvoltage = busvoltage + (shuntvoltage / 1000); <span style="color: #008000;">// load voltage</span>
  d_plus = 3.3*analogRead(A0)/1023.0; <span style="color: #008000;">// reading D+ from USB-C on Arduino pin A0</span>
 
  Serial.print(millis()/1000.0); <span style="color: #008000;">// print milliseconds since code start</span>
  Serial.print(<span style="color: #a31515;">","</span>); <span style="color: #008000;">// comma-separation</span>
  Serial.print(loadvoltage); <span style="color: #008000;">// load voltage</span>
  Serial.print(<span style="color: #a31515;">","</span>);
  Serial.print(current_mA); <span style="color: #008000;">// load current</span>
  Serial.print(<span style="color: #a31515;">","</span>);
  Serial.println(d_plus); <span style="color: #008000;">// D+ scaled cell voltage</span>
  delay(1000); <span style="color: #008000;">// wait 1 second between readings</span>
}
</pre>
</div>
<p><br />The code outputs four variables: seconds since the start of the Arduino program, voltage passing through the load, current passing through the load, and scaled voltage outputted by the USB-C D+ pin. These four variables will help us determine what is happening with the system over time during charging. Below is an example output from the Arduino&#8217;s serial port upon correct wiring according to Figure 1 and uploading of the code above:</p>
<div id="attachment_11337" style="width: 871px" class="wp-caption aligncenter"><a href="https://blog.voltaicsystems.com/wp-content/uploads/2020/10/ina219_arduino_serial_port_example.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11337" class="wp-image-11337 size-full" src="https://blog.voltaicsystems.com/wp-content/uploads/2020/10/ina219_arduino_serial_port_example.png" alt="Arduino INA219 Serial Output" width="861" height="647" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2020/10/ina219_arduino_serial_port_example.png 861w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/ina219_arduino_serial_port_example-665x500.png 665w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/ina219_arduino_serial_port_example-768x577.png 768w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/ina219_arduino_serial_port_example-80x60.png 80w" sizes="auto, (max-width: 861px) 100vw, 861px" /></a><p id="caption-attachment-11337" class="wp-caption-text">Figure 3: Arduino INA219 serial output example showing the time, load voltage, load current, and USB-C scaled voltage output.</p></div>
<p>Investigation of Figure 3 tells us that we have an input voltage of roughly 5V (~5.3V in my case), a load amperage of 2A, and a scaled voltage of 2.01V. Similar values should give confidence that the user has wired the components correctly, uploaded the code properly, and is following along closely with the expectations of the experiment. In the next section, a Python code will be presented that reads the serial outputs shown above and plots them in real time. Later in the code, the outputs will be saved for analysis and post processing.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-11368 size-full" src="https://blog.voltaicsystems.com/wp-content/uploads/2020/10/Arduino_INA219_photo-e1604164636132.jpg" alt="Arduino + INA219 Photo" width="2500" height="1217" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2020/10/Arduino_INA219_photo-e1604164636132.jpg 2500w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/Arduino_INA219_photo-e1604164636132-750x365.jpg 750w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/Arduino_INA219_photo-e1604164636132-1500x730.jpg 1500w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/Arduino_INA219_photo-e1604164636132-768x374.jpg 768w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/Arduino_INA219_photo-e1604164636132-1536x748.jpg 1536w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/Arduino_INA219_photo-e1604164636132-2048x997.jpg 2048w" sizes="auto, (max-width: 2500px) 100vw, 2500px" /></p>
<hr />
<h1 id="python-code">Python Code and Datalogging Battery Voltage Output</h1>
<p>At this stage in the experiment, the user should have a constant stream of voltage and current values being outputted by the Arduino board. In this section, a Python script will be used to read the Arduino serial data and plot the values in real time. Python 3.7 is used, in conjunction with a series of libraries and protocols for reading from the Arduino serial port. The Python code for reading and plotting in real time is given below:</p>
<!-- HTML generated using hilite.me -->
<div style="background: #eeeedd; overflow: auto; width: auto; border: solid gray; border-width: .1em .1em .1em .8em; padding: .2em .6em;">
<pre style="margin: 0; line-height: 125%;"><span style="color: #228b22;">##################################################</span>
<span style="color: #228b22;"># ---- Python Serial Port Datalogger</span>
<span style="color: #228b22;"># </span>
<span style="color: #228b22;"># ---- Maker Portal LLC Copyright 2020</span>
<span style="color: #228b22;"># ---- Written by: Joshua Hrisko</span>
<span style="color: #228b22;">#</span>
<span style="color: #228b22;">##################################################</span>
<span style="color: #228b22;">#</span>
<span style="color: #228b22;"># This code reads from the serial port and saves</span>
<span style="color: #228b22;"># the data until the user presses</span>
<span style="color: #228b22;"># CTRL+C, wherein the acquisition ceases</span>
<span style="color: #228b22;">#</span>
<span style="color: #228b22;">##################################################</span>
<span style="color: #228b22;">#</span>
<span style="color: #8b008b; font-weight: bold;">import</span> <span style="color: #008b45; text-decoration: underline;">numpy</span> <span style="color: #8b008b; font-weight: bold;">as</span> <span style="color: #008b45; text-decoration: underline;">np</span>
<span style="color: #8b008b; font-weight: bold;">import</span> <span style="color: #008b45; text-decoration: underline;">matplotlib.pyplot</span> <span style="color: #8b008b; font-weight: bold;">as</span> <span style="color: #008b45; text-decoration: underline;">plt</span>
<span style="color: #8b008b; font-weight: bold;">import</span> <span style="color: #008b45; text-decoration: underline;">serial</span>,<span style="color: #008b45; text-decoration: underline;">datetime</span>,<span style="color: #008b45; text-decoration: underline;">csv</span>,<span style="color: #008b45; text-decoration: underline;">os</span>
<span style="color: #8b008b; font-weight: bold;">import</span> <span style="color: #008b45; text-decoration: underline;">serial.tools.list_ports</span> <span style="color: #8b008b; font-weight: bold;">as</span> <span style="color: #008b45; text-decoration: underline;">COMs</span>
<span style="color: #228b22;">#</span>
<span style="color: #228b22;">#</span>
<span style="color: #228b22;">############################################</span>
<span style="color: #228b22;"># Real-time plotter functions</span>
<span style="color: #228b22;">############################################</span>
<span style="color: #228b22;">#</span>
<span style="color: #8b008b; font-weight: bold;">def</span> <span style="color: #008b45;">plotter_start</span>(x_lims=[<span style="color: #b452cd;">0.0</span>,<span style="color: #b452cd;">1.0</span>],new_plot=<span style="color: #b452cd;">1</span>):
    <span style="color: #8b008b; font-weight: bold;">if</span> new_plot:
        plt.style.use(<span style="color: #cd5555;">'ggplot'</span>)
        fig = plt.figure(figsize=(<span style="color: #b452cd;">12</span>,<span style="color: #b452cd;">9</span>))
        ax = fig.add_subplot(<span style="color: #b452cd;">111</span>)
        ax2 = ax.twinx()
        ax.set_xlim(x_lims)
        ax.set_ylim([<span style="color: #b452cd;">0.0</span>,<span style="color: #b452cd;">6.0</span>])
        ax2.set_ylim([<span style="color: #b452cd;">0.0</span>,<span style="color: #b452cd;">2200.0</span>])
        ax.set_ylabel(<span style="color: #cd5555;">'Voltage [V]'</span>)
        ax2.set_ylabel(<span style="color: #cd5555;">'Current [mA]'</span>)
        ax.set_xlabel(<span style="color: #cd5555;">'Time [s]'</span>)
        lines = []
        <span style="color: #8b008b; font-weight: bold;">for</span> ii,header_ii <span style="color: #8b008b;">in</span> <span style="color: #658b00;">enumerate</span>(header[<span style="color: #b452cd;">1</span>:]):
            <span style="color: #8b008b; font-weight: bold;">if</span> ii==<span style="color: #b452cd;">1</span>:
                line_ii, = ax2.plot([],color=plt.cm.Set1(ii),linewidth=<span style="color: #b452cd;">3.0</span>,
                         label=header_ii)
            <span style="color: #8b008b; font-weight: bold;">else</span>:
                line_ii, = ax.plot([],color=plt.cm.Set1(ii),linewidth=<span style="color: #b452cd;">3.0</span>,
                         label=header_ii)
            lines.append(line_ii)
        ax.legend(loc=<span style="color: #cd5555;">'upper left'</span>)
        ax2.legend(loc=<span style="color: #cd5555;">'upper right'</span>)
        fig.canvas.draw()
        ax_background = fig.canvas.copy_from_bbox(ax.bbox)
        plt.show(block=<span style="color: #8b008b; font-weight: bold;">False</span>)
    <span style="color: #8b008b; font-weight: bold;">else</span>:
        fig = plt.gcf()
        <span style="color: #8b008b; font-weight: bold;">for</span> ii <span style="color: #8b008b;">in</span> fig.get_axes():
            ii.cla()
        fig.clf()
        ax = fig.add_subplot(<span style="color: #b452cd;">111</span>)
        ax2 = ax.twinx()
        ax.set_xlim(x_lims)
        ax.set_ylim([<span style="color: #b452cd;">0.0</span>,<span style="color: #b452cd;">6.0</span>])
        ax2.set_ylim([<span style="color: #b452cd;">0.0</span>,<span style="color: #b452cd;">2200.0</span>])
        ax.set_ylabel(<span style="color: #cd5555;">'Voltage [V]'</span>)
        ax2.set_ylabel(<span style="color: #cd5555;">'Current [mA]'</span>)
        ax.set_xlabel(<span style="color: #cd5555;">'Time [s]'</span>)
        lines = []
        <span style="color: #8b008b; font-weight: bold;">for</span> ii,header_ii <span style="color: #8b008b;">in</span> <span style="color: #658b00;">enumerate</span>(header[<span style="color: #b452cd;">1</span>:]):
            <span style="color: #8b008b; font-weight: bold;">if</span> ii==<span style="color: #b452cd;">1</span>:
                line_ii, = ax2.plot([],color=plt.cm.Set1(ii),linewidth=<span style="color: #b452cd;">3.0</span>,
                         label=header_ii)
            <span style="color: #8b008b; font-weight: bold;">else</span>:
                line_ii, = ax.plot([],color=plt.cm.Set1(ii),linewidth=<span style="color: #b452cd;">3.0</span>,
                         label=header_ii)
            lines.append(line_ii)
        ax.legend(loc=<span style="color: #cd5555;">'upper left'</span>)
        ax2.legend(loc=<span style="color: #cd5555;">'upper right'</span>)
        fig.canvas.draw()
        ax_background = fig.canvas.copy_from_bbox(ax.bbox)
        
    <span style="color: #8b008b; font-weight: bold;">return</span> fig,ax,ax2,lines,ax_background

<span style="color: #8b008b; font-weight: bold;">def</span> <span style="color: #008b45;">plotter_update</span>(xs,y_vec):
    y_vec = np.transpose(y_vec)
    <span style="color: #8b008b; font-weight: bold;">for</span> iter_ii <span style="color: #8b008b;">in</span> <span style="color: #658b00;">range</span>(<span style="color: #b452cd;">0</span>,<span style="color: #658b00;">len</span>(lines)):
        <span style="color: #8b008b; font-weight: bold;">if</span> iter_ii==<span style="color: #b452cd;">1</span>:
            lines[iter_ii].set_data(xs,y_vec[iter_ii])
            ax2.draw_artist(lines[iter_ii])
        <span style="color: #8b008b; font-weight: bold;">else</span>:
            lines[iter_ii].set_data(xs,y_vec[iter_ii])
            ax.draw_artist(lines[iter_ii])
    fig.canvas.restore_region(ax_background)
    fig.canvas.blit(ax.bbox)
    fig.canvas.draw()
    <span style="color: #8b008b; font-weight: bold;">return</span>
<span style="color: #228b22;">#</span>
<span style="color: #228b22;">############################################</span>
<span style="color: #228b22;"># Find Arudino ports, select one,</span>
<span style="color: #228b22;"># start communication with it</span>
<span style="color: #228b22;">############################################</span>
<span style="color: #228b22;">#</span>
arduino_ports = [ii.device <span style="color: #8b008b; font-weight: bold;">for</span> ii <span style="color: #8b008b;">in</span> COMs.comports() <span style="color: #8b008b; font-weight: bold;">if</span>\
                 <span style="color: #658b00;">len</span>((ii.device).split(<span style="color: #cd5555;">'ttyACM'</span>))&gt;<span style="color: #b452cd;">1</span> <span style="color: #8b008b;">or</span>\
                 <span style="color: #658b00;">len</span>((ii.device.split(<span style="color: #cd5555;">'ttyUSB'</span>)))&gt;<span style="color: #b452cd;">1</span>]
ser = serial.Serial(arduino_ports[<span style="color: #b452cd;">0</span>],baudrate=<span style="color: #b452cd;">115200</span>) <span style="color: #228b22;"># match baud on Arduino</span>
ser.flush() <span style="color: #228b22;"># clear the port</span>
<span style="color: #228b22;">#</span>
<span style="color: #228b22;">############################################</span>
<span style="color: #228b22;"># Grabbing real-time data from Arduino</span>
<span style="color: #228b22;">############################################</span>
<span style="color: #228b22;">#</span>
t_now = datetime.datetime.strftime(datetime.datetime.now(),
                                   <span style="color: #cd5555;">'%Y_%m_%d_%H_%M_%S'</span>)
datafile = <span style="color: #cd5555;">'arduino_data_'</span>+<span style="color: #cd5555;">'{0}'</span>.format(t_now)+<span style="color: #cd5555;">'.csv'</span> <span style="color: #228b22;"># date </span>
t_vec = [] <span style="color: #228b22;"># allocate time vector</span>
data_array,data_plot = [],[] <span style="color: #228b22;"># for saving all values</span>
start_bool = <span style="color: #8b008b; font-weight: bold;">False</span>
plot_refresh_dt = <span style="color: #b452cd;">60</span> <span style="color: #228b22;"># every # of seconds between axes limit updates</span>
plot_update_pts = <span style="color: #b452cd;">10</span> <span style="color: #228b22;"># number of pts to read before plotting</span>
<span style="color: #228b22;">#</span>
<span style="color: #8b008b; font-weight: bold;">while</span> <span style="color: #8b008b; font-weight: bold;">True</span>:
    <span style="color: #8b008b; font-weight: bold;">try</span>:
        ser_bytes = ser.readline() <span style="color: #228b22;"># read Arduino serial data</span>
        decoded_bytes = ser_bytes.decode(<span style="color: #cd5555;">'utf-8'</span>) <span style="color: #228b22;"># decode data to utf-8</span>
        data = (decoded_bytes.replace(<span style="color: #cd5555;">'\r'</span>,<span style="color: #cd5555;">''</span>)).replace(<span style="color: #cd5555;">'\n'</span>,<span style="color: #cd5555;">''</span>)
        <span style="color: #8b008b; font-weight: bold;">if</span> start_bool==<span style="color: #8b008b; font-weight: bold;">False</span> <span style="color: #8b008b;">and</span> data==<span style="color: #cd5555;">'Acquisition Start'</span>:
            <span style="color: #228b22;"># read the first line after acquisition start as header</span>
            header = (((ser.readline()).decode(<span style="color: #cd5555;">'utf-8'</span>).replace(<span style="color: #cd5555;">'\r'</span>,<span style="color: #cd5555;">''</span>)).\
                     replace(<span style="color: #cd5555;">'\n'</span>,<span style="color: #cd5555;">''</span>)).split(<span style="color: #cd5555;">','</span>)
            <span style="color: #228b22;"># create csv file for saving the data each loop</span>
            <span style="color: #8b008b; font-weight: bold;">with</span> <span style="color: #658b00;">open</span>(datafile,<span style="color: #cd5555;">'w'</span>) <span style="color: #8b008b; font-weight: bold;">as</span> csvfile:
                csv_writer = csv.writer(csvfile,delimiter=<span style="color: #cd5555;">','</span>)
                csv_writer.writerow([header])
            fig,ax,ax2,lines,ax_background = plotter_start(x_lims=[<span style="color: #b452cd;">0.0</span>,
                                plot_refresh_dt],new_plot=<span style="color: #b452cd;">1</span>) <span style="color: #228b22;"># start plot</span>
            start_bool = <span style="color: #8b008b; font-weight: bold;">True</span>
            <span style="color: #658b00;">print</span>(<span style="color: #cd5555;">'Data Acquisition Starting...'</span>)
            ser.flush()
            <span style="color: #8b008b; font-weight: bold;">continue</span>
        <span style="color: #8b008b; font-weight: bold;">if</span> start_bool:
            <span style="color: #8b008b; font-weight: bold;">try</span>:
                <span style="color: #8b008b; font-weight: bold;">if</span> <span style="color: #658b00;">len</span>([<span style="color: #658b00;">float</span>(ii) <span style="color: #8b008b; font-weight: bold;">for</span> ii <span style="color: #8b008b;">in</span> data.split(<span style="color: #cd5555;">','</span>)[<span style="color: #b452cd;">1</span>:]])!=<span style="color: #b452cd;">3</span>:
                    <span style="color: #8b008b; font-weight: bold;">continue</span>
                t_vec.append(<span style="color: #658b00;">float</span>(data.split(<span style="color: #cd5555;">','</span>)[<span style="color: #b452cd;">0</span>]))
                data_plot.append([<span style="color: #658b00;">float</span>(ii) <span style="color: #8b008b; font-weight: bold;">for</span> ii <span style="color: #8b008b;">in</span> data.split(<span style="color: #cd5555;">','</span>)[<span style="color: #b452cd;">1</span>:]])
                data_array.append([<span style="color: #658b00;">float</span>(ii) <span style="color: #8b008b; font-weight: bold;">for</span> ii <span style="color: #8b008b;">in</span> data.split(<span style="color: #cd5555;">','</span>)])
            <span style="color: #8b008b; font-weight: bold;">except</span>:
                <span style="color: #8b008b; font-weight: bold;">continue</span> <span style="color: #228b22;"># if data format issue - skip</span>
            <span style="color: #8b008b; font-weight: bold;">if</span> <span style="color: #658b00;">len</span>(t_vec)%plot_update_pts==<span style="color: #b452cd;">0</span>:
                plotter_update(t_vec,data_plot) <span style="color: #228b22;"># update data on plot</span>

            <span style="color: #228b22;"># set new limits on plot to create scrolling effect</span>
            <span style="color: #8b008b; font-weight: bold;">if</span> ax.get_xlim()[<span style="color: #b452cd;">1</span>]&lt;t_vec[-<span style="color: #b452cd;">1</span>]:
                new_xlims = [<span style="color: #b452cd;">0.0</span>,plot_refresh_dt+t_vec[-<span style="color: #b452cd;">1</span>]]
                fig,ax,ax2,lines,ax_background = plotter_start(new_xlims,<span style="color: #b452cd;">0</span>)
                plotter_update(t_vec,data_plot) <span style="color: #228b22;"># update data on plot</span>
            <span style="color: #228b22;"># save data to the existing csv file</span>
            <span style="color: #8b008b; font-weight: bold;">with</span> <span style="color: #658b00;">open</span>(datafile,<span style="color: #cd5555;">'a'</span>,newline=<span style="color: #cd5555;">''</span>,encoding=<span style="color: #cd5555;">'utf-8'</span>) <span style="color: #8b008b; font-weight: bold;">as</span> csvfile:
                csv_writer = csv.writer(csvfile,delimiter=<span style="color: #cd5555;">','</span>)
                csv_writer.writerow(data_array[-<span style="color: #b452cd;">1</span>])
    <span style="color: #8b008b; font-weight: bold;">except</span> <span style="color: #008b45; font-weight: bold;">KeyboardInterrupt</span>:
        ser.close() <span style="color: #228b22;"># close the serial port </span>
        <span style="color: #658b00;">print</span>(<span style="color: #cd5555;">'Exiting Loop'</span>)
        <span style="color: #8b008b; font-weight: bold;">break</span> <span style="color: #228b22;"># finally, exit loop after save</span>
</pre>
</div>
<p>&nbsp;</p>
<p>If we first ensure that the battery is fully discharged (this can be done rapidly by using a high current-draw source), we can observe the battery&#8217;s behavior as it goes from fully discharged to fully charged. We expect to see several stages of the charge curve: a startup stage involving a rapid change in cell voltage, a constant current stage where the current is steady and the cell voltage is slowly changing, and finally a constant voltage stage where the cell voltage reaches an asymptote and the current decreases [read more about charge curves <a href="https://www.sciencedirect.com/science/article/pii/S0306261908003061" target="_blank" rel="noopener noreferrer">here</a>]. Typically, the maximum cell voltage is set to 4.2V, which is what we use as the predictor for the maximum voltage in the case of the V25 battery. </p>
<p>The experimental procedure for logging battery voltage is quite simple:</p>
<ol>
<li>Ensure the Arduino, INA219, and V25 Battery Pack are wired correctly</li>
<li>Start the Python data acquisition script</li>
<li>Set the input voltage to 5V (±5% for DC wall plug supplies)</li>
<li>Set the input current to 2A (or ensure the wall plug can maintain this)</li>
<li>Wait for the current to reach approximately 0mA on the Python plot</li>
<li>Look for the file stored locally with the voltage/current experiment data</li>
</ol>
<p>Another Python script is included below for data analysis and visualization purposes:</p>
<!-- HTML generated using hilite.me -->
<div style="background: #eeeedd; overflow: auto; width: auto; border: solid gray; border-width: .1em .1em .1em .8em; padding: .2em .6em;">
<pre style="margin: 0; line-height: 125%;"><span style="color: #228b22;">##################################################</span>
<span style="color: #228b22;"># ---- Python Data Plotter (for: Arduino+INA219)</span>
<span style="color: #228b22;"># </span>
<span style="color: #228b22;"># ---- Maker Portal LLC Copyright 2020</span>
<span style="color: #228b22;"># ---- Written by: Joshua Hrisko</span>
<span style="color: #228b22;">#</span>
<span style="color: #228b22;">##################################################</span>
<span style="color: #228b22;">#</span>
<span style="color: #228b22;"># This code reads from locally saved .csv files</span>
<span style="color: #228b22;"># that have Arduino + INA219 values saved by</span>
<span style="color: #228b22;"># the Python script: INA219_pylogger.py</span>
<span style="color: #228b22;">#</span>
<span style="color: #228b22;">##################################################</span>
<span style="color: #228b22;">#</span>
<span style="color: #8b008b; font-weight: bold;">import</span> <span style="color: #008b45; text-decoration: underline;">numpy</span> <span style="color: #8b008b; font-weight: bold;">as</span> <span style="color: #008b45; text-decoration: underline;">np</span>
<span style="color: #8b008b; font-weight: bold;">import</span> <span style="color: #008b45; text-decoration: underline;">matplotlib.pyplot</span> <span style="color: #8b008b; font-weight: bold;">as</span> <span style="color: #008b45; text-decoration: underline;">plt</span>
<span style="color: #8b008b; font-weight: bold;">import</span> <span style="color: #008b45; text-decoration: underline;">csv</span>,<span style="color: #008b45; text-decoration: underline;">datetime</span>
<span style="color: #228b22;">#</span>
<span style="color: #228b22;">################################################</span>
<span style="color: #228b22;"># Data File Reader</span>
<span style="color: #228b22;">################################################</span>
<span style="color: #228b22;">#</span>
<span style="color: #228b22;">#</span>
csv_filename =<span style="color: #cd5555;">'./arduino_data_2020_10_31_13_52_15.csv'</span>
data = [] <span style="color: #228b22;"># data vector for storing values</span>
<span style="color: #8b008b; font-weight: bold;">with</span> <span style="color: #658b00;">open</span>(csv_filename,<span style="color: #cd5555;">'r'</span>) <span style="color: #8b008b; font-weight: bold;">as</span> csvfile:
    reader = csv.reader(csvfile,delimiter=<span style="color: #cd5555;">','</span>)
    header = <span style="color: #658b00;">next</span>(reader)[<span style="color: #b452cd;">0</span>].split(<span style="color: #cd5555;">','</span>) <span style="color: #228b22;"># header info</span>
    <span style="color: #8b008b; font-weight: bold;">for</span> row <span style="color: #8b008b;">in</span> reader:
        data.append([<span style="color: #658b00;">float</span>(ii) <span style="color: #8b008b; font-weight: bold;">for</span> ii <span style="color: #8b008b;">in</span> row]) <span style="color: #228b22;"># append data into array</span>

data = np.array(data) <span style="color: #228b22;"># put into numpy array</span>
<span style="color: #228b22;"># scale voltage based on 4.2V peak:</span>
data[:,<span style="color: #b452cd;">3</span>] = (<span style="color: #b452cd;">4.2</span>/np.nanmax(data[:,<span style="color: #b452cd;">3</span>]))*data[:,<span style="color: #b452cd;">3</span>] 

start_indx = <span style="color: #b452cd;">0</span> <span style="color: #228b22;"># start index</span>
end_hour = <span style="color: #b452cd;">6</span> <span style="color: #228b22;"># hour when charging stops</span>
end_indx = <span style="color: #658b00;">int</span>(end_hour*(<span style="color: #b452cd;">3600.0</span>)) <span style="color: #228b22;"># end index </span>
data = data[start_indx:end_indx,:] <span style="color: #228b22;"># clip data</span>
<span style="color: #228b22;">#</span>
<span style="color: #228b22;">################################################</span>
<span style="color: #228b22;"># Plot Routine </span>
<span style="color: #228b22;">################################################</span>
<span style="color: #228b22;">#</span>
plt.style.use(<span style="color: #cd5555;">'ggplot'</span>) <span style="color: #228b22;"># visual formatting</span>
fig = plt.figure(figsize=(<span style="color: #b452cd;">14</span>,<span style="color: #b452cd;">9</span>)) <span style="color: #228b22;"># open figure</span>
ax = fig.add_subplot(<span style="color: #b452cd;">111</span>) <span style="color: #228b22;"># add subplot</span>

t_vec = data[:,<span style="color: #b452cd;">0</span>] <span style="color: #228b22;"># time vector </span>
t_diffs = np.append(<span style="color: #b452cd;">0.0</span>,np.diff(t_vec)) <span style="color: #228b22;"># finding spikes</span>
t_vec/=(<span style="color: #b452cd;">3600.0</span>)
lines,lines_leg = [],[]
<span style="color: #8b008b; font-weight: bold;">for</span> ii <span style="color: #8b008b;">in</span> <span style="color: #658b00;">range</span>(<span style="color: #b452cd;">1</span>,np.shape(data)[<span style="color: #b452cd;">1</span>]):
    plot_data = data[:,ii] <span style="color: #228b22;"># variable (currrent, voltage, etc.)</span>
    y_diffs = np.abs(np.append(<span style="color: #b452cd;">0.0</span>,np.diff(plot_data))) <span style="color: #228b22;"># de-spike</span>
    <span style="color: #8b008b; font-weight: bold;">if</span> ii==<span style="color: #b452cd;">2</span>: <span style="color: #228b22;"># place current to other side of x-axis</span>
        current_label_color = plt.cm.Set1(<span style="color: #b452cd;">0</span>)
        ax2 = ax.twinx() <span style="color: #228b22;"># move current to other side of axis</span>
        ax2.plot(t_vec,plot_data,label=header[ii],
                 color=current_label_color,linewidth=<span style="color: #b452cd;">3.5</span>) <span style="color: #228b22;"># current plot</span>
        ax2.set_ylabel(<span style="color: #cd5555;">'Current [mA]'</span>,fontsize=<span style="color: #b452cd;">16</span>,color=current_label_color)
        ax2.tick_params(axis=<span style="color: #cd5555;">'y'</span>,colors=current_label_color)
        ax2.spines[<span style="color: #cd5555;">'right'</span>].set_color(current_label_color)
        ax2.grid(<span style="color: #8b008b; font-weight: bold;">False</span>)
    <span style="color: #8b008b; font-weight: bold;">else</span>:
        current_label_color=plt.cm.Set1(ii)
        ax.plot(t_vec,plot_data,label=header[ii],
                color=current_label_color,linewidth=<span style="color: #b452cd;">3.5</span>) <span style="color: #228b22;"># voltages</span>
    lines.append(plt.Line2D([<span style="color: #b452cd;">0</span>],[<span style="color: #b452cd;">0</span>],color=current_label_color,
                                                label=header[ii]))
ax.legend(handles=lines,bbox_to_anchor=(<span style="color: #b452cd;">0.7</span>,<span style="color: #b452cd;">0.5</span>,<span style="color: #b452cd;">0.25</span>,<span style="color: #b452cd;">0.25</span>),
          fontsize=<span style="color: #b452cd;">14</span>) <span style="color: #228b22;"># plot legends </span>
ax.set_ylim([<span style="color: #b452cd;">2.5</span>,<span style="color: #b452cd;">6.0</span>]) <span style="color: #228b22;"># set voltage axis bounds</span>
ax2.set_ylim([<span style="color: #b452cd;">0.0</span>,<span style="color: #b452cd;">2200.0</span>]) <span style="color: #228b22;"># set current axis bounds</span>
ax.set_xlabel(<span style="color: #cd5555;">'Time [hours]'</span>,fontsize=<span style="color: #b452cd;">16</span>)
ax.set_ylabel(<span style="color: #cd5555;">'Voltage [V]'</span>,fontsize=<span style="color: #b452cd;">16</span>)
fig.savefig(<span style="color: #cd5555;">'V25_charge_cycle_readouts.png'</span>,dpi=<span style="color: #b452cd;">300</span>,bbox_inches=<span style="color: #cd5555;">'tight'</span>)
plt.show()
</pre>
</div>
<p>&nbsp;</p>
<p>The script above will create a visualization of the charge curve for the V25 battery. We should see several of the stages expected: startup, constant-current (CC), constant-voltage (CV). If these are not visible on your curve after several hours &#8211; there is likely either a wiring issue, Arduino code issue, or Python code issue. Look for errors in wiring if the current are very low or voltages are very low. It is also possible that the charger being used is insufficient. It is best to use a supply to get accurate and steady input. </p>
<div id="attachment_11385" style="width: 3717px" class="wp-caption alignleft"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-11385" class="size-full wp-image-11385" src="https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_charge_cycle_readouts_annotated.png" alt="" width="3707" height="2304" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_charge_cycle_readouts_annotated.png 3707w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_charge_cycle_readouts_annotated-750x466.png 750w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_charge_cycle_readouts_annotated-1500x932.png 1500w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_charge_cycle_readouts_annotated-768x477.png 768w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_charge_cycle_readouts_annotated-1536x955.png 1536w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_charge_cycle_readouts_annotated-2048x1273.png 2048w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_charge_cycle_readouts_annotated-400x250.png 400w" sizes="auto, (max-width: 3707px) 100vw, 3707px" /><p id="caption-attachment-11385" class="wp-caption-text">Figure 4: V25 charge cycle results showing the different stages of charge. The cell voltage (purple) has been approximated using a scale factor of 1.84.</p></div>
<p>The results from our charging experiment are shown above in Figure 4 , where we see five stages of charging. We see the startup stage where the D+ voltage output ramps up, then we see stage two with the long constant-current (CC) spanning just over one hour; finally, we see a crossover stage where the current begins dropping off. The LEDs on the V25 battery stop blinking somewhere in the middle of the third stage, as expected. Then, we see a sharper current dropoff decreasing further, while the voltage starts to decrease as well. Finally, a switched-off stage appears where the current is approximately 0mA and we see steady cell and input voltages. This process takes roughly 3.3 hours, whereas, the technical time to a state-of-charge (SoC) of 100% takes approximately 2.5 hours.</p>
<hr />
<h1 id="conclusion">Conclusion and Continuation</h1>
<p>In this tutorial, we showed how to read the voltage of the cells in a <a href="https://voltaicsystems.com/v25/" target="_blank" rel="noopener noreferrer">V25 USB Battery Pack</a> with an Arduino board. The Arduino was wired to the V25 battery, an external power supply, and an INA219 current/voltage sensor. An Arduino code was then introduced as a way of monitoring the input voltage, load current, and cell voltage. A datalogging routine in Python acquired data from the Arduino board that represented each input and plotted the results in real time.</p>
<p>In the next post, we will show you how to use the cell voltage to monitor charge level and change behavior of your application. For example, when the battery starts to become low, you can put your device into a sleep mode or transmit data less frequently.</p>
<!--Several phenomena were observed during the data analysis stage: first, after some time (~1.2 hours) the input current started to decline, indicating the beginning of charge saturation where the constant-current (CC) section of the charging had finished. The second observation is that the voltage outputted by the D+ pin of the USB-C charge input plateaued around the time the saturation phase ended, which is the correlation with the 4.2V safe operation point of the cell voltage. This indicated the start of the constant voltage (CV) section of the charge curve, which was likely cutoff by the V25 battery. The LED indicators on the V25 battery pack also corresponded with these stages in charging. We were also able to identify the approximate charge time of the V25 battery and compare it with the cited values. The <a href="https://voltaicsystems.com/v25/">V25 battery</a> cites a capacity of roughly 23 Watt-hours, which, when divided by the approximate 5V supply voltage and 2A supply current, should result in a charge time of approximately 2.3 hours. We know this is not entirely possible as the current begins to decrease at the beginning of saturation, thus, resulting in a lengthening of the total charge time. Our tests indicate that the total charge time was approximately 3.3 hours, which is near the value cited on the specifications for the V25 battery. This tutorial was meant as an exploration of the Li-ion cell voltage on the <a href="https://voltaicsystems.com/v25/">V25 battery pack</a> using Arduino, and will likely be the first in a series of maker-based projects centered around battery charging, investigations of solar power, and open-source technologies in green energy.-->
<p>&nbsp;</p>
<p><a href="https://voltaicsystems.com/v25/"><img loading="lazy" decoding="async" class="alignleft wp-image-11370 size-full" src="https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_battery_handheld-e1604164678451.jpg" alt="V25 Battery Pack" width="1993" height="1643" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_battery_handheld-e1604164678451.jpg 1993w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_battery_handheld-e1604164678451-607x500.jpg 607w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_battery_handheld-e1604164678451-1213x1000.jpg 1213w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_battery_handheld-e1604164678451-768x633.jpg 768w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_battery_handheld-e1604164678451-1536x1266.jpg 1536w, https://blog.voltaicsystems.com/wp-content/uploads/2020/10/V25_battery_handheld-e1604164678451-282x232.jpg 282w" sizes="auto, (max-width: 1993px) 100vw, 1993px" /></a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.voltaicsystems.com/reading-charge-level-of-voltaic-usb-battery-packs/feed/</wfw:commentRss>
			<slash:comments>11</slash:comments>
		
		
			</item>
		<item>
		<title>Solar Bicycle Tracker Using Adafruit FONA</title>
		<link>https://blog.voltaicsystems.com/solar-bicycle-tracker-using-adafruit-fona/</link>
					<comments>https://blog.voltaicsystems.com/solar-bicycle-tracker-using-adafruit-fona/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 26 May 2017 16:00:38 +0000</pubDate>
				<category><![CDATA[All]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[IoT Tutorial]]></category>
		<category><![CDATA[3.5W]]></category>
		<category><![CDATA[asset tracker]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[diy-highlight]]></category>
		<category><![CDATA[FONA 808]]></category>
		<category><![CDATA[gps tracker]]></category>
		<category><![CDATA[mount-bracket]]></category>
		<category><![CDATA[V15-SET]]></category>
		<guid isPermaLink="false">http://80ca4ebf1c.nxcli.io/?p=8999</guid>

					<description><![CDATA[In this post, we show you how to build a solar-powered asset tracker for your bicycle or other important equipment using Adafruit FONA 808 and Freeboard. We will show you how to 3D print a custom case, wire the system, modify the software and create a web dashboard. If you aren&#8217;t so DIY inclined, there [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>In this post, we show you how to build a solar-powered asset tracker for your bicycle or other important equipment using Adafruit FONA 808 and Freeboard. We will show you how to 3D print a custom case, wire the system, modify the software and create a web dashboard. If you aren&#8217;t so DIY inclined, there are a number of consumer tracking products like the Sherlock Bicycle Tracker coming onto the market and commercial telematics products from CalAmp and Orbcomm.</p>
<p><strong>Bug Labs has ended their free plans of freeboard so we are no longer reporting data for this tracker as of April, 2018.</strong> You can use the same code and update to other IoT dashboards.</p>
<p>Since this system is intended to operate remotely, we focused on reducing power consumption so that the tracker can run from a <a href="https://www.voltaicsystems.com/solar-panels">small solar panel</a> and battery pack.</p>
<h2>Getting Started:</h2>
<p>The tracking device will locate itself with the GPS/GSM signal and upload the location to the server using the GSM signal. We acquire and transmit the GPS/GSM location every 30 minutes and then put the device in deep sleep mode.</p>
<p>We are powering the device with a 1200 mAh, 3.7V LiPo battery recommended by Adafruit and we keep that charged using Voltaic <a href="https://www.voltaicsystems.com/v15">V15 &#8220;Always On&#8221; battery pack</a> and a <a href="https://www.voltaicsystems.com/3-5-watt-panel">3.5W solar panel</a>.</p>
<h2>Parts List</h2>
<p>Required:</p>
<ol>
<li>Adafruit FONA 808 Shield (<a href="https://www.adafruit.com/product/2636">https://www.adafruit.com/product/2636</a>) and accessories: SIM Card (<a href="https://www.adafruit.com/product/2505">https://www.adafruit.com/product/2505</a>), Lipoly Battery (<a href="https://www.adafruit.com/product/258">https://www.adafruit.com/product/258</a>), External GSM Antenna (<a href="https://www.adafruit.com/product/1991">https://www.adafruit.com/product/1991</a>), and External Passive GPS Antenna(<a href="https://www.adafruit.com/product/2461">https://www.adafruit.com/product/2461</a>).</li>
<li>Arduino Pro Mini 5V (<a href="https://www.adafruit.com/product/2378">https://www.adafruit.com/product/2378</a>) and accessory: USB to TTL cable(<a href="http://a.co/i8mCIDd">http://a.co/i8mCIDd</a>).</li>
<li>Adafruit Micro Lipo Charger(<a href="https://www.adafruit.com/product/1904">https://www.adafruit.com/product/1904</a>)</li>
</ol>
<p>Optional:</p>
<ol>
<li>XActo knife (http://a.co/ezihBvr).</li>
<li>Arduino Uno (<a href="https://www.adafruit.com/product/50">https://www.adafruit.com/product/50</a>).</li>
<li>Jumper Wires(<a href="https://www.adafruit.com/product/758">https://www.adafruit.com/product/758</a>)</li>
<li>Voltaic V15</li>
<li>Voltaic 3.5 Watt, 6 Volt Solar Panel</li>
<li><a href="https://www.voltaicsystems.com/f3511-microusb">F3511-MicroUSB Connector</a></li>
<li>PG 13.5 Waterproof Gland</li>
</ol>
<h2>Enclosure &amp; CAD Model:</h2>
<p>To make sure all the components were secure, we customized and 3D printed this case.</p>
<p>You can access the design on the Sketchfab link at https://skfb.ly/6qSZq or <a href="https://github.com/VoltaicEngineering/Solar-Bicycle-Tracker">Github</a> and download the STL files. By zooming in the case, you can visualize the Voltaic V15 battery pack on the top and the Arduino, GPS/GSM board, charger, and LiPo battery on the lower half.</p>
<p>Here is detail of the posts in the case designed to hold each component including the battery.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-9012" src="https://blog.voltaicsystems.com/wp-content/uploads/2017/05/File_002-1024x768.jpeg" alt="case-components-secure" width="750" height="563" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2017/05/File_002-1024x768.jpeg 1024w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/File_002-300x225.jpeg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/File_002-768x576.jpeg 768w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/File_002-80x60.jpeg 80w" sizes="auto, (max-width: 750px) 100vw, 750px" /></p>
<p>A hole in the case accomodates a PG13.5 gland. This allows us to make a waterproof connection from the solar panel to the Voltaic battery inside the case.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-9013" src="https://blog.voltaicsystems.com/wp-content/uploads/2017/05/File_004-1024x768.jpeg" alt="waterproof gland from case" width="750" height="563" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2017/05/File_004-1024x768.jpeg 1024w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/File_004-300x225.jpeg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/File_004-768x576.jpeg 768w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/File_004-80x60.jpeg 80w" sizes="auto, (max-width: 750px) 100vw, 750px" /></p>
<h2>Hardware:</h2>
<p>Start by cutting the thin metal trace between the two larger pads of the GND pin on the FONA board. Make sure to scrape it away using an XActo knife or any other sharp metal tool. By doing this, you will be able to wake/sleep the FONA board.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-9007" src="https://blog.voltaicsystems.com/wp-content/uploads/2017/05/gnd-cut.png" alt="remove ground for sleep" width="256" height="257" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2017/05/gnd-cut.png 256w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/gnd-cut-150x150.png 150w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/gnd-cut-125x125.png 125w" sizes="auto, (max-width: 256px) 100vw, 256px" /></p>
<p>Next, refer to the Fritzing diagram below and make the proper electronic connections.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-9009" src="https://blog.voltaicsystems.com/wp-content/uploads/2017/05/wiring-fona-battery.png" alt="wiring diagram fona gps" width="948" height="878" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2017/05/wiring-fona-battery.png 948w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/wiring-fona-battery-300x278.png 300w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/wiring-fona-battery-768x711.png 768w" sizes="auto, (max-width: 948px) 100vw, 948px" /></p>
<p>This is what the components will look like inside the case.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-9014" src="https://blog.voltaicsystems.com/wp-content/uploads/2017/05/File_005-1024x768.jpeg" alt="DIY asset tracker components" width="750" height="563" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2017/05/File_005-1024x768.jpeg 1024w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/File_005-300x225.jpeg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/File_005-768x576.jpeg 768w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/File_005-80x60.jpeg 80w" sizes="auto, (max-width: 750px) 100vw, 750px" /></p>
<p>The completed case with components looks like this.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-9015" src="https://blog.voltaicsystems.com/wp-content/uploads/2017/05/File_006-1024x768.jpeg" alt="case for asset tracker" width="750" height="563" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2017/05/File_006-1024x768.jpeg 1024w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/File_006-300x225.jpeg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/File_006-768x576.jpeg 768w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/File_006-80x60.jpeg 80w" sizes="auto, (max-width: 750px) 100vw, 750px" /></p>
<p>Notice that the LiPo battery is the primary power source for the FONA and Arduino board. The V15 battery keeps that topped up. Also, make sure to manually switch the button on the FONA board from charge to power mode. Lastly, properly install the SIM card (we used Ting from the Adafruit site) as well as both the GSM and GPS antennas.</p>
<h2>Software:</h2>
<p>For the coding part, we should acquire a location every 30 minutes (timeout 1minute), upload the data to the server, and put Arduino in deep sleep between transmission. Failure might occur while acquiring or uploading a location to the server thus we should always monitor the process by providing an override software reset in every step of the code. Preventing a failure using the out of the shelf Arduino Pro Mini is not possible therefore we need to bootload the Arduino with a different software “Optiboot”. Follow the first 4 steps to flash Optiboot and then Upload the Code to your Arduino.</p>
<p>Step 1: Upload the ArduinoISP code located under Examples to the Arduino Uno.</p>
<p>Step 2: Install Optiboot by following the instructions at this GitHub Link: <a href="https://github.com/Optiboot/optiboot">https://github.com/Optiboot/optiboot</a> under “To install the Arduino software”.</p>
<p>Step 3: Connect your Arduino Pro Mini to an Arduino Uno acting as an ISP programmer by referring to the Fritzing diagram below.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-9008" src="https://blog.voltaicsystems.com/wp-content/uploads/2017/05/optiboot.png" alt="arduino optiboot" width="795" height="897" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2017/05/optiboot.png 795w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/optiboot-266x300.png 266w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/optiboot-768x867.png 768w" sizes="auto, (max-width: 795px) 100vw, 795px" /></p>
<p>Step 4: Under tools select “Optiboot on 32-pin cpus”, “ATmega328”, “16MHz”, “Arduino as ISP” and flash the bootloader by selecting “Burn Bootloader”.</p>
<p>Step 5: Disconnect the Arduino Pro Mini from the Arduino Pro Uno.</p>
<p>Step 6: Connect your Arduino Pro Mini to the PC via the USB to TTL Cable.</p>
<p>Step 7: Access the Arduino code from GitHub at <a href="https://github.com/VoltaicEngineering/Solar-Bicycle-Tracker">https://github.com/VoltaicEngineering/Solar-Bicycle-Tracker</a> and modify the code by customizing “yourthing” variable.</p>
<p>Step 8: Upload the modified code to your Arduino Pro Mini.</p>
<p><strong>System Power Consumption:</strong></p>
<p>The Arduino Pro Mini is consuming only 23 μA while in sleep mode and a maximum of 20mA with peaks of 2A while acquiring a location. We believe that the system can run for at least a week without any solar charge.</p>
<p><strong>Data Presentation/Server Side:</strong></p>
<p>We are uploading the location to a Dweet server and we would like to graphically display it on the Freeboard website. Access Freeboard.io, create an account and follow the instructions to customize your dashboard.</p>
<p>Step 1: Create a new panel and give it a name (example: Solar Bicycle Track).</p>
<p>Step 2: Access the newly created panel and select “ADD” under Datasources.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-9006" src="https://blog.voltaicsystems.com/wp-content/uploads/2017/05/freeboard-setup-1024x613.png" alt="freeboard setup IoT" width="750" height="449" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2017/05/freeboard-setup-1024x613.png 1024w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/freeboard-setup-300x180.png 300w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/freeboard-setup-768x460.png 768w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/freeboard-setup.png 1440w" sizes="auto, (max-width: 750px) 100vw, 750px" /></p>
<p>Step 3: Select the Dweet.io as a type of Datasource and enter the modified “yourthing” from the Arduino code in the THING NAME.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-9005" src="https://blog.voltaicsystems.com/wp-content/uploads/2017/05/freeboard-screenshot-1024x615.png" alt="freeboard setup" width="750" height="450" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2017/05/freeboard-screenshot-1024x615.png 1024w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/freeboard-screenshot-300x180.png 300w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/freeboard-screenshot-768x461.png 768w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/freeboard-screenshot.png 1458w" sizes="auto, (max-width: 750px) 100vw, 750px" /><br />
Step 4: Select “Add Pane” and start customizing your dashboard. Select different type of widgets and replace the [“gsmlatitude”] to any of these (“gsmlongitude”,” ti” referring to time,” da” referring to date,” gpslatitude”,” gpslongitude”, “batt” referring to battery % level) streamed by Arduino.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-9004" src="https://blog.voltaicsystems.com/wp-content/uploads/2017/05/freeboard-display-1024x576.png" alt="freeboard map gps" width="750" height="422" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2017/05/freeboard-display-1024x576.png 1024w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/freeboard-display-300x169.png 300w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/freeboard-display-768x432.png 768w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/freeboard-display.png 1920w" sizes="auto, (max-width: 750px) 100vw, 750px" /></p>
<h2>On the Bicycle</h2>
<p>The Xtracycle has lots of nice mounting points for everything. On a traditional bike, we could see this going under a bike rack. Here, we use the hooptie to mount the panel and the cargo rack to hold the case.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-9011" src="https://blog.voltaicsystems.com/wp-content/uploads/2017/05/IMG_0714-1024x768.jpg" alt="solar panel mounted on bicycle" width="750" height="563" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2017/05/IMG_0714-1024x768.jpg 1024w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/IMG_0714-300x225.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/IMG_0714-768x576.jpg 768w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/IMG_0714-80x60.jpg 80w, https://blog.voltaicsystems.com/wp-content/uploads/2017/05/IMG_0714.jpg 1632w" sizes="auto, (max-width: 750px) 100vw, 750px" /></p>
<h2>Tracking the Bicycle</h2>
<p><!--Finally, watch the bike tracking device streaming on Freeboard: <a href="https://freeboard.io/">https://freeboard.io/board/nX82gJ</a>. Or--> Read more information on Voltaic Systems work powering <a href="https://www.voltaicsystems.com/iot">remote IoT products</a>.</p>
<p><strong>About the Author:</strong> Karim Chamaa is a Mechatronics and Robotics Engineer. His portfolio can be found <a href="https://karimchamaa.wordpress.com/">here</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.voltaicsystems.com/solar-bicycle-tracker-using-adafruit-fona/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Solar Charger Tutorial – Part 1</title>
		<link>https://blog.voltaicsystems.com/solar-charger-tutorial-part-1/</link>
					<comments>https://blog.voltaicsystems.com/solar-charger-tutorial-part-1/#comments</comments>
		
		<dc:creator><![CDATA[Phillip Stearns]]></dc:creator>
		<pubDate>Tue, 29 Nov 2016 11:25:05 +0000</pubDate>
				<category><![CDATA[All]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[17.0WKIT]]></category>
		<category><![CDATA[2.0WKIT]]></category>
		<category><![CDATA[3.5WKIT]]></category>
		<category><![CDATA[6.0WKIT]]></category>
		<category><![CDATA[9.0WKIT]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[diy-highlight]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Educational]]></category>
		<category><![CDATA[Electricity]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Solar]]></category>
		<category><![CDATA[Solar Charging]]></category>
		<guid isPermaLink="false">http://80ca4ebf1c.nxcli.io/?p=2107</guid>

					<description><![CDATA[How do Solar Chargers work? A solar charger is a portable power system made up of a solar panel and an external battery pack. For Voltaic Systems, we pair one of our high performance, monocrystalline solar panels with a solar optimized lithium ion battery pack. When paired together these systems use solar energy to charge [&#8230;]]]></description>
										<content:encoded><![CDATA[<h1><strong>How do Solar Chargers work?</strong></h1>
<p>A <a href="https://www.voltaicsystems.com/solar-panel-kits?smartphones">solar charger</a> is a portable power system made up of a <a href="https://www.voltaicsystems.com/solar-panels">solar panel</a> and an <a href="https://www.voltaicsystems.com/battery-packs?smartphones">external battery pack</a>. For Voltaic Systems, we pair one of our high performance, monocrystalline solar panels with a solar optimized lithium ion battery pack. When paired together these systems use solar energy to charge your electronics anywhere you need power. So how do these systems work?</p>
<h3><strong>How do Solar Charger Work? The Short Answer&#8230;</strong></h3>
<p>When sunlight hits solar panels, the solar cells generate electricity. This electricity flows into a lithium ion battery pack with stores and regulates power to your devices when plugged in.</p>
<p style="text-align: center;"><a class="maxbutton-7 maxbutton maxbutton-solar-charger" target="_blank" rel="nofollow noopener" href="https://voltaicsystems.com/solar-chargers/"><span class='mb-text'>Shop Solar Chargers</span></a></p>
<h3><strong>How do Solar Chargers Work? The Long Answer&#8230;</strong></h3>
<p>We’ve created a four part tutorial to take you through every stage of the process. Solar is obviously much less predictable than plugging into the grid so we’ll be focusing both on specifications and what to expect in the real world. Bring along a multimeter and some parts from Amazon and you can get a pretty good idea of how exactly how solar charger work.</p>
<ul>
<li>Tutorial 1: How do I measure Open Circuit Voltage and Short Circuit Current? (below)</li>
<li>Tutorial 2: <a href="https://blog.voltaicsystems.com/solar-charger-tutorial-part-2/">How do I measure total power output?</a></li>
<li>Tutorial 3: <a href="https://blog.voltaicsystems.com/solar-charger-tutorial-part-3/">How (and why) do I store power?</a></li>
<li>Tutorial 4: <a href="https://blog.voltaicsystems.com/solar-charger-tutorial-part-4/">How do charge circuits protect the battery?</a></li>
</ul>
<h4><strong>Tutorial 1: </strong></h4>
<h2><strong>How do I measure Open Circuit Voltage and Short Circuit Current?<br />
</strong></h2>
<p>There are lots of great resources on how solar panels generate electricity including Wikipedia so we’re going to focus here on measuring the Open Circuit Voltage and Short Circuit Current of a solar panel in &#8220;perfect&#8221; and less than perfect conditions.</p>
<p>Every solar panel has a rated output that includes its Open Circuit Voltage (Voc), Peak Voltage (Vmp), Short Circuit Current (Isc), Peak Current (Imp). The Peak Voltage and Short Circuit Current tell you the Voltage and Current of the panel before you connect it to anything, e.g. there is no load attached to the panel.</p>
<p>As a reminder, Voltage is represented by the symbol V for Volts and is a measure of the difference in electric potential energy between two points. Like air pressure, it flows from high to low. Current is a measure of the flow of charge through an area over time. We use the symbol I to stand for current and measure it in Amps, or simply A for short.</p>
<p>Let’s measure the output of a solar panel. You’ll need:</p>
<ul>
<li>Multimeter</li>
<li>Solar Panel &#8211; we use our <a href="http://voltaicsystems.com/2-watt-panel">2 Watt 6 Volt solar panel</a> that uses Monocrystalline cells, but you can use any panel you have lying around with any type of cells</li>
<li>Sunlight &#8211; alternatively, you could use a couple high-powered incandescent bulbs but then you don&#8217;t get to spend the afternoon outside</li>
</ul>
<p><strong>1. Measure Open Circuit Voltage</strong> &#8211; The black lead should be connected to COM and the red lead should be connected to V or VDC. Set the dial to 20 which means the Multimeter can measure up to 20 Volts.</p>
<p><a href="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_02_MeasureVoltage_1.jpg"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2157" title="Voltaic_Solar_Tutorial_02_MeasureVoltage_1" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_02_MeasureVoltage_1-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_02_MeasureVoltage_1-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_02_MeasureVoltage_1-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_02_MeasureVoltage_1-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_02_MeasureVoltage_1.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a></p>
<p>Touch and hold the black lead to the “sleeve” of the solar panel connector or the black wire. Now touch and hold the red lead to the red wire or insert it into the “tip” of the solar panel connector.</p>
<p><a href="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_03_MeasureVoltage_2.jpg"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2158" title="Voltaic_Solar_Tutorial_03_MeasureVoltage_2" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_03_MeasureVoltage_2-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_03_MeasureVoltage_2-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_03_MeasureVoltage_2-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_03_MeasureVoltage_2-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_03_MeasureVoltage_2.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a><a href="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_04_MeasureDetail.jpg"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2159" title="Voltaic_Solar_Tutorial_04_MeasureDetail" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_04_MeasureDetail-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_04_MeasureDetail-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_04_MeasureDetail-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_04_MeasureDetail-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_04_MeasureDetail.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a></p>
<p>You&#8217;ll notice that the Voltage moves around, but with the panel pointed at the sun, we saw between 6.89 and 6.98 Volts for Open Circuit Voltage. This is close to our specification of 7.0V Open Circuit Voltage on the 2 Watt panel.</p>
<p><strong>2. Measure Short Circuit Current</strong> &#8211; The black lead should be connected to COM and the red lead should be connected to the mA. Set the dial to an amount greater than what you expect the current to be. In our case, we set it to 10.</p>
<p><a href="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_05_MeasureCurrent_1_400.jpg"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2160" title="Voltaic_Solar_Tutorial_05_MeasureCurrent_1_400" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_05_MeasureCurrent_1_400-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_05_MeasureCurrent_1_400-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_05_MeasureCurrent_1_400-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_05_MeasureCurrent_1_400-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_05_MeasureCurrent_1_400.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a></p>
<p>We measured got 0.33 Amps or 330 mAmps which is close to our specification of 333mA.</p>
<p><a href="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_06_Measure_Current_2_400.jpg"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2161" title="Voltaic_Solar_Tutorial_06_Measure_Current_2_400" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_06_Measure_Current_2_400-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_06_Measure_Current_2_400-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_06_Measure_Current_2_400-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_06_Measure_Current_2_400-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_06_Measure_Current_2_400.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a></p>
<p><strong>3. Assess the impact of real-world conditions.<br />
</strong>In the real world, it is not sunny all the time and our panels are not always pointed directly at the sun. So what happens when we move away from perfection?</p>
<p>Angle the panel so that it is facing the sun and record the voltage. Try slowly angling the panel away from the sun and note the changes in Voltage and current. Try shading parts of the panel and then the whole panel and note the changes in Voltage and current.</p>
<p>Here is what we recorded:</p>
<table>
<colgroup>
<col width="200" />
<col width="86" />
<col width="97" />
<col width="105" />
<col width="135" /> </colgroup>
<tbody>
<tr>
<td>Position</td>
<td>Voltage (V)</td>
<td>Current (A)</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Directly Facing Sun</td>
<td>6.82</td>
<td>
<p dir="ltr">0.33</p>
</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Angled 15 degrees</td>
<td>6.81</td>
<td>0.32</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Angled 30 degrees</td>
<td>6.78</td>
<td>0.32</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Angled 45 degrees</td>
<td>6.73</td>
<td>0.29</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Angled 90 degrees</td>
<td>6.07</td>
<td>.06</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Angled 180 degrees</td>
<td>5.89</td>
<td>0.03</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Finger on Corner (half of cell)</td>
<td>6.79</td>
<td>.2</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Fingers on Cell (full cell)</td>
<td>6.74</td>
<td>.04</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Faint Shadow</td>
<td>6.78</td>
<td>0.25</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Close Shadows on Panel</td>
<td>5.78</td>
<td>.03</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p><div id="attachment_2165" style="width: 310px" class="wp-caption alignnone"><a href="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_08_CoverHalfCell_4002.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-2165" class="size-medium wp-image-2169" title="Voltaic_Solar_Tutorial_08_CoverHalfCell_400" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_08_CoverHalfCell_4002-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_08_CoverHalfCell_4002-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_08_CoverHalfCell_4002-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_08_CoverHalfCell_4002-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_08_CoverHalfCell_4002.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a><p id="caption-attachment-2165" class="wp-caption-text">Thumb covering half a cell</p></div></p>
<p><div id="attachment_2170" style="width: 310px" class="wp-caption alignnone"><a href="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_07_CoverWholeCell1.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-2170" class="size-medium wp-image-2170" title="Voltaic_Solar_Tutorial_07_CoverWholeCell" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_07_CoverWholeCell1-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_07_CoverWholeCell1-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_07_CoverWholeCell1-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_07_CoverWholeCell1-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_07_CoverWholeCell1.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a><p id="caption-attachment-2170" class="wp-caption-text">Thumb covering whole cell</p></div></p>
<p><img loading="lazy" decoding="async" class="size-medium wp-image-2165" title="Voltaic_Solar_Tutorial_09_ShadePanel_400" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_09_ShadePanel_400-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_09_ShadePanel_400-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_09_ShadePanel_400-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_09_ShadePanel_400-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_09_ShadePanel_400.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Solar panel with heavy shade</p>
<p>As you can see, minor changes in angle don&#8217;t have a very significant impact on Voltage or current. However, once you get to about 45 degrees away from the sun, current starts to drop very sharply, meaning total power will also drop.</p>
<p>Similarly, light shadows on the panels decrease current by about 25%, but a heavy shadow over all or part of the panel drop panel output by 90%.</p>
<p><strong>Move on to Part 2 of our Tutorial </strong>&#8211; <a href="https://blog.voltaicsystems.com/solar-charger-tutorial-part-2/">How do I measure total output?</a> In this tutorial we start connecting solar panels to loads and measuring how much power it is capable of generating.</p>
<p><strong>Skip ahead to Part 3 of our Tutorial </strong>&#8211; <a href="https://blog.voltaicsystems.com/solar-charger-tutorial-part-3/">How (and why) do I store power?</a> In this tutorial we explain how to store solar energy in batteries for use when there is no sunlight available.</p>
<p><strong>Skip ahead to Part 4 of our Tutorial</strong> &#8211; <a href="https://blog.voltaicsystems.com/solar-charger-tutorial-part-4-battery-protection/">How do charge circuits protect batteries?</a> In this tutorial we explain how built-in circuits protect both our batteries and your devices.</p>
<p><em>This post has been updated from our original post in September 2011.</em></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.voltaicsystems.com/solar-charger-tutorial-part-1/feed/</wfw:commentRss>
			<slash:comments>10</slash:comments>
		
		
			</item>
		<item>
		<title>Solar Panels for Small Motors &#8211; An Intro</title>
		<link>https://blog.voltaicsystems.com/solar-panels-and-small-motors-an-intro/</link>
					<comments>https://blog.voltaicsystems.com/solar-panels-and-small-motors-an-intro/#comments</comments>
		
		<dc:creator><![CDATA[Voltaic Systems]]></dc:creator>
		<pubDate>Thu, 15 Sep 2016 19:23:41 +0000</pubDate>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[17.0W]]></category>
		<category><![CDATA[2.0W]]></category>
		<category><![CDATA[3.5W]]></category>
		<category><![CDATA[3511-EXTENSION-LEADS]]></category>
		<category><![CDATA[6.0W]]></category>
		<category><![CDATA[9.0W]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[motors]]></category>
		<guid isPermaLink="false">http://80ca4ebf1c.nxcli.io/?p=8455</guid>

					<description><![CDATA[Solar Panels for Small Motors In this guide we look at the options you have when deciding on solar panels for small motors starting with how to begin select the right panel for your motor. In general, we found to get the best performance to cost/size ratio when the voltage of the panel slightly exceeded the voltage [&#8230;]]]></description>
										<content:encoded><![CDATA[<h1>Solar Panels for Small Motors</h1>
<p>In this guide we look at the options you have when deciding on solar panels for small motors starting with how to begin select the right panel for your motor. In general, we found to get the best performance to cost/size ratio when the voltage of the panel slightly exceeded the voltage rating of the motor and a peak current 25-50% higher than the max current of the motor.</p>
<p>Please repeat the tests for your projects and let us know what you find.</p>
<p>We experimented with four simple motors:</p>
<ul>
<li><a href="https://www.adafruit.com/products/711">DC Toy Hobby Motor</a> (4.5 – 9V, 0.25A)</li>
<li>HSD-8025 Brushless DC Cooling Fan (12V/ 0.12A)</li>
<li><a href="https://www.sparkfun.com/products/13302">DAGU robot DG01D Mini DC Gear Box</a> (4.5V, .25A)</li>
<li><a href="https://www.sparkfun.com/products/10455">Liquid Pump – 350GPH</a> (12V, 1.5A)</li>
</ul>
<p><a href="https://blog.voltaicsystems.com/wp-content/uploads/2016/09/small-motors.jpg"><img loading="lazy" decoding="async" class="aligncenter wp-image-8456" src="https://blog.voltaicsystems.com/wp-content/uploads/2016/09/small-motors.jpg" alt="mix of small motors" width="750" height="563" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2016/09/small-motors.jpg 1000w, https://blog.voltaicsystems.com/wp-content/uploads/2016/09/small-motors-300x225.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2016/09/small-motors-80x60.jpg 80w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a></p>
<p>And we used a suite of panels for testing including: 2 Watt, 6 Volt / 3.5 Watt, 6 Volt x 2 (paired in series to get 12V) / 6 Watt, 6 Volt / 9 Watt, 6 Volt / 9 Watt, 18 Volt / 17 Watt, 18 Volt panel.</p>
<p style="text-align: center;"><a class="maxbutton-2 maxbutton maxbutton-solar-panels" target="_blank" rel="nofollow noopener" href="https://www.voltaicsystems.com/solar-panels"><span class='mb-text'>Shop Solar Panels</span></a></p>
<p><a href="https://blog.voltaicsystems.com/wp-content/uploads/2016/09/solar-panel-assortment.jpg"><img loading="lazy" decoding="async" class="aligncenter wp-image-8457" src="https://blog.voltaicsystems.com/wp-content/uploads/2016/09/solar-panel-assortment.jpg" alt="solar panel mix for testing" width="750" height="537" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2016/09/solar-panel-assortment.jpg 1000w, https://blog.voltaicsystems.com/wp-content/uploads/2016/09/solar-panel-assortment-300x214.jpg 300w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a></p>
<h2><strong>Making the Connection</strong></h2>
<p>You can simply twist the positive and negative leads from the solar panel to the motor. We recommend using our <a href="https://www.voltaicsystems.com/extension-with-exposed-leads">1 Foot Extension</a> so you don&#8217;t have to hack our cable.</p>
<p>To make things easier to swap panels and take measurements, we wired each of the small motors and our extension cable with exposed leads to jumper wires.</p>
<p><a href="https://blog.voltaicsystems.com/wp-content/uploads/2016/09/solar-panel-meter.jpg"><img loading="lazy" decoding="async" class="aligncenter wp-image-8458" src="https://blog.voltaicsystems.com/wp-content/uploads/2016/09/solar-panel-meter.jpg" alt="solar panels in breadboard" width="750" height="561" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2016/09/solar-panel-meter.jpg 1000w, https://blog.voltaicsystems.com/wp-content/uploads/2016/09/solar-panel-meter-300x224.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2016/09/solar-panel-meter-80x60.jpg 80w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a></p>
<p>This DAGU Motor already had jumper wires.</p>
<p><a href="https://blog.voltaicsystems.com/wp-content/uploads/2016/09/dagu-leads.jpg"><img loading="lazy" decoding="async" class="aligncenter wp-image-8459" src="https://blog.voltaicsystems.com/wp-content/uploads/2016/09/dagu-leads.jpg" alt="dagu motor with leads" width="750" height="563" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2016/09/dagu-leads.jpg 1000w, https://blog.voltaicsystems.com/wp-content/uploads/2016/09/dagu-leads-300x225.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2016/09/dagu-leads-80x60.jpg 80w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a></p>
<h2><strong>Basic Behavior</strong></h2>
<p>When a panel isn’t connected to anything, it has a relatively high voltage and zero current. Our 2 Watt, 6 Volt panel has an open circuit voltage a bit over 7V. As soon as you connect to the motor the voltage drops and, if you meet the minimum threshold of the motor, current flows and the motor spins.</p>
<p>In this video, you will see motor speed up when pointed directly at the sun and slow down when panel is angled away from the sun or shaded.</p>
<p><iframe loading="lazy" src="https://www.youtube.com/embed/LAQwyodTWDY" width="750" height="421" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
<h3>2 Watt, 6 Volt Panel Results</h3>
<p>With a 2 Watt, 6 Volt panel and less than ideal conditions, the motor spins, but the motor draws less voltage and current than its&#8217; specification. In good conditions, the voltage and current climb slightly above the spec of 0.25A and the total power through the motor is about 3/4 of the rated specification of the panel. When we connect to a larger 6 Watt panel, the motor reaches a maximum current of 0.43 Amps, well above the spec of the motor and less than half the rated output of the 6 Watt Panel. Our 2 Watt or 3.5 Watt panel seems like the best fit if you are expecting reasonably good conditions.</p>
<style>
	.demo {<br />		border:1px solid #C0C0C0;<br />		border-collapse:collapse;<br />		padding:5px;<br />	}<br />	.demo th {<br />		border:1px solid #C0C0C0;<br />		padding:5px;<br />		background:#F0F0F0;<br />	}<br />	.demo td {<br />		border:1px solid #C0C0C0;<br />		padding:5px;<br />	}<br /></style>
<table class="demo">
<caption>DC Toy Motor (4.5-9V, 0.25A) With 2 and 6 Watt Panel</caption>
<thead>
<tr>
<th>Panel</th>
<th>Position</th>
<th>Volts</th>
<th>Current</th>
<th>Watts</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr>
<td>2 Watt</td>
<td>180 Away</td>
<td>1.0</td>
<td>0.05</td>
<td>0.05</td>
<td>Very slow</td>
</tr>
<tr>
<td>2 Watt</td>
<td>45 Away</td>
<td>3.5</td>
<td>0.2</td>
<td>0.7</td>
<td>Medium Fast</td>
</tr>
<tr>
<td>2 Watt</td>
<td>Pointed At Sun</td>
<td>5.2</td>
<td>0.30</td>
<td>1.56</td>
<td>Fast</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>6 Watt</td>
<td>45 Away</td>
<td>6.2</td>
<td>0.43</td>
<td>2.67</td>
<td>Fast</td>
</tr>
<tr>
<td>6 Watt</td>
<td>Pointed At Sun</td>
<td>6.5</td>
<td>0.43</td>
<td>2.80</td>
<td>Fast</td>
</tr>
</tbody>
</table>
<h3>DAGU DG01D Results</h3>
<p>We see similar behavior with the DAGU DG01D, but it has more resistance than the toy motor and needs more power to reach its max. A 2 Watt panel can get it turning, but it is too small to get much speed going and we&#8217;re only able to get about 30% rated power from the panel. In this case, we’re exceeding the rated current with a 6 Watt panel in perfect conditions, but in imperfect conditions, we are able to make the motor move consistently. We&#8217;re also getting 75% of the rated power into the motor. Bumping up to 9 Watts, it is easy to exceed the max current specification of the motor in a range of conditions.</p>
<table class="demo">
<caption>Dagu Robot DG01D Mini DC Gear Box (4.5V, 0.25A)</caption>
<thead>
<tr>
<th>Panel</th>
<th>Position</th>
<th>Volts</th>
<th>Current</th>
<th>Watts</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr>
<td>2 Watt</td>
<td>180 Away</td>
<td>0.6</td>
<td>0.1</td>
<td>0.06</td>
<td>Very Slow</td>
</tr>
<tr>
<td>2 Watt</td>
<td>45 Away</td>
<td>1.37</td>
<td>0.2</td>
<td>0.27</td>
<td>Slow</td>
</tr>
<tr>
<td>2 Watt</td>
<td>Pointed At Sun</td>
<td>2.0</td>
<td>0.32</td>
<td>0.64</td>
<td>Medium</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>6 Watt</td>
<td>45 Away</td>
<td>3.7</td>
<td>0.54</td>
<td>2.0</td>
<td>Fast</td>
</tr>
<tr>
<td>6 Watt</td>
<td>Pointed At Sun</td>
<td>5.7</td>
<td>0.8</td>
<td>4.56</td>
<td>Fast</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>9 Watt</td>
<td>45 Away</td>
<td>6.0</td>
<td>0.8</td>
<td>4.8</td>
<td>Fast</td>
</tr>
<tr>
<td>9 Watt</td>
<td>Pointed At Sun</td>
<td>6.3</td>
<td>0.8</td>
<td>5.0</td>
<td>Fast</td>
</tr>
</tbody>
</table>
<h3><strong>Low Voltage Kills Power</strong></h3>
<p>We tested also tested a 12V motor, 0.1A motor with 2 x 6V panels in series and parallel (6V and 12V). With the lower voltage setup, the voltage, current and total power output were less than with the panels in series, the power output increased by about 4X. The lesson is that if the panel is well below the rated spec of the motor, it may spin, but you will be wasting a lot of power.</p>
<table class="demo">
<caption>HSD 8025 (12V, 0.12A)</caption>
<thead>
<tr>
<th>Panel</th>
<th>Position</th>
<th>Volts</th>
<th>Current</th>
<th>Watts</th>
</tr>
</thead>
<tbody>
<tr>
<td>7 Watt / 6V</td>
<td>45 Away</td>
<td>5.9</td>
<td>0.09</td>
<td>0.53</td>
</tr>
<tr>
<td>7 Watt / 6V</td>
<td>Pointed At Sun</td>
<td>6.12</td>
<td>0.1</td>
<td>0.61</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>7 Watt / 12V</td>
<td>45 Away</td>
<td>12.0</td>
<td>0.17</td>
<td>2.04</td>
</tr>
<tr>
<td>7 Watt / 12V</td>
<td>Pointed At Sun</td>
<td>12.7</td>
<td>0.18</td>
<td>2.29</td>
</tr>
</tbody>
</table>
<h3><strong>Real Work – Doubling Power on a Pump</strong></h3>
<p>If you are below the rating of a motor or pump, increasing the amount of solar power, will increase the power through the motor. As a quick example, we connected a single 17 Watt panel up to a water pump and it moved water pretty quickly out of the bucket through a 3/4 “ hose. However, that panel outputs 1A max, below the maximum rating of the pump. Adding a second panel increases the current and voltage and increases the through put of the motor.</p>
<p><iframe loading="lazy" src="https://www.youtube.com/embed/oLrtE131zFk" width="750" height="421" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.voltaicsystems.com/solar-panels-and-small-motors-an-intro/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>DIY Solar Toolbox</title>
		<link>https://blog.voltaicsystems.com/diy-solar-toolbox/</link>
					<comments>https://blog.voltaicsystems.com/diy-solar-toolbox/#respond</comments>
		
		<dc:creator><![CDATA[Jeff]]></dc:creator>
		<pubDate>Wed, 28 Aug 2013 20:41:02 +0000</pubDate>
				<category><![CDATA[All]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[17.0WKIT]]></category>
		<category><![CDATA[charge controller]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[lead acid]]></category>
		<category><![CDATA[solar charger]]></category>
		<category><![CDATA[toolbox hack]]></category>
		<category><![CDATA[V44-SET]]></category>
		<guid isPermaLink="false">http://80ca4ebf1c.nxcli.io/?p=4691</guid>

					<description><![CDATA[Ben Schapiro, a Chicago-land customer, took our 16 Watt solar panel and a classic tackle box and made a pretty cool and versatile solar charger. The solar panel charges a deep-cycle lead acid battery plus our V15 and V39 USB Batteries. &#8220;So far this has easily charged, iPhone, iPad, USB bike lights and cyclocomputer and [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Ben Schapiro, a Chicago-land customer, took our <a href="http://voltaicsystems.com/16wattkit.php">16 Watt solar panel</a> and a classic tackle box and made a pretty cool and versatile solar charger. The solar panel charges a deep-cycle lead acid battery plus our <a href="http://voltaicsystems.com/v15">V15</a> and <a href="http://voltaicsystems.com/v39.shtml">V39 USB Batteries</a>. &#8220;So far this has easily charged, iPhone, iPad, USB bike lights and cyclocomputer and NiMH AA batteries.&#8221;</p>
<p><a href="https://blog.voltaicsystems.com/wp-content/uploads/2013/08/solar-toolbox.jpg"><img loading="lazy" decoding="async" class="alignnone wp-image-4694 size-full" title="solar-toolbox" src="https://blog.voltaicsystems.com/wp-content/uploads/2013/08/solar-toolbox.jpg" alt="solar toolbox" width="763" height="763" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2013/08/solar-toolbox.jpg 763w, https://blog.voltaicsystems.com/wp-content/uploads/2013/08/solar-toolbox-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2013/08/solar-toolbox-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2013/08/solar-toolbox-125x125.jpg 125w" sizes="auto, (max-width: 763px) 100vw, 763px" /></a> <a href="https://blog.voltaicsystems.com/wp-content/uploads/2013/08/charge-controller1.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-4695" title="charge-controller" src="https://blog.voltaicsystems.com/wp-content/uploads/2013/08/charge-controller1.jpg" alt="" width="320" height="320" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2013/08/charge-controller1.jpg 746w, https://blog.voltaicsystems.com/wp-content/uploads/2013/08/charge-controller1-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2013/08/charge-controller1-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2013/08/charge-controller1-125x125.jpg 125w" sizes="auto, (max-width: 320px) 100vw, 320px" /></a></p>
<p><strong>Parts List</strong><br />
&#8211; 12volt 20amp hour deep-cycle battery (available at Lowe&#8217;s or your local marine store)<br />
&#8211; <a href="https://www.velleman.eu/products/view/dc-voltage-controller-for-solar-energy-sol4ucn2/?id=351672&#038;lang=en">Velleman SOL4UXN2 solar DC charge controller</a> 5A max input. Switched 12/6/3 volt output. Input for two panels.<br />
&#8211; <a href="https://www.bluesea.com/products/1016/Dual_USB_Charger_Socket">Blue Sea Systems Dual USB Charger Socket</a> (x2)<br />
&#8211; Bicycle headset spacers 32mm, metal as standoffs and heat sinks for USB chargers<br />
&#8211; <a href="http://voltaicsystems.com/16wattkit.php">Voltaic 16.8 watt 18 volt panel</a><br />
&#8211; 24 year old Plano tackle box (check <a href="https://www.ebay.com/b/Plano-Model-Products-Fishing-Tackle-Boxes-Bags/22696/bn_1985679">eBay!</a>)<br />
&#8211; Various odds and ends from the parts box</p>
<p>According to our Ben, &#8220;the lead acid battery just fit in the tool box with two strips of aluminum angle riveted to the bottom to keep the battery centered. The charge controller, V39 battery/V11/V15, adaptors and USB chargers fit in to cutouts in the upper tray partitions with the battery and charger cables exiting the bottom of the tray.</p>
<p>The Velleman SOL4UNX2 has switched 12/6/3 volt power outlets using 1/4&#8243; and two 1/8&#8243; audio jacks. The plan is to connect the Fuse 10W to the second input to increase the incoming current.</p>
<p>Designed for damp environments, the two Blue Sea Systems USB chargers will charge one device at 2.1 amps or two devices each at 1 amp. A green LED confirms power at the chargers with a 15mA parasitic current.</p>
<p>iPads, iPhones, any USB device can be charged from this set up as long as the total current draw is kept at or below 4A.</p>
<p>The weight, not including solar panel is 17.4 lbs. Not exactly bike portable, but good for car camping.&#8221;</p>
<p>Thanks to Ben for sharing the project.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.voltaicsystems.com/diy-solar-toolbox/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>DIY Solar Lamp</title>
		<link>https://blog.voltaicsystems.com/diy-solar-lamp/</link>
					<comments>https://blog.voltaicsystems.com/diy-solar-lamp/#comments</comments>
		
		<dc:creator><![CDATA[Phillip Stearns]]></dc:creator>
		<pubDate>Mon, 19 Dec 2011 18:18:19 +0000</pubDate>
				<category><![CDATA[All]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[Renewable Energy]]></category>
		<category><![CDATA[Solar]]></category>
		<category><![CDATA[solar energy]]></category>
		<category><![CDATA[solar lamp]]></category>
		<category><![CDATA[solar light]]></category>
		<guid isPermaLink="false">http://80ca4ebf1c.nxcli.io/?p=2616</guid>

					<description><![CDATA[Here&#8217;s a guide to building a USB powered LED lamp compatible with Voltaic Systems products. This is a quick and easy way to convert the solar energy we’ve stored in our Voltaic Systems batteries into light. We&#8217;ve used ours when building some cables in low light conditions, but it could also be useful on a [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2642" title="DIY_LED_LAMP_12_400" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_12_400-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_12_400-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_12_400-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_12_400-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_12_400.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Here&#8217;s a guide to building a USB powered LED lamp compatible with Voltaic Systems products. This is a quick and easy way to convert the solar energy we’ve stored in our Voltaic Systems batteries into light. We&#8217;ve used ours when building some cables in low light conditions, but it could also be useful on a camping trip.</p>
<p>Note: As with all our DIY projects, try this project at your own risk.  Voltaic Systems makes no guarantees against damage to the Voltaic battery or your LEDs. Use caution in your wiring.</p>
<p><strong>Instructions: Solar Lamp</strong></p>
<ul> <strong>Parts List:</strong></p>
<li><a href="http://www.goldmine-elec-products.com/prodinfo.asp?number=G16642">3x White LEDs</a></li>
<li>3x 8 ohm resistors **</li>
<li>Electrical Wire ( we recommend 22AWG stranded)</li>
<li>Craft Wire (we recommend 18 AWG)</li>
<li>Shrink Tube</li>
<li>USB male plug</li>
<li><a href="https://voltaicsystems.com/iot-battery-packs/">USB Battery Pack</a></ul>
<ul> <strong>Tools:</strong></p>
<li>Soldering Iron</li>
<li>Pliers</li>
<li>Wire Cutters</li>
<li>Wire Stripper</li>
<li>Heat Gun</li>
</ul>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2645" title="DIY_LED_LAMP_01_400" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_01_400-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_01_400-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_01_400-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_01_400-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_01_400.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /><br />
There are two pins on each LED, one is the positive (+) pin or anode, and the other is the negative (-) pin or cathode.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2646" title="DIY_LED_LAMP_02_400" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_02_400-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_02_400-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_02_400-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_02_400-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_02_400.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2648" title="DIY_LED_LAMP_03_400" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_03_400-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_03_400-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_03_400-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_03_400-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_03_400.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /><br />
Attach the resistors to the anode pins of the LEDs.  Then cover the resistors and LED pins in shrink tube to prevent short circuits in the future.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2649" title="DIY_LED_LAMP_05_400" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_05_400-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_05_400-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_05_400-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_05_400-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_05_400.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /><br />
Twist together and solder the resistor pins so that the common connection is in the middle of the three LEDs.  Trim back excess pin material.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2650" title="DIY_LED_LAMP_06_400" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_06_400-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_06_400-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_06_400-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_06_400-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_06_400.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /><br />
Solder a red wire (for positive connection) to the bundle of resistor pins and cover this connection with shrink tube.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2651" title="DIY_LED_LAMP_07_400" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_07_400-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_07_400-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_07_400-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_07_400-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_07_400.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2652" title="DIY_LED_LAMP_09_400" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_09_400-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_09_400-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_09_400-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_09_400-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_09_400.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /><br />
Solder wires to the cathode pins of the LEDs.  Then twist and solder the other end of these wires together.  Solder a white wire (for a negative connection) to the bundle of LED cathode wires.  Cover this joint with shrink tube as well.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2647" title="DIY_LED_LAMP_04_400" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_04_400-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_04_400-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_04_400-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_04_400-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_04_400.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /><br />
Cut a length of craft wire.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2653" title="DIY_LED_LAMP_10_400" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_10_400-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_10_400-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_10_400-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_10_400-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_10_400.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /><br />
Wrap one end of the craft wire around the LED assembly.  Use shrink tube to keep the electrical wires fixed to the craft wire.  Wrap the electrical wire around the craft wire.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2654" title="DIY_LED_LAMP_11_400" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_11_400-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_11_400-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_11_400-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_11_400-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_11_400.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /><br />
We used a USB connector from one of our output wires.  The red wire is connected to pin #1 of the USB plug, and the white wire is connected to pin #4.  Connect the wires from the LEDs to the wires on the USB plug.  Cover the connection in shrink tube.  Wrap the craft wire around the USB plug and twist to lock into place.  You may consider using an epoxy or other adhesive to make this connection if wrapping and twisting isn’t enough.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2642" title="DIY_LED_LAMP_12_400" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_12_400-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_12_400-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_12_400-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_12_400-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_12_400.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /><br />
Finally, turn on the battery and connect the light!</p>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2641" title="DIY_LED_LAMP_13_400" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_13_400-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_13_400-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_13_400-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_13_400-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/12/DIY_LED_LAMP_13_400.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p><strong>Performance</strong><br />
For a small 3-LED lamp, it outputs quite a bit of light.  The quality leaves a little to be desired (it is a very cool 7500K) and the output is too focused to be a general use lamp.  It works really as a reading light and as a focused work light for detail work.  The LED Lamp is designed to use 500mA at 5V or 2.5W.  The V11 capacity is 11Wh, so you can expect this LED Lamp to run for about 3.5 hours before the V11 needs to be recharged.</p>
<p><strong>** Calculating the Resistor Size</strong><br />
To calculate the resistor size we determined that we wanted to draw no more than 500mA from the V11.  Because the LEDs are wired in parallel the total share of 500mA for each is about 167mA (500mA / 3).  For our lamp design, each LED is its own circuit consisting of a 5V power supply, an LED and a resistor.  Our power supply is limited to 5V and the LEDs require 3.7V to begin conducting fully, which leaves a 1.3V drop across the resistor (according to <a href="http://en.wikipedia.org/wiki/Kirchhoff%27s_circuit_laws">Kirchoff&#8217;s Voltage Law</a>).  Because the resistor is the element which limits the current flow in the system, we must calculate its minimum size given the voltage drop across it and the current restriction we set above.  Using Ohm&#8217;s Law (V=IR), we can solve for Resistance (R) using Voltage (V) =1.3V and Current (I) =.167A.  We get about 7.8 ohms (R=1.3V/.167A).  The closest standard resistor value we had in our lab was 8 ohms, which is what we recommend for your project.</p>
<p>Increasing the resistance will make your lamp less bright.  It is not recommended to reduce the resistance below 8 ohms.  This may cause damage to the LEDs or any USB supply you connect your lamp to.</p>
<p>Once you have assembled the LED lamp cluster, try inserting different resistor values between the USB connector and the red wire leading to the LEDs.  Using a switch, it is possible to choose between full brightness and a dimmer output.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.voltaicsystems.com/diy-solar-lamp/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title>DIY Renewable Electricity Class</title>
		<link>https://blog.voltaicsystems.com/solar-and-dynamo-class/</link>
					<comments>https://blog.voltaicsystems.com/solar-and-dynamo-class/#comments</comments>
		
		<dc:creator><![CDATA[Phillip Stearns]]></dc:creator>
		<pubDate>Thu, 01 Dec 2011 11:00:51 +0000</pubDate>
				<category><![CDATA[All]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[Sustainability]]></category>
		<category><![CDATA[Bike Dynamo]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[dynamo]]></category>
		<category><![CDATA[Solar Charging]]></category>
		<guid isPermaLink="false">http://80ca4ebf1c.nxcli.io/?p=2120</guid>

					<description><![CDATA[Voltaic Systems employee, Phillip Stearns will be teaching a 2-day class in DIY Renewable Electricity at 3rd Ward in Brooklyn, NY.  Students will learn how to charge AA batteries using our 2-Watt solar panels, as well as from bike driven dynamos. Sign up now and reserve your seat. If this class session fills up, there [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2123" title="Voltaic_Solar_Tutorial_26_Current_Charging_400_round" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_26_Current_Charging_400_round.jpg" alt="" width="400" height="400" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_26_Current_Charging_400_round.jpg 400w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_26_Current_Charging_400_round-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_26_Current_Charging_400_round-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/Voltaic_Solar_Tutorial_26_Current_Charging_400_round-125x125.jpg 125w" sizes="auto, (max-width: 400px) 100vw, 400px" /></p>
<p>Voltaic Systems employee, <a href="https://phillipstearns.com" target="_blank" rel="noopener">Phillip Stearns</a> will be teaching a 2-day class in <a href="http://www.3rdward.com/3rdwardclasses/renewable-power-sources-dynamos-and-solar.html">DIY Renewable Electricity at 3rd Ward in Brooklyn, NY</a>.  Students will learn how to charge AA batteries using our <a href="https://voltaicsystems.com/2-watt-6-volt-solar-panel-etfe/">2-Watt solar panels</a>, as well as from bike driven dynamos.  Sign up now and reserve your seat.  If this class session fills up, there will be more classes scheduled for February and March 2012.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.voltaicsystems.com/solar-and-dynamo-class/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Mod the IKEA Sunnan to Charge an iPad2</title>
		<link>https://blog.voltaicsystems.com/mod-the-ikea-sunnanto-charge-an-ipad2/</link>
					<comments>https://blog.voltaicsystems.com/mod-the-ikea-sunnanto-charge-an-ipad2/#comments</comments>
		
		<dc:creator><![CDATA[Phillip Stearns]]></dc:creator>
		<pubDate>Thu, 27 Oct 2011 19:32:40 +0000</pubDate>
				<category><![CDATA[All]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[2.0W]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[Ikea]]></category>
		<category><![CDATA[ikea hack]]></category>
		<category><![CDATA[mod]]></category>
		<category><![CDATA[solar battery charger]]></category>
		<category><![CDATA[solar boost]]></category>
		<category><![CDATA[solar charger]]></category>
		<category><![CDATA[solar lamp]]></category>
		<category><![CDATA[sunnan hack]]></category>
		<guid isPermaLink="false">http://80ca4ebf1c.nxcli.io/?p=2457</guid>

					<description><![CDATA[A while back we covered the nifty Sunnan solar powered desk lamp from IKEA, highlighting its usefulness while making note of some of the things we would like to change. In that list of possible improvements we mentioned increasing the both the battery capacity and the solar power generated. This modification of the Sunnan lamp [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2268" title="sunnan-1" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/sunnan-1-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/sunnan-1-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/sunnan-1-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/sunnan-1-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/sunnan-1.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /><br />
A while back we covered the nifty <a href="https://blog.voltaicsystems.com/solar-light-from-ikea-sunnan/">Sunnan solar powered desk lamp from IKEA</a>, highlighting its usefulness while making note of some of the things we would like to change. In that list of possible improvements we mentioned increasing the both the battery capacity and the solar power generated. This modification of the Sunnan lamp does both of these and more! Thanks to our friends at Adafruit, we were able to find a solution for re-wiring the lamp to provide a USB charging port for boosting the charge of small portable electronics. (If you want a fully functioning, high-powered system, have a look at our Spark iPad solar charger) So for this modification we will show you how to:</p>
<p>1. Replace the stock batteries with higher capacity batteries<br />
2. Modify the battery compartment to accept Voltaic Systems <a href="https://voltaicsystems.com/small-solar-panels">small solar panels</a><br />
3. Re-wire the lamp to accommodate Adafruit&#8217;s MintyBoost module</p>
<p>Disclaimer: We here at Voltaic Systems are trained professionals and have taken precautions to ensure that this modification is fully functional; however, we cannot guarantee that it complies with any safety standards or regulations and is not responsible for any damage that might occur to the lamp, batteries, or any other device connected to the modified circuits. Batteries can overheat and catch fire if overcharged or short circuited. Attempt this modification at your own risk!</p>
<ul>Things you&#8217;ll need:</p>
<li>Sunnan IKEA Lamp (<a href="http://www.ikea.com/us/en/catalog/products/90154371/">available here</a>)</li>
<li>soldering iron, solder, solder wick/pump</li>
<li>pliers, wire cutters, wire strippers, utility knife</li>
<li>phillips head screwdrivers (medium and small)</li>
<li>rotary tool (dremel, etc.), cutting wheel, routing bit</li>
<li>epoxy putty (quick setting is the best, we use JB Weld)</li>
<li>power drill, 5/16” bit</li>
<li>MintyBoost v3 by Adafruit (<a href="http://www.adafruit.com/products/14">available here</a>)</li>
<li>2x Schottky Barrier Diodes (1N5817)</li>
<li>1x 39K Ohm resistor</li>
<li>Small piece of circuit prototyping or perf-board</li>
<li><a href="https://voltaicsystems.com/small-adapters/">USB output wire</a> from Voltaic Systems</li>
<li><a href="https://voltaicsystems.com/2-watt-panel">2 Watt solar panel</a> from Voltaic Systems</li>
</ul>
<p>UPGRADE THE BATTERIES</p>
<p>Remove the Battery Pack from the lamp base and remove the four screws from the corners.<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2269" title="sunnan-0" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/sunnan-0-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/08/sunnan-0-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/sunnan-0-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/sunnan-0-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/08/sunnan-0.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2464" title="batterypack_back_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/batterypack_back_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/batterypack_back_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/batterypack_back_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/batterypack_back_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/batterypack_back_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Remove stock IKEA AA NiMH batteries. Replace with higher capacity cells. We used Tenergy 2700mAh cells. Energizer, Duracell, and other provide comparable high-capacity cells. This boosts capacity of the battery pack from about 4.3Wh (1.2V * 1.2Ah * 3 cells) to about 9.7Wh (1.2V * 2.7Ah * 3 cells).<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2466" title="replace_batteries_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/replace_batteries_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/replace_batteries_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/replace_batteries_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/replace_batteries_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/replace_batteries_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p><strong>INSTALL INPUT FOR MORE SOLAR PANELS</strong></p>
<p>Remove the screws holding the circuit board inside the battery pack in place. This board contains a fuse, blocking diode between the solar panels and the batteries, and a current regulator to limit the amount of current flowing from the batteries into the light. De-solder the wires connected to the circuit board. Set this board aside, as we will be re-installing it in the lamp base a bit later.<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2468" title="remove_sunnan_PCB_01_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_sunnan_PCB_01_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_sunnan_PCB_01_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_sunnan_PCB_01_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_sunnan_PCB_01_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_sunnan_PCB_01_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2469" title="sunnan_PCB_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/sunnan_PCB_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/sunnan_PCB_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/sunnan_PCB_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/sunnan_PCB_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/sunnan_PCB_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Our External Solar input will be made from the Voltaic Systems USB output wire (available at the bottom of <a href="http://voltaicsystems.com/adapters.shtml">this</a> page). Cut the 3.5&#215;1.1mm female end of the USB output wire from Voltaic Systems about an inch into the curly wire. Strip back the jacket to gain access to the two wires. Strip and tin the tips of each of the wires.<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2471" title="3511_cut_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_cut_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_cut_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_cut_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_cut_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_cut_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2472" title="3511_strip_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_strip_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_strip_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_strip_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_strip_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_strip_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /><br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2473" title="3511_tin_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_tin_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_tin_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_tin_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_tin_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_tin_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Drill a 5/16” hole in the side of the battery case to permit access the 3.5&#215;1.1mm External Solar socket<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2478" title="3511_bit_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_bit_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_bit_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_bit_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_bit_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_bit_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2479" title="3511_drill_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_drill_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_drill_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_drill_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_drill_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_drill_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Insert the 3.5&#215;1.1mm External Solar socket into the battery case and epoxy it into position.<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2480" title="3511_position_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_position_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_position_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_position_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_position_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_position_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2484" title="3511_epoxy_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_epoxy_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_epoxy_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_epoxy_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_epoxy_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/3511_epoxy_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>While the epoxy is setting, create a diode junction using the two 1N5817. Connect the cathodes together and leave the anodes open for connections from the solar panel and the external solar input. This allows energy to flow from both the supplied Sunnan Solar Panel and the External Solar input into the batteries without them interfering with one another, and prevents the batteries from discharging into either panel.<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2487" title="diodes_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/diodes_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/diodes_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/diodes_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/diodes_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/diodes_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Solder the solar panel + and the external solar + wires, one to each of the Anodes on the diode board. Solder the battery + and the connector + wires to the Cathodes on the diode board.<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2488" title="diodes_anodes_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/diodes_anodes_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/diodes_anodes_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/diodes_anodes_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/diodes_anodes_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/diodes_anodes_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2489" title="diodes_cathodes_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/diodes_cathodes_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/diodes_cathodes_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/diodes_cathodes_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/diodes_cathodes_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/diodes_cathodes_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Join all of the negative wires in the battery pack and solder them together (battery -, solar panel -, and external solar -. Then solder them to the negative tab on the battery pack connector socket.<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2494" title="BatteryPack_Ground_Wiring_01_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/BatteryPack_Ground_Wiring_01_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/BatteryPack_Ground_Wiring_01_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/BatteryPack_Ground_Wiring_01_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/BatteryPack_Ground_Wiring_01_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/BatteryPack_Ground_Wiring_01_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2495" title="BatteryPack_Ground_Wiring_02_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/BatteryPack_Ground_Wiring_02_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/BatteryPack_Ground_Wiring_02_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/BatteryPack_Ground_Wiring_02_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/BatteryPack_Ground_Wiring_02_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/BatteryPack_Ground_Wiring_02_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Check your wiring and make sure that there is a positive voltage (around 4V if batteries are fully charged) between the connectors for the battery pack socket. Then close the battery case.</p>
<p><strong>MINTYBOOST!</strong></p>
<p>Assemble your Adafruit MintyBoost v3. The only change you need to make is to replace resistor R4 with a 39k ohm resistor. Instead of connecting to the battery pack provided with your Minty Boost kit, attach about 6 inches of 24 AWG stranded wire to the + and – points on the PCB.<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2492" title="mintyboost_assembled_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/mintyboost_assembled_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/mintyboost_assembled_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/mintyboost_assembled_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/mintyboost_assembled_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/mintyboost_assembled_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2493" title="mintyboost_wiring_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/mintyboost_wiring_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/mintyboost_wiring_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/mintyboost_wiring_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/mintyboost_wiring_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/mintyboost_wiring_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>The replacement of R4 with the 39K ohm resistor reconfigures the MintyBoost USB pin voltages to measure as below:</p>
<ul>
<li>Pin1 = 5V</li>
<li>Pin2 = 2.75V</li>
<li>Pin3= 2V</li>
<li>Pin4 = 0V (ground)</li>
</ul>
<p>This tells Apple devices, such as the iPad2, that is can draw up to 1A from the supply. If you wish to limit the current to 500mA, use the resistors supplied with the kit as directed. Please note that the iPad2 requires the 1A configuration to charge and that by reverting to 500mA, the iPad2 will not support charging.</p>
<p><strong>REWIRING THE LAMP</strong></p>
<p>Turn the lamp base over and remove the 4 screws.<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2499" title="lamp_base_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/lamp_base_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/lamp_base_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/lamp_base_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/lamp_base_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/lamp_base_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Remove one of the cast-iron weights in the base of the lamp.<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2500" title="remove_weight_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_weight_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_weight_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_weight_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_weight_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_weight_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Using a routing or grinding bit, remove the screw-post to create a space for the MintyBoost.<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2502" title="remove_post_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_post_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_post_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_post_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_post_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_post_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2503" title="remove_post_02_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_post_02_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_post_02_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_post_02_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_post_02_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_post_02_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Mark and route a hole for the USB port of the MintyBoost.<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2504" title="mark_route_USB_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/mark_route_USB_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/mark_route_USB_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/mark_route_USB_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/mark_route_USB_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/mark_route_USB_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Peel off one side of the small adhesive pad included in your MintyBoost kit and place the pad in the lamp base.<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2505" title="adhesive_pad_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/adhesive_pad_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/adhesive_pad_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/adhesive_pad_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/adhesive_pad_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/adhesive_pad_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Remove peel off the other side of the adhesive pad and insert the MintyBoost.</p>
<p>Remove the two screws holding the cover for the two-prong connection to the battery pack in place.<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2506" title="remove_prongs_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_prongs_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_prongs_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_prongs_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_prongs_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_prongs_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Mark the prongs indicating which wire was soldered to them (black is negative and white is positive). Remove the wires from the solder pads.<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2507" title="remove_prong_wires_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_prong_wires_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_prong_wires_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_prong_wires_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_prong_wires_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/remove_prong_wires_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Solder the black wire going to the LED to the “L-” pad on the Sunnan circuit board, and the white wire running to the lamp switch to the “L+” pad on the Sunnan circuit board.<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2508" title="wire_LED_sunnanPCB_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/wire_LED_sunnanPCB_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/wire_LED_sunnanPCB_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/wire_LED_sunnanPCB_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/wire_LED_sunnanPCB_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/wire_LED_sunnanPCB_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Solder a wire from the negative prong to the “BT-” pad on the Sunnan circuit board, and solder a wire from the positive prong to the “BT+” pad on the Sunnan circuit board.<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2509" title="wire_prongs_sunnanPCB" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/wire_prongs_sunnanPCB-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/wire_prongs_sunnanPCB-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/wire_prongs_sunnanPCB-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/wire_prongs_sunnanPCB-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/wire_prongs_sunnanPCB.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Use a cutting wheel or routing bit to remove enough plastic to stow the Sunnan circuit board at the base of the goose neck connection.<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2510" title="route_sunnanPCB_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/route_sunnanPCB_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/route_sunnanPCB_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/route_sunnanPCB_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/route_sunnanPCB_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/route_sunnanPCB_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Remove the fuse on the Sunnan circuit board and replace with a piece of jumper wire.<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2511" title="Replace_Fuse" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/Replace_Fuse-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/Replace_Fuse-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/Replace_Fuse-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/Replace_Fuse-1024x1024.jpg 1024w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/Replace_Fuse-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/Replace_Fuse.jpg 1200w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Solder the negative power wire for the MintyBoost to the “Sun -” pad on the Sunnan circuit board. Solder the positive wire for the MintyBoost to the “BT+” pad on the Sunnan circuit board.<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2512" title="wire_mintyboost_sunnanPCB_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/wire_mintyboost_sunnanPCB_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/wire_mintyboost_sunnanPCB_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/wire_mintyboost_sunnanPCB_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/wire_mintyboost_sunnanPCB_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/wire_mintyboost_sunnanPCB_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Tuck the Sunnan PCB into the pocket you routed out near the goose neck in the lamp base. Tidy up any wires from the minty boost. Then close everything up! You&#8217;re done!<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2516" title="finished_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/finished_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/finished_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/finished_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/finished_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/finished_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Connect an external solar power to the battery pack and place in sunlight to charge.<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2518" title="charging_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/charging_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/charging_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/charging_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/charging_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/charging_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>After a day of charge, you should be able to use the desk lamp as normal AND give your iPad a boost.<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2519" title="discharging_webready" src="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/discharging_webready-300x300.jpg" alt="" width="300" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2011/10/discharging_webready-300x300.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/discharging_webready-150x150.jpg 150w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/discharging_webready-125x125.jpg 125w, https://blog.voltaicsystems.com/wp-content/uploads/2011/10/discharging_webready.jpg 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>We&#8217;re still doing testing, but the results so far are promising. Here&#8217;s a look at the type of performance you can anticipate from these modifications:</p>
<p>With a 1.4W panel attached to the .5W panel of the Sunnan lamp, we can generate a peak of 1.9W. Under normal real-world conditions we can expect to produce about 1.5W average. NiMH batteries are only about 65% efficient at storing that power so we can expect that a 9.7Wh capacity battery pack like the one we&#8217;ve modified the Sunnan with will take roughly 10 hours to fully charge (9.7Wh / 1.5W / .65). Assuming that the charge transfer efficiency from the NiMH batteries via the MintyBoost into the iPad2 is roughly 70%, we can expect about a 25% boost to the iPad2&#8217;s 25Wh battery from a full charge (9.7Wh * 0.7 / 25Wh).</p>
<p>As far as the lamp run-time is concerned, the internal current to the LED is limited to 200mA. Assuming that the average battery pack voltage is 3.6V (1.2V * 3), we can estimate the power consumption of the LED at about 720mW (3.6V * 0.2A). From a 9.7Wh battery, we get just over 13 hours of light from a full charge (9.7Wh / 0.72W).</p>
<p>Notes: Discharging into an iPad 2 causes the battery pack to become warm. Although it is possible to both use the lamp feature and the charging port, it is more effective to use only one at a time.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.voltaicsystems.com/mod-the-ikea-sunnanto-charge-an-ipad2/feed/</wfw:commentRss>
			<slash:comments>53</slash:comments>
		
		
			</item>
		<item>
		<title>DIY Dynamo Video</title>
		<link>https://blog.voltaicsystems.com/diy-dynamo-video/</link>
					<comments>https://blog.voltaicsystems.com/diy-dynamo-video/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 05 Apr 2011 19:47:34 +0000</pubDate>
				<category><![CDATA[All]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[dynamo]]></category>
		<category><![CDATA[usb battery]]></category>
		<guid isPermaLink="false">http://80ca4ebf1c.nxcli.io/?p=1774</guid>

					<description><![CDATA[We shot a quick video of the DIY Dynamo charging our external battery that we covered in a previous post. It is connected up to a dual multimeter test box that Phillip worked up. Note that the dynamo is sending about 4.5V and about 400mA into the battery (these numbers bounce around a lot). If [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>We shot a quick video of the DIY Dynamo charging our external battery that we covered in a previous <a href="https://blog.voltaicsystems.com/make-a-dynamo-to-charge-your-phone/">post</a>. It is connected up to a dual multimeter test box that Phillip worked up. Note that the dynamo is sending about 4.5V and about 400mA into the battery (these numbers bounce around a lot). If Phillip could keep up the pace, he would have a full battery about 8-10 hours from now. Solar certainly seems easier!</p>
<p><iframe loading="lazy" src="https://www.youtube.com/embed/5FpCh-5Qf0M" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
<p>Here&#8217;s the full post on how to build <a href="https://blog.voltaicsystems.com/make-a-dynamo-to-charge-your-phone/">battery charging dynamo</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.voltaicsystems.com/diy-dynamo-video/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
