ESP32 projects for off-grid power
Working builds with wiring, code and the problems I hit along the way. Everything runs on real hardware: LiFePO4 batteries, Huawei and Emerson rectifiers, hybrid inverters and solar panels.
Latest projects
- Control a Huawei R4850G2 power supply over CAN with an ESP32-C3 and MCP2515
Standalone controller for the Huawei R4850G2 48 V rectifier: ESP32-C3 SuperMini, MCP2515, OLED and rotary encoder to set the output voltage and current limit.
- Control an Emerson R48-2000eR rectifier over CAN with an ESP32-C3 and MCP2515 to charge a LiFePO4 battery
ESP32-C3 SuperMini and MCP2515 set the voltage and current limit of an Emerson R48-2000eR rectifier over CAN to charge a 16S LiFePO4 battery. Pinout, frames and code.
- ESP32-C3 and SN65HVD230 CAN module: why the Huawei R4850G2 did not answer, and how to test your module
ESP32-C3 built-in CAN (TWAI) with an SN65HVD230 transceiver failed to control a Huawei R4850G2. The test sketch, what to check, and why a defective module is easy to miss.
- One ESP32-C3 controller for Huawei R4850G2 and Emerson R48-2000e rectifiers over CAN
One firmware for two telecom rectifiers: ESP32-C3 SuperMini and MCP2515 pick the Huawei R4850G2 or Emerson R48-2000e at boot and set voltage, current and output over CAN.