<?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 ADC output in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-output/m-p/522170#M4806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Shoaib on Sun Sep 14 15:10:46 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using LPC1769 to measure current in a DC motor circuit and had some queries regarding the ADC of the microcontroller. I am using LTSR 15-np as the current sensor in +/- 5A range.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The sensor gives an output of 2.5V for 0 A current and increases upto 4.5V for 5A current. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When the motor circuit is disconnected (ie no current in the circuit)the adc is a giving a value of 3298/3299. I was expecting a value close to 2048.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I did not change the reference voltage given to the VREFP pin. Do I need to give 5V reference for this range?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:53:08 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:53:08Z</dc:date>
    <item>
      <title>ADC output</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-output/m-p/522170#M4806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Shoaib on Sun Sep 14 15:10:46 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using LPC1769 to measure current in a DC motor circuit and had some queries regarding the ADC of the microcontroller. I am using LTSR 15-np as the current sensor in +/- 5A range.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The sensor gives an output of 2.5V for 0 A current and increases upto 4.5V for 5A current. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When the motor circuit is disconnected (ie no current in the circuit)the adc is a giving a value of 3298/3299. I was expecting a value close to 2048.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I did not change the reference voltage given to the VREFP pin. Do I need to give 5V reference for this range?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:53:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-output/m-p/522170#M4806</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: ADC output</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-output/m-p/522171#M4807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by LabRat on Sun Sep 14 15:34:04 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Shoaib&lt;/STRONG&gt;&lt;BR /&gt;I was expecting a value close to 2048.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Shoaib&lt;/STRONG&gt;&lt;BR /&gt;Do I need to give 5V reference for this range?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Vmax for VREFP is VDDA (see datasheet). That's probably 3.3V in your case. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just use a simple voltage divider to reduce your sensor output and calibrate your zero current point (which is 2.5V [color=#f00]+- 0.625V[/color])...&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:53:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-output/m-p/522171#M4807</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: ADC output</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-output/m-p/522172#M4808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Shoaib on Wed Sep 17 03:16:47 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I somehow missed the point that I should limit the voltage to the adc upto 3.3V that explains the reading of 3298 as (3298/4095) is nearly equal to (2.5/3.3). Thanks for pointing that out!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:53:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-output/m-p/522172#M4808</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:53:09Z</dc:date>
    </item>
  </channel>
</rss>

