Has anyone used the sparkfun LiPO fuel gauge with the Teensy 3.0?
Hi again all ;p Before antything else, yes, I know that this is not the sparkfun forum. I decided to ask this here because you guys are nicer and because it is Teensy related.
I had decided that I would try to integrate a fuel gauge into my hoop. I went ahead and got a couple of the LIPO fuel gauges from sparkfun (https://www.sparkfun.com/products/10617).
The fuel gauge got here a couple of days ago and I went back to read the comments on sparkfun to make sure I did not screw anything up. I noticed in the comments that apparently on the board the battery is hooked to the vcc.
In the same comment thread I saw that someone cut the track connecting the vcc to the battery as a solution.
Since cutting the track is a very permanent solution I was wondering if a 1N4001 diode in line between the Teensy 3.0 3.3v and the vcc on the fuel gauge might work just as well.
I have hooked a battery to the fuel gauge and then read the voltage at the vcc and the voltage does just pass right through which seems wrong to me, but I know very little about what I am reading and trying to understand.
Thanks in advance for any insight to this.
Hi again all ;p Before antything else, yes, I know that this is not the sparkfun forum. I decided to ask this here because you guys are nicer and because it is Teensy related.
I had decided that I would try to integrate a fuel gauge into my hoop. I went ahead and got a couple of the LIPO fuel gauges from sparkfun (https://www.sparkfun.com/products/10617).
The fuel gauge got here a couple of days ago and I went back to read the comments on sparkfun to make sure I did not screw anything up. I noticed in the comments that apparently on the board the battery is hooked to the vcc.
from the sparkfun comments said:From the datasheet and schematic I see a possible issue for 3.3V systems. They connected all the pullup resistors and the chips VDD to the battery voltage (labeled VCC), however Figure 7 in the datasheet shows the connections should be tied to the 3.3V of the microcontroller and isolated from the battery’s voltage, which could fluctuate from 2.6V to 4.2V. I think this could mean up to 4.2V signal levels on the 3.3V chip, but I’m not sure if this would actually cause a problem. Maybe try this out with a 5V Arduino? Looking at the signals with a logic probe or oscope might help. If I get I2C working on the datalogger (which runs at 3.3V) I’ll give this a try. Hopefully it’s just a code issue.
In the same comment thread I saw that someone cut the track connecting the vcc to the battery as a solution.
sparkfun comments said:I cut the track that joins the Cell positive to the Chip VCC and pull up resistors. The track is easy to find, when looking at the back of the board, with the “Fuel Gauge” text at the top, the track to cut is the one that runs around (from 12 oclock to 3 oclock) the CELL -ve pad in the center of the board and attaches to the VCC pad on the right side.
Once this track is cut, the VCC needs to be connected to a 3.3V (2.5V to 4.5V) supply, but you will have nicely isolated the LiPo voltage from the other supplies you have. This is for version V11
Since cutting the track is a very permanent solution I was wondering if a 1N4001 diode in line between the Teensy 3.0 3.3v and the vcc on the fuel gauge might work just as well.
I have hooked a battery to the fuel gauge and then read the voltage at the vcc and the voltage does just pass right through which seems wrong to me, but I know very little about what I am reading and trying to understand.
Thanks in advance for any insight to this.
Last edited: