Projects   /   Power & Battery

Integrated Solar ChargeController, Inverter, PowerBank, Lamp

Microcontroller based Solar PV System's charge controller, inverter, PowerBank & LED lamp with menu-based navigation system on LCD display.

Published

At a glance

CategoryPower & Battery
IncludesVideo
Reading time~8 min
Jump to a section
  1. Story
  2. About this Project
  3. Proto Version on Uno
  4. Full Fledged Version on Protoboard
  5. Let's learn some technical stuff!
  6. PWM
  7. Workings of the Hardware
  8. Quick Solutions to Questions related to Integrated Solar ChargeController, Inverter, Power
  9. Related projects

Summary of Integrated Solar ChargeController, Inverter, PowerBank, Lamp

This project integrates a microcontroller-based PWM solar charge controller, square-wave inverter, USB power bank, and emergency LED lamp on one board, controlled via a two-button menu on a Nokia 5110 display. It uses an AVR Atmega microcontroller (Optiboot), MOSFETs for charging, load switching and inverter driving, a buck regulator for Li-ion charging, and supports up to 100 W solar panels and 12 V lead-acid batteries. Features include PWM charging, three DC load controls, USB power output, display backlight switch, and onboard Li-ion for independent lamp and power-bank operation.

Parts used in the Integrated Solar ChargeController, Inverter, PowerBank, Lamp:

  • AVR Atmega8A microcontroller (or Atmega328P with minor changes)
  • Nokia 5110 LCD display
  • Two momentary touch buttons (scroll and select)
  • Slide power on/off switch
  • P-MOSFET for solar charging
  • 2N2222 transistor for P-MOSFET driving
  • N-MOSFETs for DC load control
  • N-MOSFETs (two) for inverter driving
  • Center-tapped step-up transformer for inverter
  • Buck regulator module for Li-ion charging
  • Li-ion (on-board) battery
  • 12 V lead-acid battery (external)
  • Solar PV panel (up to 100 W)
  • Smoothing capacitors for switch debouncing
  • MOSFETs shield / protoboard wiring and hot-glue insulation
  • USB boost circuitry (power bank boost converter)
  • Super-bright LED for emergency lamp
Microcontroller based Solar PV System's charge controller, inverter, PowerBank & LED lamp with menu-based navigation system on LCD display

Story

Source: Integrated Solar ChargeController, Inverter, PowerBank, Lamp
  • What microcontroller is used in this project?
    The project uses an AVR Atmega8A microcontroller, and Atmega328P can be used with minor changes.
  • How is the solar charging implemented?
    Solar charging is implemented using a P-MOSFET driven by a 2N2222 transistor and PWM from the microcontroller.
  • Can this system support MPPT charging?
    The project describes PWM charging; MPPT is explained as a different approach but this build uses PWM.
  • What type of inverter does the project include?
    The project includes a square wave mini inverter using two N-MOSFETs and a center-tapped transformer for AC output.
  • How is the on-board LED lamp controlled?
    The LED lamp is driven by an N-MOSFET with PWM control for blink and brightness adjustment.
  • Does the device provide USB power?
    Yes, an independent USB power bank function is provided using the on-board Li-ion battery and boost circuitry.
  • What display and user interface are used?
    A Nokia 5110 display is used with two buttons for scroll and select based menu navigation.
  • How many 12 V DC loads can be controlled?
    The system supports up to three 12 V DC load controls, with two additional loads available at the inverter terminal if inverter is unused.
  • What protects the board from shorting against metallic objects?
    The back side is insulated with hot glue for short circuit protection.
  • How does the buck module function in this system?
    The buck regulator charges the 4.2 V Li-ion battery that powers the controller, display, power bank, and LED lamp, and can be switched off for independent operation.
Muhammad Bilal

Muhammad Bilal

I am a highly skilled and motivated individual with a Master's degree in Computer Science. I have extensive experience in technical writing and a deep understanding of SEO practices.