DFRobot Beetle CM-32U4 - image 1
1 / 5
DFRobot

DFRobot Beetle CM-32U4

Ultra-compact Arduino Leonardo-compatible microcontroller board with ATmega32U4, integrated lithium battery charging, and native USB in a tiny 22x20.5mm form factor.

Starting from

$8.90

Specifications

ArchitectureAVR 8-bit
CPU Cores1
Clock Speed16MHz
Flash32KB
GPIO Level5V
AntennaN/A
Storagenone
Dimensions22 × 20.5mm
Weight16.5g

Components

Microchip ATmega32U4 running at 16MHz with 32KB flash, 2.5KB SRAM, 1KB EEPROM, native USB 2.0 Full-speed device, 12-channel 10-bit ADC, and JTAG debug interface.

LiPo Battery Charger ICBattery ChargerDatasheet

Linear lithium battery charger with programmable charge current of 200-600mA and thermal regulation for safe LiPo charging.

Bus Interfaces

SPI— SPI0
SCK: SCKMISO: MISOMOSI: MOSI
I2C— I2C0
SCL: D0SDA: D1
UART— Serial1
RX: D0TX: D1

GPIO Map

D0
UART RX / I2C SCL
digital-inputdigital-output
UART/I2C
D1
UART TX / I2C SDA
digital-inputdigital-output
UART/I2C
D9
Digital / PWM / Analog (A9)
digital-inputdigital-outputpwmadc
GPIO
D10
Digital / PWM / Analog (A10)
digital-inputdigital-outputpwmadc
GPIO
D11
Digital / PWM
digital-inputdigital-outputpwm
GPIO
A0
Analog Input
digital-inputdigital-outputadc
ADC
A1
Analog Input
digital-inputdigital-outputadc
ADC
A2
Analog Input
digital-inputdigital-outputadc
ADC
MOSI
SPI MOSI
digital-inputdigital-output
SPI
MISO
SPI MISO
digital-inputdigital-output
SPI
SCK
SPI Clock
digital-inputdigital-output
SPI

Overview

The DFRobot Beetle CM-32U4 is an upgraded version of the original Beetle board, packing an ATmega32U4 microcontroller with integrated lithium battery charge management into a remarkably small 22x20.5mm footprint. Fully compatible with Arduino Leonardo, it can be programmed directly from the Arduino IDE without any additional drivers or board packages.

Despite its tiny size, the Beetle CM-32U4 exposes the most commonly used communication interfaces including I2C, SPI, UART, two analog inputs, and two digital I/O pins. The onboard TP4056X charging IC supports 200-600mA charge current for LiPo batteries, making it ideal for battery-powered portable projects.

The board's coin-sized form factor and native USB capability make it particularly well-suited for e-textiles, wearable electronics, USB HID devices like custom keyboards and macro pads, and any project where space is at a premium. Three flexible power options — USB, battery pack via BAT pin, or 5V external via VIN — give builders maximum flexibility for deployment in tight spaces.

Use Cases

4

Resources

Where to Buy

Explore more of the directory — popular use cases, firmware, and specs to browse next.