Charge Controller Firmware

Flexible firmware based on Zephyr RTOS for MPPT and PWM solar/wind charge controllers.

build badge

GitHub repository: LibreSolar/charge-controller-firmwareopen in new window

Features

  • Running on Zephyr RTOSopen in new window
  • STM32F0, STM32L0 and STM32G4 series MCUs
  • Different battery types supported (lead-acid, Li-ion)
  • Monitoring of voltage, current and temperature
  • Maximum power point tracking (MPPT) algorithm based on Perturb and Observe (P&O)
  • Load output with deep-discharge protection
  • CAN bus and serial interface with ThingSet protocol
  • OLED display support

Supported boards

The software is configurable to support different charge controller PCBs with STM32F072, low-power STM32L072 or most recent STM32G431 MCUs:

API documentation

The documentation auto-generated by Doxygen can be found hereopen in new window.

Development

The firmware is under active development and you are welcome to participate.

GitHub repository: LibreSolar/charge-controller-firmwareopen in new window