Pages: [1]   Go Down
Author Topic: Lipo Fuel guage  (Read 823 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 121
Posts: 8453
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Brunsbüttel, SH, F.Rep.GERM
Offline Offline
God Member
*****
Karma: 4
Posts: 596
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

http://www.rcgroups.com/forums/showpost.php?p=16219470&postcount=4 ?
Logged

-Arne

Worcester, MA
Offline Offline
God Member
*****
Karma: 2
Posts: 623
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

I2C GPS Shield

Checkout my Open Source GPS Tracker on Kickstarter

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sorry here is the component im using

http://www.sparkfun.com/products/10617
Logged

Brunsbüttel, SH, F.Rep.GERM
Offline Offline
God Member
*****
Karma: 4
Posts: 596
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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...
Logged

-Arne

nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 121
Posts: 8453
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Pages: [1]   Go Up
Jump to: