Zbotic Logo Zbotic Logo
  • Home
  • Shop
  • Sale
  • 3D Printing
  • PCB Service
  • B2B
  • Blogs
  • Contact Us
0 0

View Wishlist Add all to cart

0 0
0 Shopping Cart
Shopping cart (0)
Subtotal: ₹0.00

View cartCheckout

  • Shop
  • About Us
  • Contact Us
  • Reseller
  • Blogs
020 69134444
1800 209 0998
[email protected]
Help Desk
Facebook Twitter Instagram Linkedin YouTube
Zbotic Logo Zbotic Logo
0 0

View Wishlist Add all to cart

0 0
0 Shopping Cart
Shopping cart (0)
Subtotal: ₹0.00

View cartCheckout

All departments
  • 3D Printing
  • 3D Printer
  • Batteries & Chargers
  • Development Boards
  • Drone Parts
  • EBike parts
  • Sensor Modules
  • Electronic Components
  • Electronic Modules
  • IoT and Wireless
  • Mechanical Parts and Workbench Tools
  • Motors & Drivers & Pumps & Actuators
  • DIY and Robot Kits
  • Show more
  • Home
  • Shop
  • Sale
  • 3D Printing
  • PCB Service
  • B2B
  • Blogs
  • Contact Us
Return to previous page
Home Solar & Renewable Energy

Solar Lantern Circuit: 6V Panel, NiMH Battery and LED Driver

Solar Lantern Circuit: 6V Panel, NiMH Battery and LED Driver

March 11, 2026 /Posted byJayesh Jain / 0

A DIY solar lantern circuit is an excellent beginner project that teaches you practical solar energy concepts while producing something genuinely useful. Solar lanterns are in wide use across rural India, replacing kerosene lamps and providing clean, free lighting at night. This guide covers a complete solar lantern circuit using a 6V solar panel, NiMH battery pack, and efficient LED driver with automatic day/night switching.

Table of Contents

  • Circuit Overview and Operating Principle
  • Component List and Specifications
  • Battery Charging Circuit Design
  • LED Driver Circuit
  • Automatic Day/Night Switching
  • Assembly and Housing
  • Troubleshooting Guide
  • Frequently Asked Questions

Circuit Overview and Operating Principle

The solar lantern operates on a simple principle: during the day, the solar panel charges the NiMH battery through a charging circuit with overcharge protection. At night (or low light), a light-sensing circuit detects darkness and automatically switches on the LED driver, powering the lamp. A battery protection circuit prevents deep discharge damage.

A 6V, 1W panel (Voc ≈ 7.2V, Isc ≈ 200mA) is ideal for charging a 4-cell NiMH pack (4.8V, 2500mAh). This combination provides 6-8 hours of LED lighting per night with a full day’s charge.

Recommended: Waveshare Solar Power Manager Module (D) — Skip the discrete component charging circuit and use this ready-made module with built-in solar MPPT and 5V/3A regulated output for a more advanced solar lantern build.

Component List and Specifications

Power Components

  • Solar panel: 6V, 1W (Voc 7.2V, Isc 200mA) – polycrystalline, available on Amazon India for Rs 150-250
  • NiMH battery: 4 x AA NiMH (4.8V nominal, 2500mAh) or 1.2V x 4 = 4.8V
  • LED: 1W high-brightness white LED (Cree/Epistar, 100 lm typical)

Electronic Components

  • IC1: LM358 dual op-amp (for light sensor and charge control comparators)
  • IC2: LM317 adjustable voltage regulator (charging current limiter)
  • T1: BC547 NPN transistor (LED driver switch)
  • T2: BC557 PNP transistor (charge control switch)
  • D1: 1N5817 Schottky diode (blocking diode, prevents battery discharge through panel at night)
  • D2: 1N4148 signal diode (reference for comparator)
  • LDR: Light Dependent Resistor (GL5528 or similar)
  • R1: 10 ohm, 1W (LED current limiting resistor)
  • R2, R3: 10k ohm (voltage divider for LDR)
  • R4: 1.2k ohm (LM317 current set, for 100mA charge current)
  • R5: 240 ohm (LM317 reference)
  • C1: 100uF 16V electrolytic (supply decoupling)
  • C2: 10uF 16V electrolytic (LDR filter)

Battery Charging Circuit Design

NiMH batteries should be charged at C/10 (10% of capacity per hour) for safe, reliable operation. For a 2500mAh pack, charge current = 250mA. However, a simpler C/20 charging rate (125mA) eliminates the need for complex delta-V detection and is safe for extended periods.

/* LM317 Constant Current Charging Circuit */
/* Charge current calculation:
   I_charge = 1.25V / R_adj
   For 125mA: R_adj = 1.25 / 0.125 = 10 ohm
   For 250mA: R_adj = 1.25 / 0.250 = 5 ohm
   Use R4 = 10 ohm for safe C/20 charging
*/

// Connection:
// Solar panel (+) -- D1 (1N5817) -- LM317 ADJ pin -- R4 (10 ohm)
// LM317 OUT -- Battery (+)
// LM317 IN  -- Solar panel (+) via D1
// Battery (-) -- GND

// Overcharge protection:
// Zener diode (5.6V) across battery
// When battery reaches 5.6V (4x 1.4V = overcharged NiMH)
// Zener conducts, T2 (PNP) turns off, cutting charge current

// Full charge voltage per NiMH cell: 1.40-1.42V
// 4 cells: 5.60-5.68V

LED Driver Circuit

A 1W white LED requires a constant current driver. The LED forward voltage is approximately 3.0-3.4V at 350mA rated current. For our 4.8V NiMH pack, a simple transistor current sink is sufficient:

/* Simple LED Driver with BC547 */
/* Resistor calculation:
   V_battery = 4.8V (nominal), 4.2V (discharged)
   V_LED = 3.2V forward voltage at 200mA
   V_R = 4.8 - 3.2 - 0.6(transistor Vce_sat) = 1.0V
   R_LED = V_R / I_LED = 1.0V / 0.2A = 5 ohm (use 4.7 ohm)
   Power in R_LED = 1.0V x 0.2A = 0.2W (use 0.5W or 1W resistor)
*/

// Transistor switch:
// BC547 collector -- Cathode of LED
// BC547 emitter  -- GND via R_LED (4.7 ohm)
// BC547 base     -- via 10k from LDR circuit output
// LED anode      -- Battery (+) when switched on by auto circuit
Recommended: Arduino UNO R3 Development Board — Upgrade this basic solar lantern circuit with Arduino for programmable dimming, battery percentage display on LCD, and scheduled on/off times.

Automatic Day/Night Switching

The LDR and LM358 comparator circuit detects ambient light level and switches the LED on at night and off during the day:

/* LM358 Comparator for Day/Night Detection */
/* At night: LDR resistance high (>50k ohm in dark)
   At noon:  LDR resistance low (<1k ohm in bright light)

   Voltage divider: Vcc -- LDR -- Node A -- 10k -- GND
   Reference: Vcc -- 47k -- Node B -- 10k -- GND
   (Node B = 4.8V x 10k/(47k+10k) = 0.84V reference)

   At night: Node A voltage RISES (LDR high)
   LM358 non-inverting input > inverting input
   Output goes HIGH
   BC547 base turns ON
   LED turns ON

   At day: Node A voltage LOW (LDR low)
   LM358 output goes LOW
   LED turns OFF */

// Hysteresis: Add 470k between output and non-inverting input
// Prevents flickering at threshold light levels

Assembly and Housing

For a weather-resistant solar lantern suitable for Indian outdoor use:

  • Use a 80mm PVC pipe as the lantern body (available at any hardware store for Rs 30-50)
  • Mount the solar panel on top with a clear polycarbonate cover (protects from rain)
  • House the PCB, battery holder inside the pipe with silicone-sealed end caps
  • Diffuse the LED with a white frosted polycarbonate cover for wide-angle illumination
  • Total cost of materials: Rs 300-600 for a complete functional solar lantern
Recommended: 9V Battery for Arduino — Useful during circuit testing and prototyping before connecting the solar panel and NiMH pack to your solar lantern circuit.

Troubleshooting Guide

  • LED does not turn on at night: Check LDR voltage at non-inverting pin of LM358 – should be >0.84V in darkness. Check BC547 base voltage >0.6V when LED should be on.
  • Battery not charging: Verify solar panel Voc is above 6V in sunlight. Check D1 (1N5817) is installed correctly (striped band towards battery). Measure LM317 output current with multimeter in series.
  • LED flickers: Add 470k hysteresis resistor on LM358. Check battery voltage – below 3.6V (flat battery) causes flickering.
  • Low light output: Increase LED current by reducing R_LED (try 2.2 ohm instead of 4.7 ohm). Ensure LED is mounted on a small heatsink (aluminium sheet 20x20mm minimum).
  • Short run time: Verify NiMH batteries are good quality (check with multimeter at >4.5V fully charged). Increase panel size to 2W for faster charging.

Frequently Asked Questions

Can I use a Li-ion battery instead of NiMH?

Yes, but the charging circuit must be changed. Li-ion (3.7V single cell) requires a dedicated CC/CV charger IC like TP4056 (available for Rs 10-15 in India). Use a TP4056 module instead of the LM317 circuit described above. Li-ion gives higher energy density but requires careful overcharge protection.

What is the light output of a 1W LED solar lantern?

A quality 1W LED produces 80-120 lumens, equivalent to a 10W incandescent bulb. For a small 3×3 metre room, this provides adequate reading light. For brighter illumination, use 3W LED (requires 500mA current and larger battery).

How many hours will the lantern run on a full charge?

With a 2500mAh NiMH pack and 200mA LED current: runtime = 2500mAh / 200mA = 12.5 hours theoretical. In practice (accounting for efficiency losses), expect 8-10 hours of light per full day of solar charging.

What solar panel size do I need for consistent daily charging?

A 1W, 6V panel in India receives about 5-6 peak sun hours daily. Total charge = 1W x 5.5h / 4.8V = 1.15Ah. This partially charges a 2500mAh battery in one day. For full daily recharge, use a 2W or 3W panel (Rs 250-400 on Amazon India).

Shop Solar & Renewable Energy at Zbotic

Tags: diy solar lantern, led solar lamp, nimh battery solar, solar charging circuit, solar lantern circuit
Share Post
  • Facebook
  • Linkedin
  • Whatsapp
LPC1768 mbed Board: ARM Cortex...
blog lpc1768 mbed board arm cortex m3 getting started india 598127
blog at89s52 8051 microcontroller getting started for students india 598131
AT89S52 8051 Microcontroller: ...

Related posts

Svg%3E
Read more

Energy Meter with Arduino: Monitor Household Power Consumption

April 1, 2026 0
An energy meter built with Arduino lets you monitor your household power consumption in real-time, track energy usage patterns, and... Continue reading
Svg%3E
Read more

Solar Street Light Controller: Arduino Automatic Dusk to Dawn

April 1, 2026 0
A solar street light controller using Arduino provides automatic dusk-to-dawn LED lighting powered entirely by solar energy. This project is... Continue reading
Svg%3E
Read more

Solar Powered IoT Sensor Node: ESP32 with Deep Sleep

April 1, 2026 0
A solar-powered IoT sensor node using the ESP32 with deep sleep is the ultimate remote monitoring solution. It harvests solar... Continue reading
Svg%3E
Read more

12V Solar System for Camping and Vans: Indian Road Trip Setup

April 1, 2026 0
A 12V solar system is the perfect companion for camping and van life in India. Whether you are exploring Ladakh’s... Continue reading
Svg%3E
Read more

Inverter Basics: Modified Sine Wave vs Pure Sine Wave India

April 1, 2026 0
The inverter is the component that converts DC electricity from your batteries into the 230V AC power that runs your... Continue reading

Add comment Cancel reply

Your email address will not be published. Required fields are marked

Facebook Twitter Instagram Pinterest Linkedin Youtube

Get the latest deals and more.

Download on Google Play Download on the App Store

Call us: 020 69134444 / 1800 209 0998

Monday - Saturday 09:30 AM - 06:00 PM
For Customer Support Email: [email protected]
WhatsApp: 020 6913 4444

  • My Account

    • Cart

    • Wishlist

    • Checkout

    • My Orders

    • Track Order

    • My Account

  • Information

    • FAQs

    • Blogs

    • Career

    • About Us

    • Contact Us

    • Payment Options

  • Policies

    • Privacy Policy

    • Terms & Conditions

    • GST Input Tax Credit

    • Shipping Return Policy

    • E-Waste Collection Points

    • Our Sitemap

© Zbotic.in is registered trademark of Moxie Supply Pvt Ltd – All Rights Reserved
Login
Use Phone Number
Use Email Address
Not a member yet? Register Now
Reset Password
Use Phone Number
Use Email Address
Register
Already a member? Login Now
Chat with us