CubeCell
From Eric
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):
In order to prevent the battery to dry out via the divider, connection to vbat is controlled by GPIO7 via a dual transistor (AO7801).