Read Voltage from LiPo Battery smart lead

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

References

Nil.

Application

Lithium Polymer Batteries (LiPO)

Arduino analogue read.

Pre Knowledge

Arduino IDE

C++

Github

Download the github using the link below and save it in your Arduino projects folder.

https://github.com/brisbaneroboticsclub/ReadLiPo

LiPo Batter smart lead Pinout

For this example we used a 3s LiPo battery.

CableColourName
1RedS3
2BlackS2
3BlackS1
4BlackGND

Multimeter Testing

GroundPositiveResult
GNDS14.08V
GNDS28.16V
GNDS312.25V

It appears that the voltage output is accumulative and does not reflect the voltage of each cell.

The Arduino analogue ports have a maximum input voltage of 5 volts.

We can only measure the voltage between GND and S1. We will not be able to measure the voltage of any other cells.

Connect the LiPo smart lead to the Arduino

LiPoArduino
GNDGND
s1A0

The analogue signal reads the voltage and converts it to a value between 0 and 1023.

To convert the signal to volts, divide the analogue data by 1023 and multiply by 5 volts.

Connect the Arduino to your computer. Ensure you’re using the right COM port and board type and UPLOAD the code.

Open the serial monitor (Tools>Serial Monitor) to see the values.

Did it work for you?

If this didn’t work, please message us or raise an issue on our github.

https://github.com/brisbaneroboticsclub/ReadLiPo/issues

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.