<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ADC voltage divider, seeking help for interface and input resistance in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-voltage-divider-seeking-help-for-interface-and-input/m-p/528138#M9543</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by IanB on Sun Jul 26 10:36:28 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;What it actually means is that the output resistance the voltage source driving your A/D input must be &amp;lt;40kΩ.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you use the values you specify, then the source resistance is R1 in parallel with R2 = 7.8kΩ which is plenty good enough.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The input resistance (2.5MΩ) appears in parallel with your lower divider resistor (8.8kΩ) so it will appear as 8.769kΩ, giving a worst-case error of 0.35%.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Presmuing that you are using 1% tolerance resistors, then the error from the input resistance of the A/D converter will less than the error contribution from the resistor tolerance; and probably a LOT better than the tolerance on your reference voltage, which is your 3.3V supply voltage.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;C isn't strictly necessary but will filter out any noise above 2kHz - are you expecting much noise beyond 2kHz? Is the noise on the battery voltage or on your 3.3V supply?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, why don't you just divide by 10 (18kΩ and 2kΩ will do the trick) and then the maths is easier?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This website &lt;/SPAN&gt;&lt;A href="http://"&gt;http://jansson.us/resistors.html&lt;/A&gt;&lt;SPAN&gt; is very handy for resistor calculations!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:26:59 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:26:59Z</dc:date>
    <item>
      <title>ADC voltage divider, seeking help for interface and input resistance</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-voltage-divider-seeking-help-for-interface-and-input/m-p/528137#M9542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Harrie on Fri Jul 24 03:52:59 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;For a project I would like to use the ADC from a LPC11C24FBD48 to measure the voltage of 12V and 24V battieries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I'm struggeling with finding the right resistor values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So far I have come to the following result:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To get an output voltage of 3.3 V with and input of 30 volt, using:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;R1 = 71.2 kOhm&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;R2 = 8.8 kOhm&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C&amp;nbsp;&amp;nbsp; = 10 nF&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From the datasheet I found that the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rvsi&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; voltage source interface resistance = 40 kOhm&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ri&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input resistance&amp;nbsp; = 2.5 MOhm&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone please advice me how to take the interface and input resistance into account?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For a schematic overview of the divider please following the link below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://http://www.falstad.com/circuit/circuitjs.html?cct=$+1+0.000005+0.9487735836358525+47+5+50%0AR+192+80+128+80+0+4+40+15+15+0+0.5%0Ar+192+96+192+160+0+90000%0Ar+192+192+192+240+0+10000%0Aw+192+80+192+96+0%0Aw+192+192+192+176+0%0Aw+192+240+192+272+0%0Ag+192+272+192+304+0%0Aw+192+160+192+176+0%0Aw+192+176+288+176+0%0Aw+176+176+192+176+0%0Ag+112+176+80+176+0%0Ac+176+176+112+176+0+1e-8+2.645999999886643%0AO+288+80+384+80+1%0A167+432+176+512+176+0+4%0AR+432+272+368+272+0+0+40+3.3+0+0+0.5%0Aw+432+176+288+176+0%0Aw+528+272+592+272+0%0Aw+528+176+592+176+0%0A166+640+176+736+176+0+4%0AR+768+272+816+272+0+0+40+3.3+0+0+0.5%0Aw+736+272+768+272+0%0AO+736+176+816+176+1%0Aw+576+240+528+240+0%0Aw+576+240+592+240+0%0Aw+528+208+544+208+0%0Aw+544+208+592+208+0%0Aw+592+176+640+176+0%0Aw+592+208+640+208+0%0Aw+640+240+592+240+0%0Aw+592+272+640+272+0%0AO+288+144+384+144+1%0Aw+288+144+288+176+0%0Aw+288+80+192+80+0%0Ao+12+64+0+550+37.41444191567111+9.765625e-55+0+-1%0Ao+21+64+0+34+4.676805239458889+9.765625e-55+1+-1%0Ao+30+64+0+34+5+0.00009765625+1+-1%0A"&gt;Circuit drawing&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:26:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-voltage-divider-seeking-help-for-interface-and-input/m-p/528137#M9542</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: ADC voltage divider, seeking help for interface and input resistance</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-voltage-divider-seeking-help-for-interface-and-input/m-p/528138#M9543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by IanB on Sun Jul 26 10:36:28 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;What it actually means is that the output resistance the voltage source driving your A/D input must be &amp;lt;40kΩ.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you use the values you specify, then the source resistance is R1 in parallel with R2 = 7.8kΩ which is plenty good enough.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The input resistance (2.5MΩ) appears in parallel with your lower divider resistor (8.8kΩ) so it will appear as 8.769kΩ, giving a worst-case error of 0.35%.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Presmuing that you are using 1% tolerance resistors, then the error from the input resistance of the A/D converter will less than the error contribution from the resistor tolerance; and probably a LOT better than the tolerance on your reference voltage, which is your 3.3V supply voltage.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;C isn't strictly necessary but will filter out any noise above 2kHz - are you expecting much noise beyond 2kHz? Is the noise on the battery voltage or on your 3.3V supply?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, why don't you just divide by 10 (18kΩ and 2kΩ will do the trick) and then the maths is easier?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This website &lt;/SPAN&gt;&lt;A href="http://"&gt;http://jansson.us/resistors.html&lt;/A&gt;&lt;SPAN&gt; is very handy for resistor calculations!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:26:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-voltage-divider-seeking-help-for-interface-and-input/m-p/528138#M9543</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:26:59Z</dc:date>
    </item>
  </channel>
</rss>

