dak664
1 kW
- Joined
- Aug 17, 2008
- Messages
- 317
I've put the first full ATTiny85 12 cell BMS shunt board togetherView attachment labelled_tiny85s.jpg
A trick I picked up on avrfreaks.net is to program the '85 in an identical circuit (I set it up on an STK500 at 3.5 volts with a 5.75K sense resistor) so the first startup can measure the power supply voltage and write the correction factor to EEPROM. Then I selected 5.65-5.85K resistors from my stock of quarter-watt 5% resistors for use on the board. The header is compatible with the Headway BMS harness. The '85s don't get warm when shunting ~50ma.
Note the row of LEDs. Right now they blink the cell voltages, but I hope to connect them with a light pipe of some kind for charger cutoff/controller LVD/logging MCU.
Attached is the c source, which contains a rough schematic.
A trick I picked up on avrfreaks.net is to program the '85 in an identical circuit (I set it up on an STK500 at 3.5 volts with a 5.75K sense resistor) so the first startup can measure the power supply voltage and write the correction factor to EEPROM. Then I selected 5.65-5.85K resistors from my stock of quarter-watt 5% resistors for use on the board. The header is compatible with the Headway BMS harness. The '85s don't get warm when shunting ~50ma.
Note the row of LEDs. Right now they blink the cell voltages, but I hope to connect them with a light pipe of some kind for charger cutoff/controller LVD/logging MCU.
Attached is the c source, which contains a rough schematic.