Olimex ESP32-C3-DevKit-Lipo¶
Notes on the ESP32-C3-DevKit-Lipo boards from Olimex.
Arduino¶
Version 1.8 of Arduino (as installed from debian packages) is ok.
Setup¶
Under File → Preferences, add the espressif URL to the Additional Boards Manager URLs field. (on 2024-09-04 that’s
https://dl.espressif.com/dl/package_esp32_index.json
).Under Tools → Board → Boards Manager make sure that you install a version of esp32 by Espressif Systems that is above 2.0 (on 2024-09-04 there is a 3.0.4 that works).
Programming¶
These are the settings used:
- Board:
ESP32C3 Dev Module
- Upload Speed:
115200
- Flash Frequency:
80MHz
- Partition Scheme:
Default
- Core Debug Level:
None
- Erase All Flash Before Sketch Upload:
Disabled
- USB CDC On Boot:
Enabled
It may be necessary to bring GPIO9 to GND to force the board into bootloader mode before loading sketches.
Battery Measurement¶
The battery voltage can be read on GPIO3 after closing the jumpers BAT_PWR_E1 and BAT_SENS_E1 with the following arduino code:
float battValue = analogReadMilliVolts(3) / 500.0 ;