Unexpected Analog Input Results
#1
Posted 20 August 2012 - 07:48 PM
#2
Posted 20 August 2012 - 08:04 PM
Netduino analog input voltage has to be in range 0 - 3.3V, resp. 0 - Aref (Aref is connected internally to 3.3V on Rev.B boards). Anything above 3.3V reads as 1023. But you should not connect 5V to analog inputs, they are not 5V tolerant (unlike when configured as digital I/O), you'd probably need to use a voltage divider for that.Any ideas why the Netduino is converting the 4.12 volts into 1023? Thanks in advance.
#3
Posted 20 August 2012 - 08:13 PM
Netduino analog input voltage has to be in range 0 - 3.3V, resp. 0 - Aref (Aref is connected internally to 3.3V on Rev.B boards). Anything above 3.3V reads as 1023. But you should not connect 5V to analog inputs, they are not 5V tolerant (unlike when configured as digital I/O), you'd probably need to use a voltage divider for that.
That explains it! Thank you. I obviously did not know that. That makes using sensors that output higher than 3.3 volts slightly more difficult. As you said, I guess I need to scale the voltage down using a voltage divider.
Thanks again!
#4
Posted 27 August 2013 - 12:47 PM
What formula are you using to convert the Alalog output of the MPX4115A to a presure reading?
#5
Posted 31 January 2014 - 05:36 AM
What formula are you using to convert the Alalog output of the MPX4115A to a presure reading?
it's explained on datasheet. or you can refer to sensitivity of the sensor to get millibar or pascal.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users