<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="http://forum.robosavvy.com/feed.php?f=5&amp;t=3396" />

<title>RoboSavvy Forum</title>
<subtitle>Robosavvy Forum: The largest online community of Humanoid Robot Builders</subtitle>
<link href="http://forum.robosavvy.com/index.php" />
<updated>2009-03-11T10:37:36+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=3396</id>
<entry>
<author><name><![CDATA[ksamay]]></name></author>
<updated>2009-03-11T10:37:36+01:00</updated>
<published>2009-03-11T10:37:36+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3396&amp;p=19370#p19370</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3396&amp;p=19370#p19370"/>
<title type="html"><![CDATA[Thanks once again.]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3396&amp;p=19370#p19370"><![CDATA[
Yup, Accuracy is not that important as i just need to see if any of the cells reach 3 V.<br /><br />Finally, This should work!<br /><br />Thanks a lot,<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1221">ksamay</a> — Wed Mar 11, 2009 10:37 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[RandomMatt]]></name></author>
<updated>2009-03-11T09:57:15+01:00</updated>
<published>2009-03-11T09:57:15+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3396&amp;p=19368#p19368</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3396&amp;p=19368#p19368"/>
<title type="html"><![CDATA[Detecting individual cell voltages of a LiPo]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3396&amp;p=19368#p19368"><![CDATA[
Resistor bridges.<br /><br />In more detail...<br /><br />connect cell 0 gnd to gnd<br />connect cell 0 pos to adc0<br />connect cell 1 pos to 10k resistor to adc1 to 10k resistor to gnd<br />connect cell 2 pos to 10k resistor to adc2 to 5k resistor to gnd<br /><br />adc0 should 'see' the voltage of cell 0<br />adc1 should 'see' the voltage of (cell 0 + cell 1) / 2<br />adc2 should 'see' the voltage of (cell 0 + cell 1 + cell 2) / 3<br /><br />--<br /><br />The problem with this is accuracy - you only have a 9bit reading for cell1, and even fewer for cell 2.  But I suspect that it is good enough for what you want.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1296">RandomMatt</a> — Wed Mar 11, 2009 9:57 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ksamay]]></name></author>
<updated>2009-03-11T09:10:34+01:00</updated>
<published>2009-03-11T09:10:34+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3396&amp;p=19367#p19367</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3396&amp;p=19367#p19367"/>
<title type="html"><![CDATA[Thanks Matt]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3396&amp;p=19367#p19367"><![CDATA[
it worked!, there was a little offset from the actual value which ill have to calibrate.<br /><br />But i hit another roadblock.<br /><br />I had initially planned to connect the Cell_GND to GND, 3 cell pins to ADC pin 0, 1 ,2.<br /><br />But, after testing i discovered a fundamental flaw.<br /><br />Although i can measure the voltage of the first cell, i can't do the same for the other cells as the V_ADCpin2= V_cell1 + V_cell2 ( 4.2V + 4.2 V ).<br /><br /><br />Any ideas ?<br /><br />Thanks<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1221">ksamay</a> — Wed Mar 11, 2009 9:10 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[RandomMatt]]></name></author>
<updated>2009-03-10T20:45:36+01:00</updated>
<published>2009-03-10T20:45:36+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3396&amp;p=19364#p19364</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3396&amp;p=19364#p19364"/>
<title type="html"><![CDATA[Detecting individual cell voltages of a LiPo]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3396&amp;p=19364#p19364"><![CDATA[
I think you are mistaken... if you are using the ADC pins as general IO then yes, 20ma is your limit.  But you are going to use them as ADC inputs.  A quick glance at the datasheet I have to hand (for a 164p - value is called R_AIN) shows the input resistance of the ADC pin at 100Mohms - so you needn't worry about it drawing <span style="font-style: italic">any</span> current when in ADC mode.<br /><br />But... software errors do happen (say, using the pin as an output).  So, if you want to be sure your safe, use a current limiting resistor... I think that you only need a resistor of 220ohms (or more) to do it - but feel free to go for whatever you have lying around.<br /><br /><span style="font-size: 75%; line-height: 116%;">V=IR says... 220ohm = 4.4v / 20ma</span><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1296">RandomMatt</a> — Tue Mar 10, 2009 8:45 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ksamay]]></name></author>
<updated>2009-03-10T12:57:29+01:00</updated>
<published>2009-03-10T12:57:29+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3396&amp;p=19362#p19362</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3396&amp;p=19362#p19362"/>
<title type="html"><![CDATA[Detecting individual cell voltages of a LiPo]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3396&amp;p=19362#p19362"><![CDATA[
Hi,<br /><br />I was planning to read the individual cell voltages of a 11.1V (3 cell ) Lipo using the the balancer tab, so as to shut down the system incase any of the cells drops below 3V under load.<br /><br />My basic approach is to connect 3 cells to individual analog input(ADC) pins of a Atmega 168 ( running at 5V). <br /><br />I need some help with the electronics involved.<br /><br />My thought is that the voltage should not be a problem as the max voltage of individual cell is 4.2V ( below the 5 V adc limit).<br /><br />But the current might be , as the ADC pins have a 20 mA limit.<br /><br />Any suggestions ?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1221">ksamay</a> — Tue Mar 10, 2009 12:57 pm</p><hr />
]]></content>
</entry>
</feed>