Battery discharge curve
#7
maiden Wrote:haha, ment code running on device  Wink


Sorry, realized that after posting the code.

It was written in Go using TinyGo. Much of the code is a bit of a mess and depends on non-upstreamed changes. I'll post the code once it is ready.

Conceptually, it just measures the voltage using the ADC on pin 31 (AIN7) with the following settings:
  • reference voltage: internal (0.6V)
  • gain set to 1/5
  • positive/negative channel resistors bypassed
  • acquisition time 3µs
  • single ended mode


Messages In This Thread
Battery discharge curve - by ayke - 10-30-2019, 04:04 AM
Battery discharge curve - by maiden - 10-30-2019, 04:23 AM
RE: Battery discharge curve - by ayke - 10-30-2019, 04:40 AM
RE: Battery discharge curve - by maiden - 10-30-2019, 05:57 AM
RE: Battery discharge curve - by caligari - 10-30-2019, 06:34 AM
RE: Battery discharge curve - by aritual - 09-20-2020, 10:44 AM
Battery discharge curve - by maiden - 10-30-2019, 07:17 AM
RE: Battery discharge curve - by caligari - 10-30-2019, 05:35 PM
RE: Battery discharge curve - by ayke - 10-30-2019, 07:35 AM
Battery discharge curve - by maiden - 10-30-2019, 05:46 PM
RE: Battery discharge curve - by pfeerick - 11-22-2019, 04:26 AM
RE: Battery discharge curve - by JF002 - 12-31-2019, 08:11 AM
RE: Battery discharge curve - by pfeerick - 01-02-2020, 02:33 AM
RE: Battery discharge curve - by JF002 - 01-02-2020, 04:33 AM
RE: Battery discharge curve - by pfeerick - 01-03-2020, 04:18 AM
RE: Battery discharge curve - by geoffrey.vl - 05-02-2020, 07:32 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)