Built to order

Electric Bicycle Charger using Solar Panel and MPPT

This project builds a solar-powered charger that charges a 36 V or 48 V electric-bicycle lithium-ion battery directly from sunlight, using a Perturb & Observe MPPT tracker and a buck-boost converter to hold the panel at its maximum power point. The charger follows the standard constant-current then constant-voltage charging curve, stops at the correct full-charge voltage of 42.0 V or 54.6 V, and shows panel voltage, charging current and battery voltage on an LCD. Suitable for B.E./B.Tech final-year projects in Electrical Engineering and Electronics & Telecommunication.

Chat on WhatsApp — get a quotation

Electrical Arduino NanoArduino IDE16x2 LCD displayACS712 current sensor100 W monocrystalline solar panelPerturb Observe MPPT algorithmSynchronous buck-boost converterHardware
Electric Bicycle Charger using Solar Panel and MPPT — project thumbnail preview
More project photos (2)

The problem

The Electric Bicycle Charger using Solar Panel and MPPT is a DC charger that charges a 36 V or 48 V electric-bicycle lithium-ion battery from a solar panel, with no mains supply and no AC output stage. An Arduino Nano runs a Perturb & Observe tracker that holds the panel at its maximum power point, while a buck-boost converter steps the panel voltage up or down to the voltage the battery needs. Most electric bicycles charge only from a wall socket, so a rider away from the grid has no way to top up by day. Wiring a panel straight to the battery wastes much of the sunshine, because the panel is forced to work at the battery voltage instead of its own best voltage. This charger closes both gaps: it turns surplus panel voltage into extra charging current, follows the constant-current then constant-voltage curve lithium cells require, and stops at the correct full-charge voltage, shown live on the LCD.

SYSTEM FLOW

6 components 5 connections

Live flow
Drag to explore
100%
powerSolar Panel

100 W panel feeds the charger with voltage that varies through the day.

Follow the working sequence

How it works

Sunlight falls on the solar panel, which produces DC power at a voltage that changes with light and temperature. The Arduino Nano measures panel voltage and current, works out the power, then nudges the converter's duty cycle by one small step and measures again — if power rose it keeps stepping the same way, and if it fell it reverses. This Perturb & Observe loop repeats continuously, hunting the panel back to the voltage where it delivers the most power, even as clouds pass or the panel heats up. The converter then reshapes that power for the battery, stepping the voltage up or down and trading surplus voltage for extra charging current. Charging follows the lithium curve — steady current while the pack voltage climbs, then held voltage while the current tapers — and the charger stops at 42.0 V for a 36 V pack or 54.6 V for a 48 V pack, shown live on the LCD.

  1. The solar panel is placed in direct sunlight and connected to the charger's solar input through the reverse-polarity-protected terminals.
  2. The Arduino Nano reads panel voltage and current through a voltage divider and an ACS712 current sensor, and computes the panel power.
  3. The Perturb & Observe routine nudges the buck-boost converter's duty cycle, compares the new power with the previous reading, and keeps or reverses direction to stay near the maximum power point.
  4. The converter steps the panel voltage up or down to the battery's charging voltage, converting surplus voltage into additional charging current.
  5. Charging runs in constant-current mode while the pack voltage climbs, then switches to constant-voltage mode at 42.0 V (36 V pack) or 54.6 V (48 V pack) while the current tapers.
  6. When the charge current falls below the cut-off threshold (design target: approximately 0.2 A), the charger stops and the LCD shows the charged state; the battery's own BMS provides cell-level protection throughout.

Builder note from the demo build: on the bench, the tracker could be watched hunting — each small duty-cycle step moved the panel voltage a fraction of a volt, the panel power reading climbed, dipped, then settled into a small oscillation around the peak instead of sitting still, which is exactly how Perturb & Observe behaves.

MPPT charger vs other charging options

Option What it does Limitation
This MPPT DC charger Tracks the panel's maximum power point and converts surplus voltage into charging current for a 36 V/48 V e-bike battery Charging speed depends on sunlight
PWM solar charger Switches the panel directly to the battery at the battery's voltage Forces the panel off its best voltage; published comparisons report 20–30% less energy harvested than MPPT
Panel wired directly to battery Connects the panel to the battery with no control at all No maximum-power tracking, no charging curve, and a real risk of overcharging the cells
Mains e-bike charger Charges from a wall socket at a fixed voltage and current Needs grid power; useless away from a socket
Solar MPPT inverter (SEPIC + H-bridge) Tracks the maximum power point and produces 230 V AC for home loads Built to power AC appliances, not to charge a battery — it cannot run the CC/CV curve an e-bike pack needs

Tech stack:

  • Arduino Nano (ATmega328P)
  • Perturb & Observe MPPT algorithm
  • Synchronous buck-boost converter
  • ACS712 current sensor
  • 16x2 LCD display
  • 100 W monocrystalline solar panel
  • 36 V / 48 V Li-ion battery pack with BMS
  • Arduino IDE
Parameter Value
Solar panel 100 W monocrystalline in the demo build (design target: up to 200 W with a second panel in series)
Panel voltage (datasheet) Vmp approximately 18 V, Voc approximately 22 V per 100 W panel
Controller Arduino Nano (ATmega328P)
Tracking algorithm Perturb & Observe (P&O)
Converter Synchronous buck-boost DC-DC stage
Battery packs supported 36 V (10S) and 48 V (13S) Li-ion NMC packs with BMS
Full-charge voltage 42.0 V (36 V pack) or 54.6 V (48 V pack)
Charge current Up to 4 A (design target)
Conversion efficiency Approximately 93–95% (design target)
Charging profile Constant-current then constant-voltage, cut-off at approximately 0.2 A (design target)
Display 16x2 LCD (panel voltage, charge current, battery voltage, state)
Charge time Approximately 4–6 hours of good sunlight for a 48 V 10 Ah pack (expected, sunlight-dependent)
Protections Reverse polarity, over-voltage cut-off, over-current limit, over-temperature shutdown

Project features

The charger is built around three capabilities that matter most: the Perturb & Observe tracker that keeps the panel at its maximum power point, the buck-boost stage that converts surplus panel voltage into extra charging current, and the constant-current then constant-voltage charging curve that lithium-ion packs require. Around those, the build adds the practical pieces a student needs to demonstrate and explain it: a live LCD readout of panel voltage, charging current and battery voltage, a selector switch for 36 V and 48 V packs, and protection against reverse polarity, over-voltage, over-current and over-temperature. The whole unit runs from sunlight alone with no mains connection, so it can be demonstrated outdoors with a real panel and a real e-bike battery. Every feature below is part of the built prototype; anything not listed here is an optional addition, not part of the base build.

  • [Perturb & Observe MPPT tracking] The Arduino Nano measures panel voltage and current, computes power, and steps the converter duty cycle toward the peak — the standard hill-climbing method that needs no panel datasheet to work.
  • [Buck-boost power stage] A synchronous buck-boost converter steps the panel voltage up or down to the battery's charging voltage, turning surplus voltage into additional charging current instead of wasting it as heat.
  • [Constant-current then constant-voltage charging] The charger delivers a steady current while the pack voltage climbs, then holds the full-charge voltage while the current tapers — the charging curve lithium-ion cells are designed for.
  • [36 V / 48 V pack selector] A switch selects the correct full-charge voltage — 42.0 V for a 10-cell 36 V pack or 54.6 V for a 13-cell 48 V pack — so one charger serves the two most common e-bike batteries.
  • [Live LCD readout] A 16x2 LCD shows panel voltage, charging current, battery voltage and charging state throughout, so the MPPT tracking and the charging stages are visible during a demonstration.
  • [Multi-layer protection] Reverse-polarity protection on the solar input, over-voltage cut-off, over-current limiting and over-temperature shutdown protect the charger, the panel and the battery from common wiring and fault mistakes.
  • [Sunlight-only operation] The charger runs entirely from the panel with no mains supply, so it can be demonstrated outdoors and used anywhere the sun reaches.

What is included

  • Working MPPT charger prototype (Arduino Nano, buck-boost stage, LCD, sensors)
  • 100 W monocrystalline solar panel with mounting stand
  • Firmware source code (Perturb & Observe MPPT plus CC/CV charging logic)
  • Circuit diagram, wiring documentation and component list
  • Project abstract PDF
  • Demonstration guidance and viva Q&A notes

Limitations & prerequisites

  • Charging speed depends entirely on sunlight; overcast days extend charge time substantially and night charging is impossible.
  • The charger needs the battery's own BMS for cell-level balancing and protection; it must never be used with a pack whose BMS is missing or faulty.
  • The voltage selector (36 V/48 V) must match the pack before connecting; a wrong setting can overcharge cells.
  • Perturb & Observe tracking oscillates slightly around the maximum power point and can step the wrong way during fast-moving cloud cover.
  • The prototype is an academic build, not a weatherproof or certified commercial charger; it needs shelter from rain.
  • Charge-time figures are expected values, not measured guarantees; panel angle, temperature and shading change them.

Frequently Asked Questions

Is this project suitable for a final-year project?

Yes — for Electrical Engineering and Electronics & Telecommunication programs, because it combines power electronics, embedded control and renewable energy in one working build. The MPPT algorithm, the buck-boost converter design and the CC/CV lithium charging curve each give the student real theory to explain and real measurements to show in the review. It also demonstrates well in a viva: the LCD shows the tracker hunting and the charging stages changing live, and the report can compare the MPPT harvest against a direct panel connection.

How is this different from a solar inverter with MPPT?

A solar inverter with MPPT converts panel power into 230 V AC to run home appliances, using an H-bridge output stage. This project does the opposite job: it stays entirely in DC, converting panel power into the exact charging voltage a 36 V or 48 V e-bike lithium battery needs, and it follows the constant-current then constant-voltage curve those cells require. The two builds share only the tracking idea; the topology, the load and the deliverable are all different.

Which batteries can it charge?

It charges 36 V (10-cell) and 48 V (13-cell) lithium-ion e-bike packs, selected with a switch before charging starts. The charger stops at the correct full-charge voltage for the selected pack — 42.0 V for 36 V packs and 54.6 V for 48 V packs — and it relies on the pack's own battery management system for cell-level balancing and protection. Lead-acid packs and lithium iron phosphate packs need different charging voltages and are not supported by this build.

What happens on a cloudy day or at night?

Charging slows sharply in cloud and stops at night, because the charger only has the panel's power to work with. The tracker keeps hunting for the best available power point in weak light, so the battery still receives a small charging current on overcast days, but a full charge needs several hours of reasonably strong sun. There is no grid backup in the base build; a mains fallback can be added on request.

Can the charging current or the panel size be changed?

Yes, within limits — the charge-current limit is a firmware setting, so it can be lowered for a small pack or raised up to the converter's 4 A design target for a larger one. The panel can also be doubled to 200 W by adding a second 100 W panel in series, which the buck-boost stage accepts without any hardware change. A larger panel or a higher current needs the fuse and wiring ratings checked first, and the battery's BMS current rating must not be exceeded.

Components & software requirements
  • Arduino Nano (ATmega328P)
  • Perturb & Observe MPPT algorithm
  • Synchronous buck-boost converter
  • ACS712 current sensor
  • 16x2 LCD display
  • 100 W monocrystalline solar panel
  • 36 V / 48 V Li-ion battery pack with BMS
  • Arduino IDE
Delivery information

Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.

Support terms

Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.

Download free synopsis (PDF)

Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.

Get a quotation