Menu
Microbots
0
  • Learn
    • Getting Started
    • Maker Builds
    • Education
  • Shop
    • ProtoBot
    • Modules & Parts
    • Tools & Gears
    • Coming Soon
  • About
    • Our Story
    • Reach Out
    • FAQs
  • Sign in
  • English
  • Your Cart is Empty
Microbots
  • Learn
    • Getting Started
    • Maker Builds
    • Education
  • Shop
    • ProtoBot
    • Modules & Parts
    • Tools & Gears
    • Coming Soon
  • 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

67 reviews
Write a review
85%
(57)
6%
(4)
1%
(1)
3%
(2)
4%
(3)
62
21
C
CodeCell C3
Cloke74

Great piece of kit, had just what i needed to complete the project i had in mind. Shame shipping to the UK is so expensive, but appreciate this isn’t necessarily in the hands of MicroBots

A
CodeCell C6
Anonymous

I had an issue, got a red light, I used too much flux. Support said clean it, then the one sensor worked fine. I got the help and answer same day I provided a foto.

A
CodeCell C6 Drive
Anonymous

I think this is the best of the ESP offered, most versatile.

User picture
P
CodeCell C6
Prudhvi tej Chinimilli

Been testing the Microbots CodeCell C6 and honestly impressed with how much functionality they packed into such a tiny module. Great form factor for rapid prototyping wearable/embedded sensing applications. ESP32-C6 + IMU integration makes development much easier compared to building everything from scratch.

Still exploring battery optimization and compact LiPo options for our use case, but overall the platform is promising for low-cost real-time sensing systems. Excited to keep building with it.

F
CodeCell C6
Francisco Estivallet

Amazing hardware, my go to for compact projects.

User picture
123