Kart/battery level

From FSI
(Difference between revisions)
Jump to: navigation, search
m (ADC)
 
Line 1: Line 1:
{{private}}
 
 
{{TOC right}}
 
{{TOC right}}
 
== ADC ==
 
== ADC ==

Latest revision as of 11:06, 25 July 2014

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