The CodeCell offers flexibility in power supply options, allowing it to be powered through either the LiPo battery connector, a USB-C cable, or both simultaneously. This ensures adaptability across different use cases.
Power management is handled by the BQ24232 battery management chip, which supports Dynamic Power-Path Management (DPPM). This allows the CodeCell to run from external power while simultaneously charging the battery. The battery charging process follows three key phases:
The BQ24232 chip regulates the output voltage, supporting a maximum output of 1500mA when powered by the LiPo battery and 450mA when powered via USB.
By default, the LiPo battery charge current is set to 90mA. This is optimized for the optional 170mAh LiPo battery, ensuring a safe and balanced charging rate.
Advanced 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.
The CodeCell library provides visual feedback on charging and power status using the onboard RGB LED:
To read the power status of the CodeCell users can use the PowerStateRead() function:
Note: This feature is available from software release v1.2.8 and above, so make sure you have updated the firmware. The CodeCell remains operational while charging the battery, so if you like to stop operation, we recommend polling the power status.
With this information, you now have a full understanding of how CodeCell’s charging system works, including its default behaviors and customization options!
Join our Community ~ Be the first to know about new products and get exciting deals!
© 2025 Microbots.