Hi All,
 
I would like to confirm with all of you for converting ADC readings into battery voltage.
 
From MPR datasheet, we have a formula to change from ADC readings to voltage at ADC channel 7 for measuring battery voltage.
 
Vout = Vref xADC_FS/ ADC_output
 
Vref = 1.223 V
ADC_FS = 1024
ADC_output = reading from ADC channel 7.
 
Is this formula can be applicable to other ADC channel readings (ADC0..ADC6)? Currently, I got some readings from new sensor type, and I would like to change ADC output to voltage for calibration of sensors.
 
Thanks you very much.
 
Regards,
 
Aung Aung Phyo Wai
 
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to