# MPPT Solar Charge Controller
## Description
10A MPPT Solar Charge Controller with dual USB ports using Low-power 32bit ARMCortex-M0+ MCU (STM32L072).
Expandable via Olimex Universal Extension Connector (UEXT) featuring I2C
## Project Details
- **Owner:** robert
- **Created:** 9/21/2021
- **Last Updated:** 10/13/2021
- **Visibility:** Public
- **Forks:** 4
## Key Components
### ? — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage~kqp.md)
**Pins:**
- +3V3
### ? — [Power Symbol](https://www.flux.ai/usairemalamgeer/power-symbol~qr.md)
**Pins:**
- P1
### ? — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage~kqp.md)
**Pins:**
- +3V3
### +12V — [Power Symbol](https://www.flux.ai/usairemalamgeer/power-symbol~qr.md)
**Pins:**
- P1
### +12V — [Power Symbol](https://www.flux.ai/usairemalamgeer/power-symbol~qr.md)
**Pins:**
- P1
### +12V — [Power Symbol](https://www.flux.ai/usairemalamgeer/power-symbol~qr.md)
**Pins:**
- P1
### +12V — [Power Symbol](https://www.flux.ai/usairemalamgeer/power-symbol~qr.md)
**Pins:**
- P1
### +12V — [Power Symbol](https://www.flux.ai/usairemalamgeer/power-symbol~qr.md)
**Pins:**
- P1
### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage~kqp.md)
**Pins:**
- +3V3
### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage~kqp.md)
**Pins:**
- +3V3
### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage~kqp.md)
**Pins:**
- +3V3
### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage~kqp.md)
**Pins:**
- +3V3
### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage~kqp.md)
**Pins:**
- +3V3
### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage~kqp.md)
**Pins:**
- +3V3
### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage~kqp.md)
**Pins:**
- +3V3
### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage~kqp.md)
**Pins:**
- +3V3
### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage~kqp.md)
**Pins:**
- +3V3
### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage~kqp.md)
**Pins:**
- +3V3
### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage~kqp.md)
**Pins:**
- +3V3
### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage~kqp.md)
**Pins:**
- +3V3
### +3V3 — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage~kqp.md)
**Pins:**
- +3V3
### +5V — [+5V Power/Voltage](https://www.flux.ai/adrian95/plus5v-powervoltage~raj.md)
**Pins:**
- +5V
### +5V — [+5V Power/Voltage](https://www.flux.ai/adrian95/plus5v-powervoltage~raj.md)
**Pins:**
- +5V
### +5V — [+5V Power/Voltage](https://www.flux.ai/adrian95/plus5v-powervoltage~raj.md)
**Pins:**
- +5V
### 5V_PG — Label
**Pins:**
- P1
- P2
### 5V_PG — Label
**Pins:**
- P1
- P2
### BAT+ — Label
**Pins:**
- P1
- P2
### BOOT0 — Label
**Pins:**
- P1
- P2
### BOOT0 — Label
**Pins:**
- P1
- P2
### BUTTON — Label
**Pins:**
- P1
- P2
### BUTTON — Label
**Pins:**
- P1
- P2
### D1 — [PN Junction Diode](https://www.flux.ai/jharwinbarrozo/pn-junction-diode~z7.md)
- Series Resistance: 0.0286Ω
- Saturation Current: 1.88e-9A
- Breakdown Voltage: 50V
- Emission Coefficient: 2.00
**Pins:**
- ANODE
- CATHODE
### D4 — [PN Junction Diode](https://www.flux.ai/jharwinbarrozo/pn-junction-diode~z7.md)
- Series Resistance: 0.0286Ω
- Saturation Current: 1.88e-9A
- Breakdown Voltage: 50V
- Emission Coefficient: 2.00
**Pins:**
- ANODE
- CATHODE
### D5 — [Zener Diode](https://www.flux.ai/lwcassid/zener-diode~oo.md)
- Saturation Current: 1.714352819281e-7A
- Series Resistance: 0Ω
- Emission Coefficient: 2
- Breakdown Voltage: 5.6V
**Pins:**
- ANODE
- CATHODE
### D7 — [PN Junction Diode](https://www.flux.ai/jharwinbarrozo/pn-junction-diode~z7.md)
- Series Resistance: 0.0286Ω
- Breakdown Voltage: 50V
- Saturation Current: 1.88e-9A
- Emission Coefficient: 2.00
**Pins:**
- ANODE
- CATHODE
### DAC — Label
**Pins:**
- P1
- P2
### DAC — Label
**Pins:**
- P1
- P2
### DCDC_OUT — Label
**Pins:**
- P1
- P2
### DCDC_OUT — Label
**Pins:**
- P1
- P2
### DCDC_OUT — Label
**Pins:**
- P1
- P2
### DCDC_OUT — Label
**Pins:**
- P1
- P2
### F1 — [Fuse](https://www.flux.ai/jharwinbarrozo/fuse~801.md)
- Current: 25A
**Pins:**
- P1
- P2
### F2 — [1812L110-33MR](https://www.flux.ai/adrian95/1812l110~3py.md)
- Manufacturer Part Number: 1812L110/33MR
- Part Type: Fuse
- Manufacturer Name: Littelfuse Inc.
- Datasheet URL: https://www.littelfuse.com/~/media/electronics/datasheets/resettable_ptcs/littelfuse_ptc_1812l_datasheet.pdf.pdf
**Pins:**
- 1
- 2
### HS_DRV — Label
**Pins:**
- P1
- P2
### HS_DRV — Label
**Pins:**
- P1
- P2
### I_DCDC — Label
**Pins:**
- P1
- P2
### I_DCDC — Label
**Pins:**
- P1
- P2
### I_LOAD — Label
**Pins:**
- P1
- P2
### I_LOAD — Label
**Pins:**
- P1
- P2
### I2C1_SCL — Label
**Pins:**
- P1
- P2
### I2C1_SCL — Label
**Pins:**
- P1
- P2
### I2C1_SCL — Label
**Pins:**
- P1
- P2
### I2C1_SDA — Label
**Pins:**
- P1
- P2
### I2C1_SDA — Label
**Pins:**
- P1
- P2
### I2C1_SDA — Label
**Pins:**
- P1
- P2
### J1 — [MKDS-5-2-9.52](https://www.flux.ai/adrian95/mkds-5-2-952~o2x.md)
- Part Type: Connector
- Manufacturer Part Number: 796683-2
- Manufacturer Name: Texas Instruments Inc.
- Datasheet URL: https://www.snapeda.com/parts/796683-2/TE%20Connectivity/datasheet/
**Pins:**
- 1
- 2
### J2 — [MKDS-5-2-9.52](https://www.flux.ai/adrian95/mkds-5-2-952~o2x.md)
- Part Type: Connector
- Manufacturer Part Number: 796683-2
- Manufacturer Name: Texas Instruments Inc.
- Datasheet URL: https://www.snapeda.com/parts/796683-2/TE%20Connectivity/datasheet/
**Pins:**
- 1
- 2
### J3 — [MKDS-5-2-9.52](https://www.flux.ai/adrian95/mkds-5-2-952~o2x.md)
- Part Type: Connector
- Manufacturer Part Number: 796683-2
- Manufacturer Name: Texas Instruments Inc.
- Datasheet URL: https://www.snapeda.com/parts/796683-2/TE%20Connectivity/datasheet/
**Pins:**
- 1
- 2
### J4 — [UEXT Connector](https://www.flux.ai/adrian95/uext-connector~byc.md)
- Manufacturer Part Number: UEXT Connector
- Part Type: Connector
**Pins:**
- 3V3
- GND
- MISO
- MOSI
- RXD
- SCK
- SCL
- SDA
- SSEL
- TXD
### J5 — [UJ2-ADH-TH](https://www.flux.ai/adrian95/uj2-adh-th~bk.md)
- Datasheet URL: https://www.snapeda.com/parts/5787617-4/TE%20Connectivity/datasheet/
- Manufacturer Part Number: 5787617-4
- Manufacturer Name: Texas Instruments Inc.
- Part Type: Connector
**Pins:**
- D-1
- D-2
- D+1
- D+2
- GND1
- GND2
- SHIELD
- SHIELD
- SHIELD
- SHIELD
- VBUS1
- VBUS2
### J6 — [Connector 01x02](https://www.flux.ai/jharwinbarrozo/pin-header-01x02-254mm-vertical~4uy.md)
- Part Type: Connector
**Pins:**
- Pin_1
- Pin_2
### J7 — [6P6C](https://www.flux.ai/adrian95/6p6c~et.md)
- Manufacturer Name: TE Connectivity
- Manufacturer Part Number: 6P6C
- Datasheet URL: https://datasheet.octopart.com/615006138421-W%C3%BCrth-Elektronik-datasheet-111087981.pdf
- Part Type: Connector
**Pins:**
- P1
- P2
- P3
- P4
- P5
- P6
### J8 — [M20-9990545](https://www.flux.ai/adrian95/m20-9990545~rqk.md)
- Manufacturer Part Number: M20-9990545
- Manufacturer Name: Texas Instruments Inc.
**Pins:**
- GND
- NRST
- SWCLK
- SWDIO
- VCC
### LED_A — Label
**Pins:**
- P1
- P2
### LED_A — Label
**Pins:**
- P1
- P2
### LED_B — Label
**Pins:**
- P1
- P2
### LED_B — Label
**Pins:**
- P1
- P2
### LED_C — Label
**Pins:**
- P1
- P2
### LED_C — Label
**Pins:**
- P1
- P2
### LED1 — [LED](https://www.flux.ai/jharwinbarrozo/led-tht~gr.md)
- Series Resistance: 0.42Ω
- Emission Coefficient: 3.73
- Forward Voltage: 1.70
- Saturation Current: 93.2e-12A
- Breakdown Voltage: 0V
**Pins:**
- ANODE
- CATHODE
### LED2 — [LED](https://www.flux.ai/jharwinbarrozo/led-tht~gr.md)
- Series Resistance: 0.42Ω
- Emission Coefficient: 3.73
- Saturation Current: 93.2e-12A
- Breakdown Voltage: 0V
- Forward Voltage: 1.70
**Pins:**
- ANODE
- CATHODE
### LED3 — [LED](https://www.flux.ai/jharwinbarrozo/led-tht~gr.md)
- Forward Voltage: 1.70
- Breakdown Voltage: 0V
- Saturation Current: 93.2e-12A
- Series Resistance: 0.42Ω
- Emission Coefficient: 3.73
**Pins:**
- ANODE
- CATHODE
### LED4 — [LED](https://www.flux.ai/jharwinbarrozo/led-tht~gr.md)
- Breakdown Voltage: 0V
- Saturation Current: 93.2e-12A
- Forward Voltage: 1.70
- Emission Coefficient: 3.73
- Series Resistance: 0.42Ω
**Pins:**
- ANODE
- CATHODE
### LED5 — [LED](https://www.flux.ai/jharwinbarrozo/led-tht~gr.md)
- Saturation Current: 93.2e-12A
- Breakdown Voltage: 0V
- Forward Voltage: 1.70
- Emission Coefficient: 3.73
- Series Resistance: 0.42Ω
**Pins:**
- ANODE
- CATHODE
### LOAD_EN — Label
**Pins:**
- P1
- P2
### LOAD_EN — Label
**Pins:**
- P1
- P2
### LOAD_S — Label
**Pins:**
- P1
- P2
### LOAD_S — Label
**Pins:**
- P1
- P2
### LOAD_S — Label
**Pins:**
- P1
- P2
### LOAD_S — Label
**Pins:**
- P1
- P2
### LOAD+ — Label
**Pins:**
- P1
- P2
### LS_DRV — Label
**Pins:**
- P1
- P2
### LS_DRV — Label
**Pins:**
- P1
- P2
### PWM_HS — Label
**Pins:**
- P1
- P2
### PWM_HS — Label
**Pins:**
- P1
- P2
### PWM_LS — Label
**Pins:**
- P1
- P2
### PWM_LS — Label
**Pins:**
- P1
- P2
### PWR_FLAG1 — [PWR_FLAG](https://www.flux.ai/vasyl/pwrflag~6no.md)
- Manufacturer Part Number: PWR_FLAG
**Pins:**
- pwr
### PWR_FLAG10 — [PWR_FLAG](https://www.flux.ai/vasyl/pwrflag~6no.md)
- Manufacturer Part Number: PWR_FLAG
**Pins:**
- pwr
### PWR_FLAG11 — [PWR_FLAG](https://www.flux.ai/vasyl/pwrflag~6no.md)
- Manufacturer Part Number: PWR_FLAG
**Pins:**
- pwr
### Q1 — [PSMN5R2-60YL](https://www.flux.ai/ramprakashvishnoi8/psmn5r2-60ylx~95s.md)
- Part Type: Transistors - FETs, MOSFETs - Single
- Manufacturer Part Number: PSMN5R2-60YLMPN
- Manufacturer Name: Nexperia
- DataSheet URL: https://assets.nexperia.com/documents/data-sheet/PSMN5R2-60YL.pdf
- Package or Case Code: LFPAK56-5
**Pins:**
- D
- G
- S
### Q2 — [PSMN5R2-60YL](https://www.flux.ai/ramprakashvishnoi8/psmn5r2-60ylx~95s.md)
- DataSheet URL: https://assets.nexperia.com/documents/data-sheet/PSMN5R2-60YL.pdf
- Manufacturer Name: Nexperia
- Package or Case Code: LFPAK56-5
- Part Type: Transistors - FETs, MOSFETs - Single
- Manufacturer Part Number: PSMN5R2-60YLMPN
**Pins:**
- D
- G
- S
### Q3 — [P-Channel MOSFET](https://www.flux.ai/jharwinbarrozo/p-channel-mosfet~ir.md)
**Pins:**
- DRAIN
- GATE
- SOURCE
### Q4 — [PSMN5R2-60YL](https://www.flux.ai/ramprakashvishnoi8/psmn5r2-60ylx~95s.md)
- Manufacturer Name: Nexperia
- DataSheet URL: https://assets.nexperia.com/documents/data-sheet/PSMN5R2-60YL.pdf
- Package or Case Code: LFPAK56-5
- Part Type: Transistors - FETs, MOSFETs - Single
- Manufacturer Part Number: PSMN5R2-60YLMPN
**Pins:**
- D
- G
- S
### Q5 — [BSS83P](https://www.flux.ai/adrian95/bss83p~9l8.md)
- Datasheet URL: https://www.snapeda.com/parts/BSS83PH6327XTSA1/Infineon%20Technologies/datasheet/
- Part Type: Transistor
- Package or Case Code: SOT-23
- Manufacturer Name: Infineon
- Manufacturer Part Number: BSS83PH6327XTSA1
**Pins:**
- DRAIN
- GATE
- SOURCE
### Q6 — [BSS83P](https://www.flux.ai/adrian95/bss83p~9l8.md)
- Datasheet URL: https://www.snapeda.com/parts/BSS83PH6327XTSA1/Infineon%20Technologies/datasheet/
- Part Type: Transistor
- Manufacturer Name: Infineon
- Package or Case Code: SOT-23
- Manufacturer Part Number: BSS83PH6327XTSA1
**Pins:**
- DRAIN
- GATE
- SOURCE
### Q7 — [BSS83P](https://www.flux.ai/adrian95/bss83p~9l8.md)
- Datasheet URL: https://www.snapeda.com/parts/BSS83PH6327XTSA1/Infineon%20Technologies/datasheet/
- Manufacturer Name: Infineon
- Package or Case Code: SOT-23
- Part Type: Transistor
- Manufacturer Part Number: BSS83PH6327XTSA1
**Pins:**
- DRAIN
- GATE
- SOURCE
### RESET — Label
**Pins:**
- P1
- P2
### RESET — Label
**Pins:**
- P1
- P2
### RT1 - 10k NTC — [Thermistor](https://www.flux.ai/lwcassid/thermistor~ox.md)
**Pins:**
- undefined
- undefined
### SOLAR- — Label
**Pins:**
- P1
- P2
### SOLAR+ — Label
**Pins:**
- P1
- P2
### SOLAR+ — Label
**Pins:**
- P1
- P2
### SPI1_MISO — Label
**Pins:**
- P1
- P2
### SPI1_MISO — Label
**Pins:**
- P1
- P2
### SPI1_MOSI — Label
**Pins:**
- P1
- P2
### SPI1_MOSI — Label
**Pins:**
- P1
- P2
### SPI1_SCK — Label
**Pins:**
- P1
- P2
### SPI1_SCK — Label
**Pins:**
- P1
- P2
### SSEL — Label
**Pins:**
- P1
- P2
### SSEL — Label
**Pins:**
- P1
- P2
### SW_NODE — Label
**Pins:**
- P1
- P2
### SW_NODE — Label
**Pins:**
- P1
- P2
### SWCLK — Label
**Pins:**
- P1
- P2
### SWCLK — Label
**Pins:**
- P1
- P2
### SWDIO — Label
**Pins:**
- P1
- P2
### SWDIO — Label
**Pins:**
- P1
- P2
### T_BAT — Label
**Pins:**
- P1
- P2
### T_BAT — Label
**Pins:**
- P1
- P2
### T1 — [NPN Transistor](https://www.flux.ai/jharwinbarrozo/npn-transistor~hqd.md)
- Beta / hFe: 100
- Leakage Current: 1e-13A
**Pins:**
- B
- C
- E
### T2 — [NPN Transistor](https://www.flux.ai/jharwinbarrozo/npn-transistor~hqd.md)
- Beta / hFe: 100
- Leakage Current: 1e-13A
**Pins:**
- B
- C
- E
### TEMP_EXT — Label
**Pins:**
- P1
- P2
### TEMP_INT_PD — Label
**Pins:**
- P1
- P2
### TEMP_INT_PD — Label
**Pins:**
- P1
- P2
### TP1 — [Test Point](https://www.flux.ai/ramprakashvishnoi8/test-point~w1.md)
**Pins:**
- P1
### U1 — [LM5109MA-NOPB](https://www.flux.ai/adrian95/lm5109ma-nopb~4hs.md)
- Manufacturer Part Number: LM5109MA-NOPB
- Part Type: FET Driver
- Datasheet URL: https://www.ti.com/lit/ds/symlink/lm5109.pdf
- Package or Case Code: 8-SOIC
- Manufacturer Name: Texas Instruments
**Pins:**
- HB
- HI
- HO
- HS
- LI
- LO
- VDD
- VSS
### U3 — [D1213A-04SO](https://www.flux.ai/adrian95/d1213a-04so~a0l.md)
- Manufacturer Part Number: D1213A-04SO-7
- Manufacturer Name: Diodes Incorporated
- Part Type: Integrated Circuit
- Package or Case Code: SOT-23-6
- Datasheet URL: https://www.diodes.com/assets/Datasheets/ds32144.pdf
**Pins:**
- 1
- 2
- 3
- 4
- 5
- 6
### U4 — [D1213A-04SO](https://www.flux.ai/adrian95/d1213a-04so~a0l.md)
- Manufacturer Part Number: D1213A-04SO-7
- Part Type: Integrated Circuit
- Manufacturer Name: Diodes Incorporated
- Datasheet URL: https://www.diodes.com/assets/Datasheets/ds32144.pdf
- Package or Case Code: SOT-23-6
**Pins:**
- 1
- 2
- 3
- 4
- 5
- 6
### U5 — [AP2210-3.3](https://www.flux.ai/adrian95/ap2210-33~6r.md)
- Part Type: Integrated Circuit
- Manufacturer Name: Diodes Incorporated
- Manufacturer Part Number: AP2210K-3.3TRG1
- Package or Case Code: SOT-23-5
- Datasheet URL: https://datasheet.octopart.com/AP2210K-3.3TRG1-Diodes-Inc.-datasheet-31679378.pdf
**Pins:**
- BP
- EN
- GND
- VIN
- VOUT
### U6 — [INA2181](https://www.flux.ai/adrian95/ina2181~0qb.md)
- Manufacturer Name: Texas Instruments
- Part Type: Current Sense Amplifier
- Manufacturer Part Number: INA2181A3QDGSRQ1
- Datasheet URL: https://www.ti.com/lit/ds/symlink/ina2181-q1.pdf
- Package or Case Code: 10-VSSOP
**Pins:**
- GND
- IN1-
- IN1+
- IN2-
- IN2+
- OUT1
- OUT2
- REF1
- REF2
- VS
### U9 — [LMR33630](https://www.flux.ai/adrian95/lmr33630~kfe.md)
- Datasheet URL: https://www.snapeda.com/parts/LMR33630CDDAR/Texas%20Instruments/datasheet/
- Manufacturer Name: Texas Instruments Inc.
- Package or Case Code: 8-SO
- Part Type: Switch
- Manufacturer Part Number: LMR33630CDDAR
**Pins:**
- AGND
- BOOT
- EN
- FB
- PG
- PGND
- SW
- VCC
- VIN
### USART1_RX — Label
**Pins:**
- P1
- P2
### USART1_RX — Label
**Pins:**
- P1
- P2
### USART1_TX — Label
**Pins:**
- P1
- P2
### USART1_TX — Label
**Pins:**
- P1
- P2
### USART2_RX — Label
**Pins:**
- P1
- P2
### USART2_RX — Label
**Pins:**
- P1
- P2
### USART2_TX — Label
**Pins:**
- P1
- P2
### USART2_TX — Label
**Pins:**
- P1
- P2
### USB_DM — Label
**Pins:**
- P1
- P2
### USB_DM — Label
**Pins:**
- P1
- P2
### USB_DP — Label
**Pins:**
- P1
- P2
### USB_DP — Label
**Pins:**
- P1
- P2
### USB_PWR_EN — Label
**Pins:**
- P1
- P2
### USB_PWR_EN — Label
**Pins:**
- P1
- P2
### V_BAT — Label
**Pins:**
- P1
- P2
### V_BAT — Label
**Pins:**
- P1
- P2
### V_SOLAR — Label
**Pins:**
- P1
- P2
### V_SOLAR — Label
**Pins:**
- P1
- P2
### V_SOLAR_EN — Label
**Pins:**
- P1
- P2
### V_SOLAR_EN — Label
**Pins:**
- P1
- P2
### VDDA — [Power Symbol](https://www.flux.ai/usairemalamgeer/power-symbol~qr.md)
**Pins:**
- P1
*The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/robert/mppt-solar-charge-controller~li](https://www.flux.ai/robert/mppt-solar-charge-controller~li).*
---
*Generated from [https://www.flux.ai/robert/mppt-solar-charge-controller~li](https://www.flux.ai/robert/mppt-solar-charge-controller~li)*