Hello, I measured the voltage of 18650 batteries with a voltage sensor module, and the values seem to be different from the multimeter.
The voltage sensor module I used was this module.
However, if the multimeter says, for example, 3.8 V, the voltage sensor shows that the voltage is higher than 3.8, so it comes out as 3.91.
The code used in Arduino was as follows:
void setup() {
Serial.begin(9600);
}
void loop() {
float V_ADC_A = analogRead(A0);
float V_A = V_ADC_A * 5.0 / 1024.0 / 0.2;
Serial.print(V_A,4);
delay(1000);
}
Are the calculation values used in V_A wrong? Or is it that the exact value cannot be obtained due to the characteristics of Arduino Uno?
7 posts - 7 participants