Hooks into the CE pin of TP4056 to add some extra features - overvolt cutoff - overtime cutoff - overtemperature cutoff (by use of MCP9808) - info on little OLED screen - battery presence detection Future features - current detection and cutoff (waiting for INA219 breakout for this) - Runtime configurable parameters by serial - Send stats over serial to desktop application Known flaws - see readme Circuit schematic coming soon (tm), see readme Designed and tested for nucleo F303RE but should be easily adaptable to any board. License: GPL v3
Dependencies: OLED_SSD1306 MCP9808
Revisions of main.cpp
Revision | Date | Message | Actions |
---|---|---|---|
9:272f6963c3b8 | 2020-09-15 | Switch to serialCLI for IO started. Also, attempted to meet sample rate exactly but not much difference (10-20ms over). | File Diff Annotate |
8:c781f4ae7eb3 | 2020-08-28 | Fix inaccurate function that was accidentally also accurate | File Diff Annotate |
5:c07438005b16 | 2020-08-27 | first published version | File Diff Annotate |
4:f63aab9fec77 | 2020-08-26 | mcp9808 works well; | File Diff Annotate |
3:0bad8eec80ee | 2020-08-26 | switching to other ds18b20 library | File Diff Annotate |
2:18d8f9d3286c | 2020-08-24 | code probably valid but onewire temp sensor not working | File Diff Annotate |
1:7749656733dd | 2020-08-24 | sort of working | File Diff Annotate |
0:56122e281547 | 2020-08-24 | adding OTP, OVP, time limits | File Diff Annotate |