6 years, 10 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

6 years, 10 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