Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 6 months ago.
How I can identify analogue input voltage?
I measure volt and current .. I need to put conditions in my program .. but how to identify the max and min value .. ?
1 Answer
7 years, 6 months ago.
Hi Akram,
The max input voltage normally for mbed devices is 3.3V. If you measure 3.3V then in your program you will receive 1, if its half of this you will receive 0.5 etc.
You should read here: https://developer.mbed.org/handbook/AnalogIn
And also look at several threads describing the opreations https://developer.mbed.org/questions/3623/AnalogIN-andConvert-the-analog-reading-t/.
Regards,
Andrea, team mbed