Hi guys,

 

I just got my AttoPilot Voltage and Current sensor (50V 90A) and soldered two XT60 connectors and some wiring on it.

 

However the output from the voltage lead is a but high.

 

I've got my battery (Lipo 3S, 12.60V) connected but the following program returns 13.14V-13.26V. 

 

Any suggestions?

 

 
VRaw = analogRead(A0);VFinal = VRaw/12.99;Serial.print(VFinal);
Serial.println(" Volts");delay(20);

Best regards Michael

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Where does the 12.99 figure come from?

    Have you accounted for the actual reference voltage on the A/D?  The default assumes 5.0 V but if it's lower, you'll get a higher reading.

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…