dmwahl
10 kW
I wasn't aware that the ATmega32u4 had a different ADC than the ATtinys, I'll have to read up on it some more. I decided on the ATtiny25/45/85 due to the fact that it will operate down to 1.8V supply (so it can be powered directly from the cell) and is available in both surface mount and through hole. Depending on how big the pcb ends up, I may switch to the ATtiny44/84 since it's a bit cheaper, albeit larger.
I've got a few parts on order to breadboard a proof of concept and measure the overall power consumption. In theory it should be pretty low as the cpu can be put to sleep between measurements. Low enough at least that it will be negligible. I'm guessing 10-15 microamps should be achievable, which might as well be zero since it's so far below the self discharge rate.
I've got a proof of concept cell voltage measuring program up and running on an Arduino Uno (ATmega328), using the internal 1.1V reference. Accuracy is pretty bad though, since the 1.1V internal reference is around +/- 10%, but at least I can use it to verify my code works. I ordered a few 1% 1.2V references from TI, combined with the inherent gain/offset errors in the avr's ADC, I should be able to achieve better than 0.02V accuracy. I'll post more on the theory side of things later, but for now it appears that the actual circuit will be pretty simple.
I've got a few parts on order to breadboard a proof of concept and measure the overall power consumption. In theory it should be pretty low as the cpu can be put to sleep between measurements. Low enough at least that it will be negligible. I'm guessing 10-15 microamps should be achievable, which might as well be zero since it's so far below the self discharge rate.
I've got a proof of concept cell voltage measuring program up and running on an Arduino Uno (ATmega328), using the internal 1.1V reference. Accuracy is pretty bad though, since the 1.1V internal reference is around +/- 10%, but at least I can use it to verify my code works. I ordered a few 1% 1.2V references from TI, combined with the inherent gain/offset errors in the avr's ADC, I should be able to achieve better than 0.02V accuracy. I'll post more on the theory side of things later, but for now it appears that the actual circuit will be pretty simple.