CubeCell

From Eric

Revision as of 08:56, 10 April 2021 by Ejenn (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The CubeCell module

[cubecell.jpg]

Problem uploading sketches

In case you cannot upload the sketch to the cude cell (timeout when connecting to the bootloader), a solution consists to set the CubeCell in bootloader mode manually by:

  • pressing the user button
  • pressing the reset button
  • releasing the reset button
  • releasing the user button

Measuring battery level

The battery voltage can be read using the getBatteryVoltage() API. This is achieved by connecting the ADC to vbat via a voltage divider (*1/2):


Cuvecellvbatmeasure.jpg


In order to prevent the battery to dry out via the divider, connection to vbat is controlled by GPIO7 via a dual transistor (AO7801).

AO7801.jpg
Personal tools