A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

MPPT-Solar-Charger

Supporting documentation and software for the MPPT Solar Charger.
https://github.com/danjulio/MPPT-Solar-Charger

Category: Renewable Energy
Sub Category: Photovoltaics and Solar Energy

Last synced: about 23 hours ago
JSON representation

Repository metadata

Supporting documentation and software for the MPPT Solar Charger

readme.md

makerPower™ MPPT Solar Charger

MPPT Solar Charger

LiFePO4 support (added 2/2023)

Firmware version 2.0 adds support for 12V (4-cell) LiFePO4 batteries. Several charging parameters, shown below, are changed when a LiFePO4 battery type is selected.

  1. Float/Bulk initial charge state threshold set to 13.2V
  2. Bulk Voltage set to 14.4V
  3. Power On charge voltage set to 13.6V
  4. Temperature Compensation disabled
  5. Charge temperature range between 0°C and 50°C

The charger will default to the lead acid battery type. Add a jumper between the test pads shown below to configure the charger for a LiFePO4 battery.

LiFePO4 configuration

Instructions are provided in the Firmware directory for upgrading existing boards.

Contents

This repository contains documentation and software for the makerPower MPPT Solar Charger board (design documented at hackaday.io). It can be found in my tindie store.

  1. firmware - Charger C source code
  2. hardware - Board documentation, schematic and connection diagrams for different uses
  3. arduino - Arduino library and examples (can be compiled with wiringPi for Raspberry Pi too)
  4. mppt_dashboard - Mac OS, Windows and Linux monitoring application that communicates with the charger via the mpptChgD daemon
  5. mpptChgD - Linux Daemon compiled for Raspberry Pi that communicates with the charger via I2C

The makerPower is a combination solar battery charger and 5V power supply for IOT-class devices designed for 24/7 operation off of solar power. It manages charging a 12V AGM lead acid or LiFePO4 battery from common 36-cell 12V solar panels. It provides 5V power output at up to 2A for systems that include sensors or communication radios. Optimal charging is provided through a dynamic perturb-and-observe maximum power-point transfer converter (MPPT) and a 3-stage (BULK, ABSORPTION, FLOAT) charging algorithm. A removable temperature sensor provides temperature compensation. Operation is plug&play although additional information and configuration may be obtained through a digital interface.

  • Optimized for commonly available batteries in the 7-18 Ah range and solar panels in the 10-35 Watt range
  • Reverse Polarity protected solar panel input with press-to-open terminal block
  • Fused battery input with press-to-open terminal block
  • Maximum 2A at 5V output on USB Type A power output jack and solder header
  • Automatic low-battery disconnect and auto-restart on recharged battery
  • Temperature compensation sensor with internal sensor fallback (lead acid batteries)
  • Disable charging when battery is too cold or too hot
  • Status LED indicating charge and power conditions, fault information
  • I2C interface for detailed operation condition readout and configuration parameter access
  • Configurable battery charge parameters
  • Status signals for Night detection and pre-power-down alert
  • Night-only operating mode (switch 5V output on only at night)
  • Watchdog functionality to power-cycle connected device if it crashes or for timed power-off control

Applications

  • Remote control and sense applications
  • Solar powered web or timelapse camera
  • Night-time “critter cam"
  • Solar powered LED night lighting controller

Bonus Application

The charger works well as a 12- and/or 5-V UPS when combined with a laptop power supply. The laptop supply should be able to supply at least 3.5A at between 18.5 - 21V output (for example a Dell supply at 20V/3.5A) - a high enough voltage to initiate charging. The charger will both charge the battery and supply the load current to the user's device and the battery will supply power if AC power fails.

Compatible Solar Panels and Batteries

The makerPower is designed to use standard 25- or 35-Watt 12V solar panels with 7-Ah to 18-Ah 12V AGM type lead acid or LiFePO4 batteries. It has a maximum charge capacity of about 35-38 watts. A detailed sizing method is described in the user manual but it is possible to use smaller or larger panels and batteries depending on the application.

Typically a 25-Watt panel is paired with a 7-Ah battery for small systems (Arduino-type up to Raspberry Pi Zero type). A 35-Watt panel is paired with 9-Ah to 18-Ah batteries for larger systems. Larger batteries provide longer run-time during poor (lower light) charging conditions. A larger panel can provide more charge current during poor charging conditions.

Solar panels should be a 36-cell type with a typical maximum power-point of around 18V and maximum open-circuit voltage of 23V (typically around 21-22V). Available panels and batteries I have tested with are shown below.

Enclosures

I have used the Carlon E989N enclosure found at a Home Depot home improvement store to hold the battery, charger and single-board computer. It is a good size providing room for a 7-Ah to 10-Ah battery as well as room for heat dissipation from both the charger and computer. Note that the charger can dissipate upwards of 5W when running at full capacity.

Other possible enclosures include the following.

Questions?

Contact the designer - [email protected]


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 7 days ago

Total Commits: 53
Total Committers: 1
Avg Commits per committer: 53.0
Development Distribution Score (DDS): 0.0

Commits in past year: 2
Committers in past year: 1
Avg Commits per committer in past year: 2.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
danjulio d****n@d****m 53

Committer domains:


Issue and Pull Request metadata

Last synced: 2 days ago

Total issues: 5
Total pull requests: 0
Average time to close issues: 20 days
Average time to close pull requests: N/A
Total issue authors: 5
Total pull request authors: 0
Average comments per issue: 5.4
Average comments per pull request: 0
Merged pull request: 0
Bot issues: 0
Bot pull requests: 0

Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/danjulio/MPPT-Solar-Charger

Top Issue Authors

  • gon0 (1)
  • korgon (1)
  • adrian0 (1)
  • podarok (1)
  • ygator (1)

Top Pull Request Authors


Top Issue Labels

Top Pull Request Labels

Score: 5.0106352940962555