Getting Started
Last revision 2026/01/18
Hardware Preparation
- Beetle CM-32U4
- 1000mAh lithium Battery
- USB Cable
Software Preparation
Library
- I2C: 1 WIRE library
- SPI: 1 SPI library
Board Selection

Beetle CM-32U4 is fully compatible with Arduino, please select “Arduino Leonardo” when using.
Indicator Status description
| Status | Power Indicator(red) | LED Light(blue) | Charging Indicator(green) |
|---|---|---|---|
| OFF | Mainboard Power off | Can be set | Fully charged |
| ON | Mainboard Power on | Can be set | Charging |
| Flash | Burning Codes/Resetting | Resetting/can be set | No battery |
- The blue LED light can also be used as a normal LED, and you can download Blink.ino to control it. The pin number is 13.
Introduction of Charging Process
Prepare a 1000mAh lithium battery. Connect the positive of the battery to BAT on the Beetle CM-32U4 and the negative to GND, and then connect to the USB charging cable.

At this time, the BAT port will charge the battery with an input current of 200mA~600mA and the green charging light will present the current status of the battery:
| Status | Charging Indicator(green) |
|---|---|
| OFF | Fully charged |
| ON | Charging |
| Flash | No battery |
Introduction of Resetting

Only the red power indicator and blue indicator will be affected during the RST process.
More Documents
Was this article helpful?
