This content has been marked as final.
Show 4 replies
-
1. Re: ADC_SAR_Seq problem
bob.marlowe Mar 29, 2017 1:20 AM (in response to publicsw7_2293906)Welcome in the forum, David.
Because no voltage may be larger than Vdd you will need a resistor ladder to reduce your analog input to 3.3V.
Bob
-
2. Re: ADC_SAR_Seq problem
publicsw7_2293906 Mar 29, 2017 2:55 AM (in response to bob.marlowe)but my input range need 0-5v input
-
3. Re: ADC_SAR_Seq problem
bob.marlowe Mar 29, 2017 5:07 AM (in response to publicsw7_2293906)Well, and? The resistor ladder will reduce the 5.0V input to (for instance) 3.0 V. then you do a re-calculation like Voltage = Measured * 5.0 / 3.0;
There is an API to set the gain and offset, so that the count to volt API does this automatically.
Bob
-
4. Re: ADC_SAR_Seq problem
publicsw7_2293906 Mar 29, 2017 12:13 PM (in response to bob.marlowe)thanks