<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Arduino battery capacity tester</title>
	<atom:link href="http://www.foobert.com/blog/2009/11/08/arduino-battery-capacity/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.foobert.com/blog/2009/11/08/arduino-battery-capacity/</link>
	<description>That which fades into the ether.</description>
	<lastBuildDate>Mon, 06 Feb 2012 17:47:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
	<item>
		<title>By: Andy</title>
		<link>http://www.foobert.com/blog/2009/11/08/arduino-battery-capacity/comment-page-1/#comment-5568</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Thu, 01 Dec 2011 15:26:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.foobert.com/blog/?p=471#comment-5568</guid>
		<description>Hi Scott;

I too am interesting in creating a constant-current discharger/logger. Would the TL431-based constant current sink work with 1.2v nmh batteries? Would using a MosFet in place of the BJT shown on the TI page work better?</description>
		<content:encoded><![CDATA[<p>Hi Scott;</p>
<p>I too am interesting in creating a constant-current discharger/logger. Would the TL431-based constant current sink work with 1.2v nmh batteries? Would using a MosFet in place of the BJT shown on the TI page work better?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.foobert.com/blog/2009/11/08/arduino-battery-capacity/comment-page-1/#comment-5564</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Sun, 27 Nov 2011 22:50:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.foobert.com/blog/?p=471#comment-5564</guid>
		<description>Thanks for the info. I do hobby electronics (passives, transistors, op-amps, etc.) , but I&#039;m not really up on MosFets. I want to take your idea (and thank you for posting it) and modify it to make the load constant-current by measuring the voltage drop across the resistor and varying the gate voltage to keep the current constant, regardless of the voltage. And of course, shut off when the voltage on the battery gets to the safe minimum.

Saw a circuit using an Op-Amp to drive the gate and keep the current constant, but not sure if I need the op-amp since I can use 2 of the A/D inputs to measure the voltage drop directly and calculate the current draw. I&#039;d use one of the PWM outputs and a cap to send a voltage to the gate.

Any suggestions on how I would go about choosing a suitable MosFet?

Thanks for your help. :)</description>
		<content:encoded><![CDATA[<p>Thanks for the info. I do hobby electronics (passives, transistors, op-amps, etc.) , but I&#8217;m not really up on MosFets. I want to take your idea (and thank you for posting it) and modify it to make the load constant-current by measuring the voltage drop across the resistor and varying the gate voltage to keep the current constant, regardless of the voltage. And of course, shut off when the voltage on the battery gets to the safe minimum.</p>
<p>Saw a circuit using an Op-Amp to drive the gate and keep the current constant, but not sure if I need the op-amp since I can use 2 of the A/D inputs to measure the voltage drop directly and calculate the current draw. I&#8217;d use one of the PWM outputs and a cap to send a voltage to the gate.</p>
<p>Any suggestions on how I would go about choosing a suitable MosFet?</p>
<p>Thanks for your help. <img src='http://www.foobert.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.foobert.com/blog/2009/11/08/arduino-battery-capacity/comment-page-1/#comment-5563</link>
		<dc:creator>john</dc:creator>
		<pubDate>Sun, 27 Nov 2011 02:18:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.foobert.com/blog/?p=471#comment-5563</guid>
		<description>I didn&#039;t exactly engineer it and just pieced it together to get the discharge current (drain-source ON resistance) I was looking for. I had a hand-full of unspecified low-current transistors sitting around and I just put them all in parallel to minimize the resistance.  

Really, most any N-channel FET that&#039;s solidly saturated when Vgs&gt;=4 V should work with a continuous current rating of &gt;500mA. You&#039;ll want to account for the resistance of the FET and adjust accordingly to get an accurate measurement.

Perhaps &lt;a href=&quot;http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00174698.pdf&quot; rel=&quot;nofollow&quot;&gt;this one&lt;/a&gt; would work fine for you. 

Another way to do it is to use a relay, but that&#039;s more costly. Alternatively, you could use nothing and just be ready to pull the battery out when it hits the low-voltage threshold.</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t exactly engineer it and just pieced it together to get the discharge current (drain-source ON resistance) I was looking for. I had a hand-full of unspecified low-current transistors sitting around and I just put them all in parallel to minimize the resistance.  </p>
<p>Really, most any N-channel FET that&#8217;s solidly saturated when Vgs>=4 V should work with a continuous current rating of >500mA. You&#8217;ll want to account for the resistance of the FET and adjust accordingly to get an accurate measurement.</p>
<p>Perhaps <a href="http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00174698.pdf" rel="nofollow">this one</a> would work fine for you. </p>
<p>Another way to do it is to use a relay, but that&#8217;s more costly. Alternatively, you could use nothing and just be ready to pull the battery out when it hits the low-voltage threshold.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.foobert.com/blog/2009/11/08/arduino-battery-capacity/comment-page-1/#comment-5562</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Sun, 27 Nov 2011 00:44:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.foobert.com/blog/?p=471#comment-5562</guid>
		<description>Thanks for the schematic. :)

What did you use for Q1? What are the required specs for Q1?</description>
		<content:encoded><![CDATA[<p>Thanks for the schematic. <img src='http://www.foobert.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>What did you use for Q1? What are the required specs for Q1?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.foobert.com/blog/2009/11/08/arduino-battery-capacity/comment-page-1/#comment-5561</link>
		<dc:creator>john</dc:creator>
		<pubDate>Sat, 26 Nov 2011 20:51:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.foobert.com/blog/?p=471#comment-5561</guid>
		<description>Updated!

The usage of the FET to stop discharging probably isn&#039;t entirely obvious to everyone. Thanks for motivating me to actually draw it out.</description>
		<content:encoded><![CDATA[<p>Updated!</p>
<p>The usage of the FET to stop discharging probably isn&#8217;t entirely obvious to everyone. Thanks for motivating me to actually draw it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.foobert.com/blog/2009/11/08/arduino-battery-capacity/comment-page-1/#comment-5560</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Sat, 26 Nov 2011 15:44:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.foobert.com/blog/?p=471#comment-5560</guid>
		<description>Thanks for posting this.
Did I miss the link to the parts list and schematic?</description>
		<content:encoded><![CDATA[<p>Thanks for posting this.<br />
Did I miss the link to the parts list and schematic?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.foobert.com/blog/2009/11/08/arduino-battery-capacity/comment-page-1/#comment-5388</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 22 Dec 2010 16:07:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.foobert.com/blog/?p=471#comment-5388</guid>
		<description>@Scott: It&#039;s good point, especially for LION where the discharge profile has the voltage steadily declining throughout the discharge cycle. NiMH has a fairly stable voltage profile that falls off a &quot;cliff&quot; quite rapidly upon depletion. Thus, I suspect you&#039;d see minimal difference in the measured capacity for the two methods. 

Constant &lt;em&gt;power&lt;/em&gt; discharge would probably be the best method for applications that use nonlinear voltage regulation.</description>
		<content:encoded><![CDATA[<p>@Scott: It&#8217;s good point, especially for LION where the discharge profile has the voltage steadily declining throughout the discharge cycle. NiMH has a fairly stable voltage profile that falls off a &#8220;cliff&#8221; quite rapidly upon depletion. Thus, I suspect you&#8217;d see minimal difference in the measured capacity for the two methods. </p>
<p>Constant <em>power</em> discharge would probably be the best method for applications that use nonlinear voltage regulation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Vitale</title>
		<link>http://www.foobert.com/blog/2009/11/08/arduino-battery-capacity/comment-page-1/#comment-5387</link>
		<dc:creator>Scott Vitale</dc:creator>
		<pubDate>Wed, 22 Dec 2010 11:03:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.foobert.com/blog/?p=471#comment-5387</guid>
		<description>Hi John:
I was looking over your code/project.  You put a lot of thought into the features ... and its a good application for an ARDUINO.  

I&#039;m currently working on a project that is similar to yours but is acting as a chart recorder.  I am testing Li-Ion charge/discharge characteristics for another project.  I had thought about using a simple resistor load but in using that method, the actual load current diminishes as the cell voltage decreases.  In my humble opinion, sinking constant current increases the accuracy of your measurments and is a &quot;more correct&quot; way to determine discharge ratings of a battery.

In my application, I used a constant current sink.  I chose a TL431 &quot;Adjustable Precision Shunt Regulator&quot;.  On page 29 of the Texas Instruments data sheet, there is a schematic for a &quot;Precision Constant Current Sink&quot;.  You can power the TL431 from the ARDUINO 5V supply rail and attach the collector of the sink transistor to your battery.  Since the TL431&#039;s &quot;REF&quot; pin has a constant 2.495V (+/-%), it could also be used as your A/D reference instead of the resistor divider you used.  The &quot;Standard Grade&quot; part has a +/- 2% tolerance, while the &quot;B Grade&quot; part sports +/- 0.5% tolerance.

Thanks for posting your work.

Best regards,
Scott</description>
		<content:encoded><![CDATA[<p>Hi John:<br />
I was looking over your code/project.  You put a lot of thought into the features &#8230; and its a good application for an ARDUINO.  </p>
<p>I&#8217;m currently working on a project that is similar to yours but is acting as a chart recorder.  I am testing Li-Ion charge/discharge characteristics for another project.  I had thought about using a simple resistor load but in using that method, the actual load current diminishes as the cell voltage decreases.  In my humble opinion, sinking constant current increases the accuracy of your measurments and is a &#8220;more correct&#8221; way to determine discharge ratings of a battery.</p>
<p>In my application, I used a constant current sink.  I chose a TL431 &#8220;Adjustable Precision Shunt Regulator&#8221;.  On page 29 of the Texas Instruments data sheet, there is a schematic for a &#8220;Precision Constant Current Sink&#8221;.  You can power the TL431 from the ARDUINO 5V supply rail and attach the collector of the sink transistor to your battery.  Since the TL431&#8242;s &#8220;REF&#8221; pin has a constant 2.495V (+/-%), it could also be used as your A/D reference instead of the resistor divider you used.  The &#8220;Standard Grade&#8221; part has a +/- 2% tolerance, while the &#8220;B Grade&#8221; part sports +/- 0.5% tolerance.</p>
<p>Thanks for posting your work.</p>
<p>Best regards,<br />
Scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hector Albornoz</title>
		<link>http://www.foobert.com/blog/2009/11/08/arduino-battery-capacity/comment-page-1/#comment-5286</link>
		<dc:creator>Hector Albornoz</dc:creator>
		<pubDate>Fri, 23 Jul 2010 12:55:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.foobert.com/blog/?p=471#comment-5286</guid>
		<description>Thank you for this exciting project.
I have to test the batteries of 16V or 12V.
I could indicate how you made the connections or a Schematic of tester?</description>
		<content:encoded><![CDATA[<p>Thank you for this exciting project.<br />
I have to test the batteries of 16V or 12V.<br />
I could indicate how you made the connections or a Schematic of tester?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MichaelDallas</title>
		<link>http://www.foobert.com/blog/2009/11/08/arduino-battery-capacity/comment-page-1/#comment-5227</link>
		<dc:creator>MichaelDallas</dc:creator>
		<pubDate>Wed, 24 Mar 2010 03:23:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.foobert.com/blog/?p=471#comment-5227</guid>
		<description>I&#039;ve constructed a version of this.  I noticed your comments about not trusting the VOM on the low R (ohm) readings and to measure the current and calculate backwards. You may want to reconsider. I assume you said this because you had problems making the calibration numbers balance (V/I=R).  My calculation seemed to indicate an additional .7R to .8R in the system (in addition to the 2.1R resistors).  I finally decided to measure the VOM which was measuring current with another VOM for any R that the (first) VOM might be adding.  Sure enough, the VOM measuring current added .7R to .8R. While .7R doesn&#039;t mean much in a high impedence system, it makes a big difference when added to 2R of the load resistors.

Thanks again for posting your example.  I had independently thought of building this gadget.  Your code saved me a ton of time.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve constructed a version of this.  I noticed your comments about not trusting the VOM on the low R (ohm) readings and to measure the current and calculate backwards. You may want to reconsider. I assume you said this because you had problems making the calibration numbers balance (V/I=R).  My calculation seemed to indicate an additional .7R to .8R in the system (in addition to the 2.1R resistors).  I finally decided to measure the VOM which was measuring current with another VOM for any R that the (first) VOM might be adding.  Sure enough, the VOM measuring current added .7R to .8R. While .7R doesn&#8217;t mean much in a high impedence system, it makes a big difference when added to 2R of the load resistors.</p>
<p>Thanks again for posting your example.  I had independently thought of building this gadget.  Your code saved me a ton of time.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

