Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Power & Batteries
  4. ›Solar Panels and Charge Controllers for Electronics Projects
Step 15 of 16 in ESP32 and IoTPart of a learning path.
Next

How-to · Intermediate · 3 min read

Solar Panels and Charge Controllers for Electronics Projects

By Geekobot Learning Team · Updated 24 Oct 2026

On this page
Short answerSizing panel and batteryPWM vs MPPT charge controllersSmall single-cell solar projectsWiring order for 12 V controllersTry itCommon mistakesFAQsParts and next steps
Short answer

A solar project needs a panel, a charge controller and a battery. Size the battery for several cloudy days of use, and the panel to recharge a day's use in your local peak sun hours, about 4 to 5.5 hours in most of India. Use a controller made for your battery chemistry: a solar Li-ion charger for an 18650, or PWM or MPPT for 12 V lead-acid and LiFePO4.

Key specs at a glance

Peak sun hours (India)
About 4 to 5.5 per day; less in monsoon
Panel output
Watts at about 1000 W/m² sun; expect 70 to 80% in real use
12 V panel
Vmp about 17 to 18 V, Voc about 21 to 22 V
PWM controller
Cheap; panel Vmp should be close to battery voltage
MPPT controller
15 to 30% more energy, best with higher-voltage panels
Small builds
5 or 6 V panel + solar Li-ion charger (CN3791, or TP4056 with care)
!Safety: Lithium cells need care

A shorted, over-charged or damaged lithium cell can get very hot and catch fire. Use a protection board or BMS, never short the terminals, charge on a non-flammable surface and do not leave a charging pack alone. Throw away cells that are swollen or dented.

01

Sizing panel and battery

  1. 1
    Daily energy: average current x voltage x 24 h. An ESP32 sensor that sleeps and wakes might average 20 mA at 3.7 V: 0.02 x 3.7 x 24 = 1.8 Wh per day.
  2. 2
    Battery: cover 3 to 5 cloudy days and stay above 20% charge: 1.8 x 4 / 0.8 = 9 Wh, so a 3.7 V 2500 to 3000 mAh 18650 cell.
  3. 3
    Panel: daily energy / (sun hours x 0.7 losses). With 4 sun hours: 1.8 / (4 x 0.7) = 0.64 W, so use a 1 to 2 W panel for monsoon margin.

The solar panel sizing and battery life calculators do this arithmetic.

02

PWM vs MPPT charge controllers

PWMMPPT
How it worksConnects panel to battery in pulsesConverts panel voltage down to the battery, tracking peak power
EfficiencyWastes the difference between panel and battery voltageHarvests 15 to 30% more, more in cold or with high-voltage panels
CostLowHigher
Best forSmall 12 V systems with matching 12 V panelsLarger systems, higher-voltage panels, Li-ion/LiFePO4
How it works
PWM:
Connects panel to battery in pulses
MPPT:
Converts panel voltage down to the battery, tracking peak power
Efficiency
PWM:
Wastes the difference between panel and battery voltage
MPPT:
Harvests 15 to 30% more, more in cold or with high-voltage panels
Cost
PWM:
Low
MPPT:
Higher
Best for
PWM:
Small 12 V systems with matching 12 V panels
MPPT:
Larger systems, higher-voltage panels, Li-ion/LiFePO4
03

Small single-cell solar projects

For an ESP32 or Arduino sensor on one 18650 cell, use a solar Li-ion charger module (such as a CN3791 board with MPPT-like input regulation) fed by a 6 V panel. A TP4056 can work with a 5 to 6 V panel, but it does not track the panel's power point and charges poorly in weak light. Add a low-quiescent 3.3 V regulator and use deep sleep so the average current stays low. Protect the cell with a protection circuit (DW01) and keep it out of direct sun: Li-ion cells should not charge above about 45 °C.

04

Wiring order for 12 V controllers

Connect the battery to the controller first, so it can detect the system voltage, then the panel, then the load. Disconnect in reverse order. Use a fuse on the battery lead, size cables for the current, and set the controller's battery type (lead-acid, gel, LiFePO4) correctly. Most cheap PWM controllers have a load output with low-voltage disconnect, which protects the battery from deep discharge.

05

Try it: Solar panel sizing calculator

Change the values and the diagram and results update as you type.

06

Common mistakes to avoid

  • !Sizing the panel for sunny days only.
  • !Connecting the panel to the controller before the battery.
  • !Using a lead-acid controller setting on a LiFePO4 battery.
  • !Charging Li-ion cells in a hot sealed box in direct sun.
  • !Expecting a 12 V panel to charge a 12 V battery without a controller.
07

Frequently asked questions

What size solar panel do I need for an ESP32?

With deep sleep, an ESP32 sensor usually needs 1 to 3 W of panel and an 18650 cell. A continuously running ESP32 on Wi-Fi needs far more, around 5 to 10 W and a larger battery.

PWM or MPPT, which is better?

MPPT harvests more energy, especially with higher-voltage panels or in cold weather. PWM is cheaper and fine for small 12 V systems with matching panels.

Can I connect a solar panel directly to a battery?

Not safely. Without a charge controller the battery can overcharge. Always use a controller made for the battery chemistry.

How many sun hours does India get?

Most regions get about 4 to 5.5 peak sun hours per day on average, lower during the monsoon and in the far north in winter.

Can a TP4056 charge from a solar panel?

It can, with a 5 to 6 V panel, but it is inefficient in weak light. A solar charger such as a CN3791 module works better.

Parts for this guide

  • Solar Panel
    ₹156View
  • Solar Charge Controller
    ₹329View
  • 18650 Li-ion Rechargeable Cell
    ₹119View
  • TP4056 1A Li-ion Charger Module with Protection
    ₹19View
Shop SolarShop Li-ion Cells & Packs

Calculators

Solar panel sizing calculatorBattery life calculatormAh to Wh calculator

Terms in this guide

mAhMilliamp-hours: battery capacity. 2000 mAh can supply 2000 mA for one hour or 200 mA for ten hours, in theory.CC/CV chargingConstant-current then constant-voltage charging, the method for lithium cells: charge at fixed current until 4.2 V, then hold 4.2 V while current tapers.EfficiencyOutput power divided by input power. A 90% efficient converter loses 10% as heat.Deep sleepA low-power mode where most of a microcontroller is switched off, cutting current to microamps between tasks.Quiescent currentThe current a regulator or chip draws for itself with no load.LDOLow-dropout regulator: a linear regulator that works with a small difference between input and output.

Projects that use it

Put this into practice: 6 step-by-step builds in our project library use parts from this guide.

Intermediate · 1–2 hoursSolar-charged 18650 power bankView projectIntermediate · 1 daySolar panel output through the dayView projectIntermediate · 2–3 hoursSingle-axis solar trackerView project
Browse all 6 projects

Keep learning

Component guideBeginnerLi-ion, 18650 and LiPo BatteriesLithium-ion cells, including 18650s and flat LiPo packs, store about 3.6 to 3.7 V nominal, charge to exactly 4.2 V and should not be discharged below about 3.0 V.4 min read · Power & BatteriesComponent guideIntermediateLiFePO4 BatteriesLiFePO4 (lithium iron phosphate, LFP) cells run at 3.2 V nominal and charge to 3.65 V, so four in series make a 12.8 V pack that can directly replace a 12 V lead-acid battery.3 min read · Power & BatteriesHow-toBeginnerHow to Power an Arduino or ESP32 from BatteriesFor an Arduino Uno or Nano, feed 7 to 12 V into VIN or the barrel jack (6 x AA works well), or regulated 5 V into the 5V pin or USB.4 min read · Power & BatteriesHow-toBeginnerTP4056 Charger ModuleThe TP4056 module charges one 3.7 V lithium cell from 5 V USB at up to 1 A using the correct constant-current, constant-voltage method, stopping at 4.2 V.3 min read · Power & Batteries

Sources

  • Ministry of New and Renewable Energy and NREL solar resource data for India
  • Consonance CN3791 datasheet
  • Charge controller manufacturer manuals

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerSizing panel and batteryPWM vs MPPT charge controllersSmall single-cell solar projectsWiring order for 12 V controllersTry itCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide4 items · ₹623

Solar Panel · Solar Charge Controller · 18650 Li-ion Rechargeable Cell · TP4056 1A Li-ion Charger Module with Protection

Ask the Community

Ask a question