board
Solar MPPT Power System
Public Unreviewedby TylerK
A 30 W solar battery charger with regulated 5 V and 3.3 V rails: an STM32G031 running perturb & observe MPPT and a CC/CV charge state machine, steering a TI LM5175 4-switch buck-boost through a single analog control input. Four-layer KiCad board, schematic and PCB generated from Python, with an electrothermal simulation run against the published board file.
main
TylerK
Replace discrete-analog board with MCU/IC redesign: STM32G031 P&O MPPT + CC/CV firmware, LM5175 buck-boost, INA180 curr…
e48ba30
1mo ago
/*
* status_led.h -- LED1 (PA6, green = charge status) and LED2 (PA7, red =
* fault) per the charge_state_t. BULK/ABSORPTION solid green, FLOAT slow
* green blink (charge complete, maintaining), FAULT solid red.
*/
#ifndef STATUS_LED_H
#define STATUS_LED_H
#include <stdint.h>
#include "charge_control.h"
void status_led_init(void);
void status_led_update(charge_state_t state, uint32_t now_ms);
#endif /* STATUS_LED_H */