# 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:** brytsparklabs - **Created:** 11/21/2024 - **Last Updated:** 11/21/2024 - **Visibility:** Public ## Key Components ### ? — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage.md) **Pins:** - +3V3 ### ? — [Power Symbol](https://www.flux.ai/usairemalamgeer/power-symbol.md) **Pins:** - P1 ### ? — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage.md) **Pins:** - +3V3 ### +12V — [Power Symbol](https://www.flux.ai/usairemalamgeer/power-symbol.md) **Pins:** - P1 ### +12V — [Power Symbol](https://www.flux.ai/usairemalamgeer/power-symbol.md) **Pins:** - P1 ### +12V — [Power Symbol](https://www.flux.ai/usairemalamgeer/power-symbol.md) **Pins:** - P1 ### +12V — [Power Symbol](https://www.flux.ai/usairemalamgeer/power-symbol.md) **Pins:** - P1 ### +12V — [Power Symbol](https://www.flux.ai/usairemalamgeer/power-symbol.md) **Pins:** - P1 ### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage.md) **Pins:** - +3V3 ### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage.md) **Pins:** - +3V3 ### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage.md) **Pins:** - +3V3 ### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage.md) **Pins:** - +3V3 ### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage.md) **Pins:** - +3V3 ### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage.md) **Pins:** - +3V3 ### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage.md) **Pins:** - +3V3 ### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage.md) **Pins:** - +3V3 ### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage.md) **Pins:** - +3V3 ### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage.md) **Pins:** - +3V3 ### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage.md) **Pins:** - +3V3 ### +3.3V — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage.md) **Pins:** - +3V3 ### +3V3 — [+3V3 Power/Voltage](https://www.flux.ai/adrian95/plus3v3-powervoltage.md) **Pins:** - +3V3 ### +5V — [+5V Power/Voltage](https://www.flux.ai/adrian95/plus5v-powervoltage.md) **Pins:** - +5V ### +5V — [+5V Power/Voltage](https://www.flux.ai/adrian95/plus5v-powervoltage.md) **Pins:** - +5V ### +5V — [+5V Power/Voltage](https://www.flux.ai/adrian95/plus5v-powervoltage.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 ### BUTTON — Label **Pins:** - P1 - P2 ### BUTTON — Label **Pins:** - P1 - P2 ### D1 — [PN Junction Diode](https://www.flux.ai/jharwinbarrozo/pn-junction-diode.md) - Series Resistance: 0.0286Ω - Emission Coefficient: 2.00 - Breakdown Voltage: 50V - Saturation Current: 1.88e-9A - Part Type: Diode **Pins:** - A [pin 2] - K [pin 1] ### D4 — [PN Junction Diode](https://www.flux.ai/jharwinbarrozo/pn-junction-diode.md) - Emission Coefficient: 2.00 - Series Resistance: 0.0286Ω - Breakdown Voltage: 50V - Part Type: Diode - Saturation Current: 1.88e-9A **Pins:** - A [pin 2] - K [pin 1] ### D5 — [Zener Diode](https://www.flux.ai/lwcassid/zener-diode.md) - Breakdown Voltage: 5.6V - Emission Coefficient: 2 - Saturation Current: 1.714352819281e-7A - Series Resistance: 0Ω **Pins:** - ANODE - CATHODE ### D7 — [PN Junction Diode](https://www.flux.ai/jharwinbarrozo/pn-junction-diode.md) - Saturation Current: 1.88e-9A - Part Type: Diode - Breakdown Voltage: 50V - Emission Coefficient: 2.00 - Series Resistance: 0.0286Ω **Pins:** - A [pin 2] - K [pin 1] ### 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.md) - Current: 25A **Pins:** - P1 - P2 ### F2 — [1812L110](https://www.flux.ai/adrian95/1812l110.md) - Datasheet URL: https://www.littelfuse.com/~/media/electronics/datasheets/resettable_ptcs/littelfuse_ptc_1812l_datasheet.pdf.pdf - Manufacturer Part Number: 1812L110/33MR - Part Type: Fuse - Manufacturer Name: Littelfuse Inc. **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 ### IC6 — [STM32L072](https://www.flux.ai/adrian95/stm32l072.md) - Part Type: Microcontroller - Package or Case Code: 48-LQFP - Datasheet URL: https://www.snapeda.com/parts/STM32L072CZT6TR/STMicroelectronics/datasheet/ - Manufacturer Part Number: STM32L072CZT6TR - Manufacturer Name: STMicroelectronics NV **Pins:** - BOOT0 [pin 44] - NRST [pin 7] - PA0 [pin 10] - PA1 [pin 11] - PA10 [pin 31] - PA11 [pin 32] - PA12 [pin 33] - PA13 [pin 34] - PA14 [pin 37] - PA15 [pin 38] - PA2 [pin 12] - PA3 [pin 13] - PA4 [pin 14] - PA5 [pin 15] - PA6 [pin 16] - PA7 [pin 17] - PA8 [pin 29] - PA9 [pin 30] - PB0 [pin 18] - PB1 [pin 19] - PB10 [pin 21] - PB11 [pin 22] - PB12 [pin 25] - PB13 [pin 26] - PB14 [pin 27] - PB15 [pin 28] - PB2 [pin 20] - PB3 [pin 39] - PB4 [pin 40] - PB5 [pin 41] - PB6 [pin 42] - PB7 [pin 43] - PB8 [pin 45] - PB9 [pin 46] - PC13 [pin 2] - PC14 [pin 3] - PC15 [pin 4] - PH0 [pin 5] - PH1 [pin 6] - VDD_1 [pin 1] - VDD_2 [pin 24] - VDD_3 [pin 48] - VDD_USB [pin 36] - VDDA [pin 9] - VSS_1 [pin 23] - VSS_2 [pin 35] - VSS_3 [pin 47] - VSSA [pin 8] ### J1 — [MKDS-5-2-9.52](https://www.flux.ai/adrian95/mkds-5-2-952.md) - Datasheet URL: https://www.snapeda.com/parts/796683-2/TE%20Connectivity/datasheet/ - Manufacturer Name: Texas Instruments Inc. - Manufacturer Part Number: 796683-2 - Part Type: Connector **Pins:** - 1 - 2 ### J2 — [MKDS-5-2-9.52](https://www.flux.ai/adrian95/mkds-5-2-952.md) - Datasheet URL: https://www.snapeda.com/parts/796683-2/TE%20Connectivity/datasheet/ - Manufacturer Name: Texas Instruments Inc. - Manufacturer Part Number: 796683-2 - Part Type: Connector **Pins:** - 1 - 2 ### J3 — [MKDS-5-2-9.52](https://www.flux.ai/adrian95/mkds-5-2-952.md) - Datasheet URL: https://www.snapeda.com/parts/796683-2/TE%20Connectivity/datasheet/ - Part Type: Connector - Manufacturer Part Number: 796683-2 - Manufacturer Name: Texas Instruments Inc. **Pins:** - 1 - 2 ### J4 — [UEXT Connector](https://www.flux.ai/adrian95/uext-connector.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.md) - Part Type: Connector - Manufacturer Name: Texas Instruments Inc. - Manufacturer Part Number: 5787617-4 - Datasheet URL: https://www.snapeda.com/parts/5787617-4/TE%20Connectivity/datasheet/ **Pins:** - D-1 - D-2 - D+1 - D+2 - GND1 - GND2 - SHIELD - SHIELD - SHIELD - SHIELD - VBUS1 - VBUS2 ### J6 — [Pin Header 01x02 2.54mm Vertical](https://www.flux.ai/jharwinbarrozo/pin-header-01x02-254mm-vertical.md) - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Connector **Pins:** - P1 [pin 1] - P2 [pin 2] ### J7 — [6P6C](https://www.flux.ai/adrian95/6p6c.md) - Manufacturer Name: TE Connectivity - Manufacturer Part Number: 6P6C - Part Type: Connector - Datasheet URL: https://datasheet.octopart.com/615006138421-W%C3%BCrth-Elektronik-datasheet-111087981.pdf **Pins:** - P1 - P2 - P3 - P4 - P5 - P6 ### J8 — [M20-9990545](https://www.flux.ai/adrian95/m20-9990545.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.md) - Emission Coefficient: 3.73 - Breakdown Voltage: 0V - Forward Voltage: 1.70 - Saturation Current: 93.2e-12A - Series Resistance: 0.42Ω **Pins:** - ANODE - CATHODE ### LED2 — [LED](https://www.flux.ai/jharwinbarrozo/led-tht.md) - Saturation Current: 93.2e-12A - Series Resistance: 0.42Ω - Breakdown Voltage: 0V - Forward Voltage: 1.70 - Emission Coefficient: 3.73 **Pins:** - ANODE - CATHODE ### LED3 — [LED](https://www.flux.ai/jharwinbarrozo/led-tht.md) - Breakdown Voltage: 0V - Forward Voltage: 1.70 - Emission Coefficient: 3.73 - Saturation Current: 93.2e-12A - Series Resistance: 0.42Ω **Pins:** - ANODE - CATHODE ### LED4 — [LED](https://www.flux.ai/jharwinbarrozo/led-tht.md) - Emission Coefficient: 3.73 - Breakdown Voltage: 0V - Forward Voltage: 1.70 - Saturation Current: 93.2e-12A - Series Resistance: 0.42Ω **Pins:** - ANODE - CATHODE ### LED5 — [LED](https://www.flux.ai/jharwinbarrozo/led-tht.md) - Breakdown Voltage: 0V - Forward Voltage: 1.70 - Emission Coefficient: 3.73 - Saturation Current: 93.2e-12A - 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.md) - Manufacturer Part Number: PWR_FLAG **Pins:** - pwr ### PWR_FLAG10 — [PWR_FLAG](https://www.flux.ai/vasyl/pwrflag.md) - Manufacturer Part Number: PWR_FLAG **Pins:** - pwr ### PWR_FLAG11 — [PWR_FLAG](https://www.flux.ai/vasyl/pwrflag.md) - Manufacturer Part Number: PWR_FLAG **Pins:** - pwr ### Q1 — [PSMN5R2-60YL](https://www.flux.ai/ramprakashvishnoi8/psmn5r2-60ylx.md) - Manufacturer Part Number: PSMN5R2-60YLMPN - 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 **Pins:** - D - G - S ### Q2 — [PSMN5R2-60YL](https://www.flux.ai/ramprakashvishnoi8/psmn5r2-60ylx.md) - Part Type: Transistors - FETs, MOSFETs - Single - Package or Case Code: LFPAK56-5 - DataSheet URL: https://assets.nexperia.com/documents/data-sheet/PSMN5R2-60YL.pdf - Manufacturer Name: Nexperia - Manufacturer Part Number: PSMN5R2-60YLMPN **Pins:** - D - G - S ### Q3 — [P-Channel MOSFET](https://www.flux.ai/jharwinbarrozo/p-channel-mosfet.md) - Threshold Voltage: 1.5V - Part Type: Transistor **Pins:** - DRAIN - GATE - SOURCE ### Q4 — [PSMN5R2-60YL](https://www.flux.ai/ramprakashvishnoi8/psmn5r2-60ylx.md) - 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 - Part Type: Transistors - FETs, MOSFETs - Single **Pins:** - D - G - S ### Q5 — [BSS83P](https://www.flux.ai/adrian95/bss83p.md) - Manufacturer Part Number: BSS83PH6327XTSA1 - Datasheet URL: https://www.snapeda.com/parts/BSS83PH6327XTSA1/Infineon%20Technologies/datasheet/ - Part Type: Transistor - Package or Case Code: SOT-23 - Manufacturer Name: Infineon **Pins:** - DRAIN - GATE - SOURCE ### Q6 — [BSS83P](https://www.flux.ai/adrian95/bss83p.md) - Manufacturer Part Number: BSS83PH6327XTSA1 - Datasheet URL: https://www.snapeda.com/parts/BSS83PH6327XTSA1/Infineon%20Technologies/datasheet/ - Package or Case Code: SOT-23 - Manufacturer Name: Infineon - Part Type: Transistor **Pins:** - DRAIN - GATE - SOURCE ### Q7 — [BSS83P](https://www.flux.ai/adrian95/bss83p.md) - Manufacturer Part Number: BSS83PH6327XTSA1 - Datasheet URL: https://www.snapeda.com/parts/BSS83PH6327XTSA1/Infineon%20Technologies/datasheet/ - Part Type: Transistor - Package or Case Code: SOT-23 - Manufacturer Name: Infineon **Pins:** - DRAIN - GATE - SOURCE ### RESET — Label **Pins:** - P1 - P2 ### RT1 - 10k NTC — [Thermistor](https://www.flux.ai/lwcassid/thermistor.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.md) - Beta / hFe: 100 - Leakage Current: 1e-13A **Pins:** - B - C - E ### T2 — [NPN Transistor](https://www.flux.ai/jharwinbarrozo/npn-transistor.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.md) **Pins:** - P1 ### U1 — [LM5109MA-NOPB](https://www.flux.ai/adrian95/lm5109ma-nopb.md) - Manufacturer Name: Texas Instruments - Package or Case Code: 8-SOIC - Part Type: FET Driver - Manufacturer Part Number: LM5109MA-NOPB - Datasheet URL: https://www.ti.com/lit/ds/symlink/lm5109.pdf **Pins:** - HB - HI - HO - HS - LI - LO - VDD - VSS ### U3 — [D1213A-04SO](https://www.flux.ai/adrian95/d1213a-04so.md) - Part Type: Integrated Circuit - Datasheet URL: https://www.diodes.com/assets/Datasheets/ds32144.pdf - Manufacturer Name: Diodes Incorporated - Manufacturer Part Number: D1213A-04SO-7 - Package or Case Code: SOT-23-6 **Pins:** - 1 - 2 - 3 - 4 - 5 - 6 ### U4 — [D1213A-04SO](https://www.flux.ai/adrian95/d1213a-04so.md) - Part Type: Integrated Circuit - Manufacturer Part Number: D1213A-04SO-7 - Package or Case Code: SOT-23-6 - Datasheet URL: https://www.diodes.com/assets/Datasheets/ds32144.pdf - Manufacturer Name: Diodes Incorporated **Pins:** - 1 - 2 - 3 - 4 - 5 - 6 ### U5 — [AP2210-3.3](https://www.flux.ai/adrian95/ap2210-33.md) - Part Type: Integrated Circuit - Manufacturer Name: Diodes Incorporated - Manufacturer Part Number: AP2210K-3.3TRG1 - Datasheet URL: https://datasheet.octopart.com/AP2210K-3.3TRG1-Diodes-Inc.-datasheet-31679378.pdf - Package or Case Code: SOT-23-5 **Pins:** - BP - EN - GND - VIN - VOUT ### U6 — [INA2181](https://www.flux.ai/adrian95/ina2181.md) - Package or Case Code: 10-VSSOP - Manufacturer Part Number: INA2181A3QDGSRQ1 - Manufacturer Name: Texas Instruments - Datasheet URL: https://www.ti.com/lit/ds/symlink/ina2181-q1.pdf - Part Type: Current Sense Amplifier **Pins:** - GND - IN1- - IN1+ - IN2- - IN2+ - OUT1 - OUT2 - REF1 - REF2 - VS ### U9 — [LMR33630](https://www.flux.ai/adrian95/lmr33630.md) - Manufacturer Name: Texas Instruments Inc. - Part Type: Switch - Datasheet URL: https://www.snapeda.com/parts/LMR33630CDDAR/Texas%20Instruments/datasheet/ - Manufacturer Part Number: LMR33630CDDAR - Package or Case Code: 8-SO **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.md) **Pins:** - P1 *The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/brytsparklabs/mppt-solar-charge-controller](https://www.flux.ai/brytsparklabs/mppt-solar-charge-controller).* --- *Generated from [https://www.flux.ai/brytsparklabs/mppt-solar-charge-controller](https://www.flux.ai/brytsparklabs/mppt-solar-charge-controller)*