| /

This module is a customer favorite but currently out of stock. Pre-order now for shipping by Dec 15th!
*FedEx Shipping is Required for 170mAh Battery Option

Sensor
Battery
Connectors

CodeCell Tutorial Section

Get Started with Tutorials

Easily learn how to use its sensors and library

Learn More

Things You Can Build

Specifications

Electrical:

  • Processor: ESP32-C3 32-bit RISC-V Single-Core
  • Memory: 4 MB (Flash) 400 KB (SRAM)
  • Clock Speed: 160MHz
  • Average Sleep Current: 689μA
  • LiPo Battery Charge Current: 90mA
  • Maximum Output Current: 1500mA (Battery) / 450mA (USB)

Mechanical:

  • Dimensions: 9.4mm H x 18.5mm L x 18.5mm W (+5.2mm antenna)
  • Castellated Pins Pitch: 2.54mm
  • Screws: M1.2 (included)
  • Weight: 3.4 grams

3D Model

Notes:

  • The CodeCell is a compact 1.85 cm wide module featuring an Arduino-compatible ESP32-C3 that offers both Wi-Fi and BLE connectivity. It provides 6 programmable GPIO pins, along with 2 I2C pins that can be reconfigured as GPIOs if not needed for communication. The module also has multiple power pins for connecting additional modules, sensors, and actuators. CodeCell can be powered through a LiPo battery connector or via USB-C, which is also used for reprogramming and charging the battery. The power management system of the CodeCell is built around the BQ24232 battery management chip, which enables dynamic power-path control. This allows the battery to charge while the system continues to operate. The charging process is broken into preconditioning, constant current, and constant voltage phases. By default, the charge current is set to 90mA for the optional 170mAh LiPo battery. The RGB LED provides clear visual indications of power and charging states, with animations showing red for low battery, green for battery power, and blue when charging/powered via USB. The CodeCell includes a VCNL4040 light sensor, allowing it to measure ambient light and proximity up to 20 cm. For more advanced projects, an optional BNO085 motion sensor is available, which adds 9-axis sensing capabilities. This is an expensive sensor but combines a 3-axis accelerometer, 3-axis gyroscope, and 3-axis magnetometer, using sensor fusion algorithms to provide detailed motion data such as angular readings (roll, pitch, yaw), motion state, personal activity guessing, linear acceleration, tap detection, and even step counts. This feature makes the CodeCell especially suitable for robotics and wearable applications. To make interacting with the sensors easier, the 'CodeCell.h' library provides easy-to-use functions and multiple examples. Use the Init() function to configure the module and enable its sensing features, and the Run() function in the main loop to handle power management tasks automatically. The CodeCell will ship with a default software that initializes the light sensor, runs the power management, and displays a breathing-light animation controlled by proximity sensing. Check out this tutorial to easily get started with CodeCell.
  • The box will include the CodeCell, a set of four M1.2 screws and 3 set of female headers (soldering is optional). It will also include a battery-cable (1.25mm pitch) or the optional battery.
  • The optional 170mAh 20C LiPo battery measures 23 x 17.5 x 8.7 mm and weight 4.6 grams. It has a 1.25mm female-connector wired to it, which can be plugged directly to the onboard connector. Click here for the full battery datasheet.
  • Schematics for this module is available here.
  • This PCB is ROHS Compliant & follows IPC-A-600 II standard.
  • Please note that the CodeCell is intended to be used as a DIY maker kit. For commercial purposes, please get in touch.

Contact