Author Topic: Simple voltage logger  (Read 4323 times)

semicolo

  • Full Member
  • ***
  • Posts: 137
Simple voltage logger
« on: February 08, 2013, 01:49:10 pm »
Hi there, I put my first digispark to good use as a simple voltage logger, recording analog values in eeprom.
Data can then be transferred to a pc by connecting the digispark to an usb port.
I'm using it to record the discharge characteristics of li-ion cells.
You need a push button between P2 and Gnd, connect the voltage you want to monitor to P5.
After a quick press, the digispark starts sending the recorded values as keyboard presses
After a long press, the eeprom is reset to 0xff and a sample is recorder at a fixed interval.

I then used gnuplot to draw the discharge characteristics.

semicolo

  • Full Member
  • ***
  • Posts: 137
Re: Simple voltage logger
« Reply #1 on: February 08, 2013, 01:53:41 pm »
Oh yeah some may want the sketch

I've noticed something, when I press the button to dump the data, some of the first values are lost, maybe it needs a delay before starting.

semicolo

  • Full Member
  • ***
  • Posts: 137
Re: Simple voltage logger
« Reply #2 on: February 10, 2013, 08:14:08 am »
I've got 14 different characteristics now, I can clearly see the cells that I can use together (and the ones that lost half their capacity)
10 more to test!