Kart/battery level

From FSI
Revision as of 10:06, 25 July 2014 by Francois.corthay (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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