Battery voltage read


hi have 2 problems battery voltage indicator


int sensorvalue = analogread(a2);
float voltage = sensorvalue * (5.00 / 1023.00);


1.voltage value incorrect how tweak it?

2.if battery voltage goes down voltage value increase how fix it?



sorry english :d


quote
2.if battery voltage goes down voltage value increase how fix it?
use 1.1 v internal reference.


Arduino Forum > Using Arduino > Project Guidance > Battery voltage read


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'