Hackpack v3: Difference between revisions
Brian Wilson (talk | contribs) |
Brian Wilson (talk | contribs) mNo edit summary |
||
Line 18: | Line 18: | ||
BQ24195 power management unit and battery charger [http://www.ti.com/lit/ds/symlink/bq24195.pdf (pdf data sheet)] | BQ24195 power management unit and battery charger [http://www.ti.com/lit/ds/symlink/bq24195.pdf (pdf data sheet)] | ||
[http://www.ti.com/lit/ug/sluua18a/sluua18a.pdf (pdf user guide)] | |||
MAX17043 fuel gauge [https://datasheets.maximintegrated.com/en/ds/MAX17043-MAX17044.pdf (pdf data sheet)] | MAX17043 fuel gauge [https://datasheets.maximintegrated.com/en/ds/MAX17043-MAX17044.pdf (pdf data sheet)] | ||
This chip has some registers you can read to find out the state of the battery. | This chip has some registers you can read to find out the state of the battery. | ||
You can put it to sleep to save power by dropping SDA and SCL for at least 2.5 seconds. | You can put it to sleep to save power by dropping SDA and SCL for at least 2.5 seconds. |
Revision as of 15:45, 28 May 2017
Hackpack v3 was part of the badge for Signal 2017.
It consists of a custom PC board with a socketed Particle Electron, a Lithium Ion battery, and 16 Neopixel LEDs.
Now that I am home, I am experimenting with it.
You can program it entirely via the Particle web site, or you can download Particle's fork of Atom, and use it to edit code. Atom is a Github product so as you might expect, your code gets stored in Github. Then you can compile the code (on the Web) and then you can flash it into the Electron.
I am trying out Atom right now. I installed it on my Mac.
Hello World
See the code and some variants at https://github.com/twilio/hackpack-v3
Hardware details
BQ24195 power management unit and battery charger (pdf data sheet) (pdf user guide)
MAX17043 fuel gauge (pdf data sheet) This chip has some registers you can read to find out the state of the battery. You can put it to sleep to save power by dropping SDA and SCL for at least 2.5 seconds.