battery indicator
Moderator: Moderators
well heres an update - i got my chips today! i heart TI. in 36 hours flat they did ship them.
i was starting to assemble the prototype, it looks like this right now:
https://muss.cis.mcmaster.ca/~bernast/i ... yboard.jpg
tiny eh? the baord is very basic, its mostly to allow me to solder things to the miniscule pins than to serve as an actual functional board. it will be way different in the final version.
the way these chips work is somewhat peculiar... i need a way that the user can pull pins 2-7 up or down (or even leave them floating!), to change some pack-dependant settings. i dont want to use dpdt DIP's, because that would bring up costs, so i was thining mabe id just set it up so there was a row of pads that you could short with a bead of solder... unfortunately this would lead to a double-sided pcb... which will also bring up costs. lol.
i need a few MOSFETs to complete this, and i have two exams in the next two days. im hoping to go to the local electronics store (NOT radioshack, damn them) friday or saturdayish. i also need to buy a 7.2v Ni-Mh pack to test it with! im just going to get some cheap no-name batteries from the surplus store ($15 for six, 2200mAh claimed, but theryre prob. closer to 1900) and make my own pack.
i was starting to assemble the prototype, it looks like this right now:
https://muss.cis.mcmaster.ca/~bernast/i ... yboard.jpg
tiny eh? the baord is very basic, its mostly to allow me to solder things to the miniscule pins than to serve as an actual functional board. it will be way different in the final version.
the way these chips work is somewhat peculiar... i need a way that the user can pull pins 2-7 up or down (or even leave them floating!), to change some pack-dependant settings. i dont want to use dpdt DIP's, because that would bring up costs, so i was thining mabe id just set it up so there was a row of pads that you could short with a bead of solder... unfortunately this would lead to a double-sided pcb... which will also bring up costs. lol.
i need a few MOSFETs to complete this, and i have two exams in the next two days. im hoping to go to the local electronics store (NOT radioshack, damn them) friday or saturdayish. i also need to buy a 7.2v Ni-Mh pack to test it with! im just going to get some cheap no-name batteries from the surplus store ($15 for six, 2200mAh claimed, but theryre prob. closer to 1900) and make my own pack.

"Linux is only free if your time is worthless"
-
sniper_spike
- Posts: 761
- Joined: Tue Nov 22, 2005 8:41 am
- Location: Ontario, Canada
- Contact:
-
Turbo Tax 1.0
- Portablizer Extraordinaire
- Posts: 4773
- Joined: Wed Mar 30, 2005 6:19 pm
- Location: Delaware, no sales tax
- Contact:
-
sniper_spike
- Posts: 761
- Joined: Tue Nov 22, 2005 8:41 am
- Location: Ontario, Canada
- Contact:
-
Turbo Tax 1.0
- Portablizer Extraordinaire
- Posts: 4773
- Joined: Wed Mar 30, 2005 6:19 pm
- Location: Delaware, no sales tax
- Contact:
the pin header is for the LED's. a ribbon cable will go onto the pin header, and the leds will go on the other end of the ribbon cable
or you can just solder them directly to the pins like i did on mine
this thing works by measuring how much current it takes to charge it, then counting backwards during discharge to accurately light up the LED's. every time you charge or discharge it, it remembers how much capacity it had, and updates its internal memory. there is a limit though. it had a "programmed full count", and a "capactiy error". PFC - error = capacity. but when the error register hits max, it just stops counting. i belive you can get around this by changing the PFC (the PFC is determined by sensing which of pins 2-7 are high, float, or low), and resetting it.
also the datasheet dosent specify how many cells this can be used for, but i think its only limited by the breakdown voltage of your MOSFETs, since the chip itself uses a voltage regulator to get its power (not a reg like youre used to, but some sort of weird DMOS thingy that i dont fully understand yet). im going to design it like its going to be used for a 7.2v pack, but by changing like two resistors you could set it up for almost any voltage. (ill probably also offer a separate 3/4 cell model, since it dosent need the whole reg thing to run off 3 or 4 cells, and thus would be like 4 dollars cheaper)
or you can just solder them directly to the pins like i did on mine
this thing works by measuring how much current it takes to charge it, then counting backwards during discharge to accurately light up the LED's. every time you charge or discharge it, it remembers how much capacity it had, and updates its internal memory. there is a limit though. it had a "programmed full count", and a "capactiy error". PFC - error = capacity. but when the error register hits max, it just stops counting. i belive you can get around this by changing the PFC (the PFC is determined by sensing which of pins 2-7 are high, float, or low), and resetting it.
also the datasheet dosent specify how many cells this can be used for, but i think its only limited by the breakdown voltage of your MOSFETs, since the chip itself uses a voltage regulator to get its power (not a reg like youre used to, but some sort of weird DMOS thingy that i dont fully understand yet). im going to design it like its going to be used for a 7.2v pack, but by changing like two resistors you could set it up for almost any voltage. (ill probably also offer a separate 3/4 cell model, since it dosent need the whole reg thing to run off 3 or 4 cells, and thus would be like 4 dollars cheaper)

"Linux is only free if your time is worthless"
well it depends on how smoothly it goes. if it works on the first try, perhaps i will have a christmas present for you.
if it dosent, who knows...
as far as when i go into production, probably mid january or something. i need to find a reliable way to produce circuit boards.
if it dosent, who knows...
as far as when i go into production, probably mid january or something. i need to find a reliable way to produce circuit boards.

"Linux is only free if your time is worthless"
