CubeCell

From Eric

(Difference between revisions)
Jump to: navigation, search
m (Created page with "== 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 so...")
m
Line 7: Line 7:
* releasing the reset button
* releasing the reset button
* releasing the user 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 1/2 divider:
 +
 +
 +
[[File:cuvecellvbatmeasure.jpg|400px|thumb|none]]
 +
 +
 +
In order to prevent the battery to dry out via the divider, connection to vbat is controlled by GPIO7 via a dual transistor (AO7801).
 +
 +
[[File:aO7801.jpg|400px|thumb|none]]

Revision as of 08:55, 10 April 2021

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 1/2 divider:


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