Kart/battery level

From FSI
Jump to: navigation, search

Contents

ADC

The ADC on the power supply board is a 16-bit 15SPS I2C MCP3425.

It is read by sending start, D1, FF, FF, stop. The I2C master has to acknowledge all data bytes (FF) except for the last one.

The control register is written by sending start, D0, 14, stop. Value 14 means:

  • continuous conversion
  • 16 bit resolution (15 SPS)
  • unity gain (1V/V)
Personal tools
Namespaces
Variants
Actions
Navigation
Modules / Projects
Browse
Toolbox