Menu
Microbots
0
  • Learn
    • Getting Started
    • Maker Builds
    • Education
  • Shop
    • Modules & Parts
    • Tools & Gears
    • Robots & Displays
  • About
    • Our Story
    • Reach Out
    • FAQs
  • Sign in
  • English
  • Your Cart is Empty
Microbots
  • Learn
    • Getting Started
    • Maker Builds
    • Education
  • Shop
    • Modules & Parts
    • Tools & Gears
    • Robots & Displays
  • About
    • Our Story
    • Reach Out
    • FAQs
  • Language

  • 0 0

Understanding CodeCell Circuitry

CodeCell is a family of compact ESP32-based modules designed to pack sensors, power management, and connectivity into an incredibly small footprint, just 1.85 cm wide. 

Schematics, 3D models, and drawings for all four modules are available here.

Available Versions

Model Microcontroller Features Typical Use
CodeCell C3 Light ESP32-C3-MINI-1-N4 4 MB Flash, Wi-Fi 4 + BLE 5, LiPo Charging via USB-C, Light + Proximity Sensor Basic sensing and IoT projects
CodeCell C3 ESP32-C3-MINI-1-N4 4 MB Flash, Wi-Fi 4 + BLE 5, LiPo Charging via USB-C, Light + Proximity Sensor + 9-Axis IMU Sensor Robotics & Wearables
CodeCell C6 ESP32-C6-MINI-1-H8 8 MB Flash, Wi-Fi 6 + BLE 5 + Zigbee, LiPo Charging via USB-C, Light + Proximity + 9-Axis IMU Sensor Low-Power Robotics & Wearables
CodeCell C6 Drive ESP32-C6-MINI-1-H8 8 MB Flash, Wi-Fi 6 + BLE 5 + Zigbee, LiPo Charging via USB-C, Light + Proximity + 9-Axis IMU Sensor, Dual H-Bridge Motor Drivers All-in-One Robotics Controller

ESP32 Microcontroller

Each CodeCell is built around a high-performance ESP32 module from Espressif:

  • C3 / C3 Light: ESP32-C3-MINI-1-N4 - Single-core RISC-V CPU at 160 MHz, 4 MB Flash, Wi-Fi 4 + BLE 5.
  • C6 / C6 Drive: ESP32-C6-MINI-1-H8 - RISC-V CPU + 802.11ax Wi-Fi 6 and BLE 5 + Zigbee, 8 MB Flash.

All models include a USB Serial/JTAG controller, allowing direct flashing and debugging via USB-C. The antenna is carefully positioned at the board’s edge to minimize noise and preserve strong wireless performance.

Power Management

Every CodeCell supports multiple power inputs for flexibility during prototyping and final integration:

  • LiPo Battery Connector – for portable use and rechargeable operation.
  • USB-C Port – for power, charging, serial and firmware upload.

Power management is handled by the BQ24232 chip with Dynamic Power-Path Management (DPPM), allowing the device to operate while charging. It supports up to 1500 mA output on battery and 450 mA via USB.

Charging follows three stages:

  1. Pre-charge conditioning
  2. Constant current
  3. Constant voltage

By default, the LiPo charge current is set to 90 mA for the included 170 mAh battery. Users who wish to modify the charge current can do so by replacing 0402 resistor R12. However, this modification requires precise soldering skills, as 0402 components are extremely small. For further details, refer to the BQ24232 datasheet.

Voltage Regulation & Protection

A 3.3 V LDO (NCP177) provides up to 500 mA output with low dropout. 100 µF bulk capacitors and TVS diodes ensure smooth supply and ESD protection. This layout keeps CodeCell stable even when switching between battery and USB power.

GPIO & Pin Layout

Despite its small size, CodeCell has several GPIO and power pins for expansion:

  • Power Pins: 5 V (USB input), 3.3 V output, and Ground (GND).
  • I²C Pins: SDA and SCL (for sensors or as general GPIOs).
  • GPIO Pins: 6 Input/Output pins with PWM support and ADC inputs (IO1–IO3).

Sensors and Motion Detection

  • VCNL4040 Light + Proximity Sensor:
    • Measures ambient light and proximity up to 20 cm.
    • 16-bit resolution and integrated IRED for stable readings.
    • Fully supported by the CodeCell library for automatic setup and calibration.
  • BNO085 9-Axis IMU (included on C3/C6/C6 Drive):
    • Accelerometer, gyroscope, and magnetometer fusion for motion tracking.
    • Provides orientation (roll, pitch, yaw), step counting, and tap detection, etc.

Motor Control (C6 Drive only)

The CodeCell C6 Drive adds a dual H-bridge motor driver, allowing direct control of two DC motors for robotics applications. Each driver channel is fully integrated on-board and controlled by dedicated GPIOs from the ESP32-C6.

For deeper insights, you can review the schematics and hardware files here.

  • Share:

Follow

Github

  • About
  • Software
  • Education
  • Contact
  • FAQs
  • Terms
  • Refund Policy
  • Privacy Policy

Join our Community ~ Be the first to know about new products and get exciting deals!

© 2026 Microbots.

★ Reviews

Let customers speak for us

47 reviews
Write a review
83%
(39)
4%
(2)
2%
(1)
4%
(2)
6%
(3)
21
43
A
CodeCell C6 Drive
Anonymous

Great product! Having the IMU, motor driver, and battery management directly on the board is incredibly handy for quick prototyping. Love it!

Improvement ideas:
- using an ESP32 other than the C6 to get more cores. On a single-core chip, WiFi tasks often interfere with real-time applications.
- adding two more motor drivers (with a slightly higher current rating) would be awesome for drone projects!
- I know the compactness of the board is a huge selling point and really optimised, but exposing a few more pins would be great. With the motor drivers already occupying 4 pins, having only 4 GPIOs left can be tight for complex projects (though I’m nitpicking, I’m really pushing this board to its limits!).

A
CodeCell C6
Anonymous

I use CodeCell C6, like all the Features, and compactness. The remote Link to the iPhone with some Controls for 2 Motors is just perfect for the job.

O
CodeCell C6 Drive
Odd_Jayy

This is one of my Favorite finds, this board has everything you need to make a quick and small robot, easy to set up and install. Perfect for beginners or a person who needs to save room in their build.

User picture
a
DriveCell
arnaubp

Great products!
Well attention to the detail.
They are so so so small :D

A
CodeCell C6
Anonymous

Love it

123