Go Down

Topic: Lipo Fuel guage (Read 1 time) previous topic - next topic

snowman777

I just recently purchased a lipo fuel guage sensor by spark fun to monitor the battery life on a quad copter. Does anyone have any suggestions on how to implement this circuit with the arduino and sample code? I wanted it to send back a percentage every so often and giving a warning at a certain level. I have been trying to look for references on this with no luck. Thank you in advance.

Jeremy

Graynomad

How about a link to the gadget(s) in question?

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

RIDDICK

-Arne

wayneft

There's a link at the bottom of the page http://dsscircuits.com/lipo-fuel-gauge.html for a sample sketch.  The sketch is more of a menu driven example to show the functionality but you can probably take away the functions you need.
I2C GPS Shield

Checkout my Open Source GPS Tracker on Kickstarter

snowman777


RIDDICK

that thingy doesnt just use the voltage, but many other parameters and a cool algorithm...
its algorithm is described in the datasheet beginning at page 6...
-Arne

Graynomad

Normally you have to measure the in/out current do do what's called "coulomb counting" to figure out the SOC. That MAX chip doesn't do that but appears to be able to figure it out by just looking at voltages.

Quote
algorithm is described in the datasheet beginning at page 6...

Oh yes, I don't understand it but guess it must work.

There is example code and schematic on the Sparkfun page. The code is generic C but should port across to the Arduino.


______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

Go Up