<?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: Battery Test Results</title>
	<atom:link href="http://groklab.org/handhygiene/2010/02/18/battery-test-results/feed/" rel="self" type="application/rss+xml" />
	<link>http://groklab.org/handhygiene/2010/02/18/battery-test-results/</link>
	<description>Just another Groklab.org weblog</description>
	<lastBuildDate>Mon, 28 Nov 2011 02:43:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: gthomas</title>
		<link>http://groklab.org/handhygiene/2010/02/18/battery-test-results/comment-page-1/#comment-119</link>
		<dc:creator>gthomas</dc:creator>
		<pubDate>Fri, 19 Feb 2010 15:12:31 +0000</pubDate>
		<guid isPermaLink="false">http://groklab.org/handhygiene/?p=588#comment-119</guid>
		<description>I&#039;m sick today and not firing on all cylinders.  Gregg and I reread your post and are having trouble understanding what you are suggesting.  Here&#039;s how I interpreted it:

The old code reads substantially higher ADC values than the new code.  We could set up the ADC link with the new code and if we don&#039;t get a reasonable reading (e.g., something between 1600 and 2600), we could that the mote is one of the old ones without a proper voltage divider.  In that case, we could run the old ADC code and see if we got some value between 2600 and 4000, indicating a valid internal voltage.  We could then monitor the internal voltage to shut the old-style pager off before it runs out power.

I&#039;m pretty sure that I don&#039;t have your idea quite right, but hopefully I&#039;m close.

However, we think that the old code wouldn&#039;t work very well without the voltage divider.  When we tested the pagers initially, we discovered that the voltage values were out of range -- we thought they were on a 5V scale and they were really on a 2.5V scale.  We changed the resister values in the voltage divider and got ADC readings that were in range.  Therefore the resister values affect the reading that you&#039;re calling the internal voltage.  This result gives me a queezy, cognitive dissonance feeling.  I haven&#039;t be able to grasp why something called internal voltage should depend on a wire connected to an external voltage.  I have a vague idea that is might have to do with a relative measurement on a mote that is designed to survive with a wide range of external voltage sources, but I&#039;m really not sure.

Just to confirm that we&#039;re not missing something important, Gregg is going to run a test looking for the ADC0 levels on a mote without a voltage divider or anything connected to the ADC0 pin.  We&#039;re thinking that he will just see noise.</description>
		<content:encoded><![CDATA[<p>I&#8217;m sick today and not firing on all cylinders.  Gregg and I reread your post and are having trouble understanding what you are suggesting.  Here&#8217;s how I interpreted it:</p>
<p>The old code reads substantially higher ADC values than the new code.  We could set up the ADC link with the new code and if we don&#8217;t get a reasonable reading (e.g., something between 1600 and 2600), we could that the mote is one of the old ones without a proper voltage divider.  In that case, we could run the old ADC code and see if we got some value between 2600 and 4000, indicating a valid internal voltage.  We could then monitor the internal voltage to shut the old-style pager off before it runs out power.</p>
<p>I&#8217;m pretty sure that I don&#8217;t have your idea quite right, but hopefully I&#8217;m close.</p>
<p>However, we think that the old code wouldn&#8217;t work very well without the voltage divider.  When we tested the pagers initially, we discovered that the voltage values were out of range &#8212; we thought they were on a 5V scale and they were really on a 2.5V scale.  We changed the resister values in the voltage divider and got ADC readings that were in range.  Therefore the resister values affect the reading that you&#8217;re calling the internal voltage.  This result gives me a queezy, cognitive dissonance feeling.  I haven&#8217;t be able to grasp why something called internal voltage should depend on a wire connected to an external voltage.  I have a vague idea that is might have to do with a relative measurement on a mote that is designed to survive with a wide range of external voltage sources, but I&#8217;m really not sure.</p>
<p>Just to confirm that we&#8217;re not missing something important, Gregg is going to run a test looking for the ADC0 levels on a mote without a voltage divider or anything connected to the ADC0 pin.  We&#8217;re thinking that he will just see noise.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tedherman</title>
		<link>http://groklab.org/handhygiene/2010/02/18/battery-test-results/comment-page-1/#comment-116</link>
		<dc:creator>tedherman</dc:creator>
		<pubDate>Thu, 18 Feb 2010 20:22:30 +0000</pubDate>
		<guid isPermaLink="false">http://groklab.org/handhygiene/?p=588#comment-116</guid>
		<description>Here is my question now.  Your experiments show that readings of ADC0 will be between, say 2622 and 1604 (but probably there is some variation beyond those figures).  Now, reading the internal voltage -- the old code -- is still meaningful for other, conventionally powered motes using NiMH or CZn types.  I suppose (but could be wrong) that the internal voltage measures on a 2.5v reference scale, so that we should expect to see numbers ABOVE the high end of your experiment, since 2622 would correspond to 1.6v on a direct, 2.5v scale (where 4095 is max possible reading, indicating 2.5v or more).  My point is this:  suppose you get a mix of motes, some from ADC0 and Li-Ion and others from internal voltage only, but you don&#039;t know which is which (later I can explain why you would not know this).  Do the numbers indicate we can actually make a good guess about which type of battery/ADC reading is being used?  If the answer is yes, code for power monitoring can be simplified.</description>
		<content:encoded><![CDATA[<p>Here is my question now.  Your experiments show that readings of ADC0 will be between, say 2622 and 1604 (but probably there is some variation beyond those figures).  Now, reading the internal voltage &#8212; the old code &#8212; is still meaningful for other, conventionally powered motes using NiMH or CZn types.  I suppose (but could be wrong) that the internal voltage measures on a 2.5v reference scale, so that we should expect to see numbers ABOVE the high end of your experiment, since 2622 would correspond to 1.6v on a direct, 2.5v scale (where 4095 is max possible reading, indicating 2.5v or more).  My point is this:  suppose you get a mix of motes, some from ADC0 and Li-Ion and others from internal voltage only, but you don&#8217;t know which is which (later I can explain why you would not know this).  Do the numbers indicate we can actually make a good guess about which type of battery/ADC reading is being used?  If the answer is yes, code for power monitoring can be simplified.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

