Most people never see the circuit board inside a solar light, and the manufacturers would prefer it stay that way. The board is small, often green or brown, tucked under the battery or wedged against the LED, and it does almost all the actual work of the light. The panel collects energy, the battery stores it, the LED emits light, but the circuit board is the brain that decides when to charge, when to light, how bright to run, and when to shut off to protect the battery.
I have pulled a lot of these boards out of dead lights, sometimes to fix them and sometimes just to understand them. They are surprisingly varied. A two-dollar path light has a board with four components. A fifty-dollar motion floodlight has a board with forty. But they all do the same basic jobs, and once you understand those jobs, you can look at any solar light board and have a decent idea of what each part does and what probably failed.
This article walks through the functions of a solar light circuit board, the components that perform them, how they fail, and when repair is realistic.
The Five Jobs Of The Board
Every solar light circuit, no matter how cheap or fancy, has to do five things.
- Block reverse current at night so the battery does not discharge backward through the panel.
- Limit charge current to protect the battery from overcharge.
- Sense day and night to switch the LED on and off.
- Regulate current to the LED so it does not burn out.
- In fancier lights, implement control modes (motion, dimming, timer) and protect the battery from over-discharge.
Cheap boards do the first four with a handful of passive components. Expensive boards do all five with a microcontroller. Let us look at each job and the components that handle it.
Job One: The Blocking Diode
When the sun goes down, the panel stops producing voltage. The battery, however, is fully charged and wants to push current back through the panel the other way, because a solar panel acts like a diode in reverse and will conduct backward if given the chance. Without protection, the battery would drain into the panel all night and the light would never run.
The blocking diode solves this. It is a one-way valve placed in series between the panel and the battery. Current can flow from panel to battery (charging) but not from battery to panel (wasting). The diode is almost always a Schottky type, which has a low forward voltage drop (around 0.2 to 0.3 volts) so it wastes less of the precious panel voltage during charging.
How To Spot It
On a cheap board, the diode is usually a small black cylindrical component with a band on one end, sometimes marked with a part number like 1N5817 or 1N5819. On surface-mount boards it is a tiny rectangular part marked with a code.
How It Fails
Diodes fail two ways. They can fail open, which breaks the charge path entirely (the battery never charges and the light is dead). Or they can fail short, which removes the blocking function (the battery drains backward through the panel at night and the light runs short or not at all).
A shorted diode is sneaky because the light still charges and still works, it just runs out of battery before morning. If you have a light that charges fine but dies suspiciously early, and the battery and panel test good, suspect the diode.
Repair
Diodes are cheap and easy to replace if you can solder. Identify the part (read the marking), buy a replacement (pennies), desolder the old one, solder in the new one observing polarity (the band matters). This is one of the most rewarding board-level repairs because a two-cent part can revive a light.
Job Two: Charge Limiting
A solar panel connected directly to a battery will push whatever current it can produce, limited only by the panel’s output and the battery’s internal resistance. For NiMH, this is mostly fine because NiMH tolerates overcharge by venting. For lithium, it is dangerous, because overcharge destroys the cell and can cause fire.
Cheap NiMH lights often have no real charge limiting beyond the diode. The panel is sized so that its maximum current is below what would damage the NiMH battery even if applied continuously. This is called trickle charging and it works, crudely, because NiMH is forgiving.
Lithium lights must have charge limiting. This is done either by a dedicated charge control chip or by a simple zener diode clamp that shunts excess current when the battery reaches 4.2 volts. Better boards use a proper lithium charge IC (like a TP4056 or similar) that manages constant-current then constant-voltage charging and cuts off at full charge.
How To Spot It
On a lithium light board, look for a small IC (8 pins or fewer) near the battery terminals, often with “TP” or another prefix. There will also be a couple of resistors setting the charge current and a capacitor for stability.
How It Fails
Charge control failures usually result in either no charging (the chip is dead, battery stays flat) or overcharging (the chip fails short, battery gets overcharged). Overcharging a lithium cell is dangerous and will swell or vent the battery. If you find a swollen battery in a light, suspect the charge control failed before replacing the battery, or the new battery will swell too.
Repair
Charge IC replacement is possible if you can identify the chip and source it, and if you can solder surface-mount. For a hobbyist with a hot air station, this is doable. For most people, a failed charge IC means the light is done, especially if it already killed the battery.
Job Three: Day/Night Sensing
The light needs to know when to turn on. The simplest method uses the solar panel itself as the sensor. The panel voltage is high in daylight and low in darkness. A comparator circuit (or a transistor biased to the right threshold) detects when the panel voltage drops below a set point and switches the LED on. When the panel voltage rises in the morning, it switches the LED off.
Some lights use a separate photoresistor (LDR, light-dependent resistor) instead of or in addition to the panel. The LDR is a component whose resistance changes with light. In daylight it is low resistance, in darkness it is high resistance. A transistor reads this and switches the LED.
Fancier lights use a microcontroller that reads the panel or LDR via an analog input and applies logic, including debounce (so a passing cloud does not turn the light on and off) and mode selection.
How To Spot It
The LDR, if present, is a small disc with a clear window and a squiggly conductive pattern on top. It is usually mounted so it faces daylight, often poking through the housing. If there is no LDR, the panel is the sensor, and the sensing happens on the main board via a transistor or IC.
How It Fails
LDRs can drift with age, changing their light/dark resistance threshold. This causes the light to turn on too early (at dusk) or too late (well after dark), or to flicker at the threshold. A failed LDR can keep the light on during the day or off all night.
Panel-sensing circuits fail less often, but the threshold transistor or comparator can drift or die, causing similar symptoms.
Repair
LDR replacement is easy. Identify the part (common types are GL5528, GL5537, or similar, with specific dark/light resistance values), buy a replacement for cents, desolder the old one, solder in the new one facing the same direction. This is a satisfying fix for a light that turns on at the wrong time.
Transistor or comparator replacement is harder but possible if you can read the part number and source it.
Job Four: LED Current Regulation
An LED is a current-driven device. It does not regulate its own current. If you connect a battery directly to an LED with no current limiting, the LED draws increasing current as it heats up, runs away, and burns out in seconds. Every LED needs something to limit the current.
The crudest method is a series resistor. The resistor drops the excess voltage and limits current to a value set by Ohm’s law (current equals battery voltage minus LED voltage, divided by resistance). This is cheap, simple, and inefficient, and it is what almost every budget solar light uses. The resistor is sized so that with a fresh battery the LED gets the right current, and as the battery drains the LED dims naturally.
Better lights use a constant-current driver, which is a small switching or linear regulator that holds the LED current steady as the battery voltage changes. This gives consistent brightness through the night and is more efficient. The driver is usually a small IC with an inductor and a diode.
The best lights use a microcontroller-driven PWM (pulse width modulation) scheme, where the LED is switched on and off rapidly and the duty cycle sets the brightness. This is how dimming modes work. The LED is actually flickering, but faster than the eye can see, and the average brightness is controlled.
How To Spot It
The series resistor, if used, is a small rectangular component near the LED, color-coded or marked with a number (like 150 for 15 ohms). The constant-current driver is an IC with an inductor (a small coil or toroid) nearby. PWM drivers live in the microcontroller.
How It Fails
Series resistors rarely fail. If they do, it is usually because the LED shorted and the resistor overheated and burned. You will see a scorched resistor.
Driver ICs can fail, usually resulting in no light (the LED stays off) or full brightness with no control (the LED is overdriven and will burn out soon). PWM drivers fail the same way, sometimes stuck at full brightness or stuck off.
Repair
Resistor replacement is trivial if you can read the value and solder. Driver IC replacement requires identifying the chip, which is often a generic Chinese part with no readable datasheet, making repair impractical. PWM driver failures usually mean the microcontroller is dead, which means the board is done.
Job Five: Protection And Modes (Fancier Lights)
Lithium lights add battery protection, which is a separate small board (or section of the main board) with a protection IC and two MOSFETs. This circuit cuts charge at the overvoltage threshold (4.2 or 3.65V depending on chemistry) and cuts discharge at the undervoltage threshold (2.5 to 2.7V). It is the part that prevents the battery from being damaged or catching fire.
Motion lights add a PIR sensor and a mode controller. The PIR is a three-pin module (power, ground, signal) that outputs a pulse when it detects motion. The controller reads the pulse and switches the LED to full brightness for a set duration.
Multi-mode lights add a microcontroller that runs the show. It reads the panel, the PIR, and any mode buttons, and drives the LED accordingly. These boards are complex and not repairable at the component level without serious effort.
How These Fail
Protection circuits fail in two modes. Fail-open (the MOSFET stops conducting) means the light is dead, no charge, no discharge. Fail-short means no protection, and the battery gets overcharged or over-discharged until it dies. A light that suddenly starts killing batteries may have a failed protection circuit.
PIR sensors fail by becoming always-on (detecting phantom motion constantly) or always-off (never triggering). Always-on kills the battery fast. Always-off makes the light useless as a security light.
Microcontrollers fail rarely but catastrophically. A dead microcontroller means the board does nothing, and repair is out of the question without a replacement chip and programming.
Reading A Solar Light Board
If you want to diagnose a dead light, here is how I read a board.
First, identify the power path. Find the panel wires (usually two, sometimes marked plus and minus). Follow them to the board. The first component after the panel input is the blocking diode. After the diode, the path goes to the battery terminals, possibly through the charge control IC.
Second, identify the LED path. Find the LED wires. They go to the LED driver, which is either a series resistor or a driver IC. The driver is controlled by the sensing circuit (transistor or microcontroller).
Third, identify the sensor. Is there an LDR? Is there a PIR? Is there a microcontroller? These tell you how fancy the board is and what failure modes to expect.
Fourth, look for damage. Scorched components, bulging capacitors, corroded traces, cracked solder joints, and water residue are the usual suspects. A magnifying glass helps. Many failures are visible once you look closely.
Common Failure Points, Ranked
After opening many dead lights, here is what actually fails, in rough order of frequency.
- Battery (not on the board, but the most common failure by far)
- Corroded battery contacts and wires (water intrusion)
- Broken wires at solder joints (vibration and handling)
- Shorted or open blocking diode
- Water-damaged board (corroded traces, failed components)
- Failed LDR or sensor drift
- Failed LED driver or scorched resistor (LED overdriven)
- Failed charge control IC (lithium lights, often kills the battery too)
- Failed protection MOSFET (lithium lights)
- Dead microcontroller (rare but terminal)
The first five account for the vast majority of failures and are the ones worth diagnosing. The rest are harder to fix and often not worth the effort on a cheap light.
When Repair Is Worth It
I repair boards when the light is expensive, when I have the parts, or when I am curious. For a fifteen-dollar path light with a dead board, I salvage the panel, battery, and stake, and move on. The math does not work for spending an hour soldering a two-dollar board.
For a sixty-dollar floodlight, an hour of diagnosis and a twenty-cent diode is a great deal. The same hour on a microcontroller replacement with no datasheet is a bad deal. Knowing which repairs are worth attempting is half the skill.
The repairs I attempt, roughly in order of success rate:
- Replacing a blocking diode (easy, high success)
- Replacing an LDR (easy, high success)
- Resoldering broken wires and joints (easy, high success)
- Cleaning a water-damaged board (moderate, moderate success)
- Replacing a series resistor (easy, but the LED may also be dead)
- Replacing a charge IC (moderate, requires parts and skill)
- Replacing a protection MOSFET (moderate, requires parts and skill)
- Replacing a microcontroller (not attempted, no source for programmed parts)
Tools For Board-Level Work
If you want to do this, you need a few tools. A multimeter is essential for tracing the power path and testing components. A soldering iron with a fine tip, rosin-core solder, and flux handles most through-hole work. A hot air rework station is needed for surface-mount IC replacement. A magnifier or loupe helps see small components and solder joints. Desoldering braid or a solder sucker removes old solder.
None of this is expensive. A usable setup for solar light repair is under fifty dollars if you shop smart, and it pays for itself if you repair even a few lights. It also transfers to other electronics repair, which is a satisfying skill in a disposable-product world.
Identifying Components Without A Schematic
One of the challenges of board-level repair on cheap solar lights is that there is no schematic and the components are often unmarked or marked with obscure codes. Here is how I read them.
Resistors on through-hole boards use color bands. A resistor color chart (printable, free online) decodes them in seconds. On surface-mount boards, resistors are marked with a three- or four-digit code, where the first digits are the value and the last digit is the multiplier (so 150 means 15 ohms, 154 means 150k ohms).
Capacitors are marked with a value in microfarads and a voltage rating. Small ceramic capacitors use a three-digit code similar to resistors (104 means 0.1 microfarads). Electrolytic capacitors (the round cans) print their value directly. A bulging or leaking electrolytic capacitor is a common failure point on boards with charge ICs, and replacing it often revives the board.
Diodes are marked with a part number (1N5817, 1N4148, etc.) or a short code on surface-mount parts. A diode datasheet, searchable by the code, tells you the ratings. For a blocking diode, any Schottky diode with adequate current and voltage rating works as a replacement, so an exact match is not always necessary.
ICs (integrated circuits) are the hardest. They are marked with a part number, but cheap Chinese boards sometimes use relabeled or house-marked chips with no public datasheet. If the IC is unmarked or unidentifiable, repair is impractical. If it is a common part (a TP4056 charge IC, an LM358 op-amp, a NE555 timer), the datasheet is easy to find and the chip is cheap to buy and replace.
Transistors are marked with a part number (like S8050 or 2N3904) and are replaceable with equivalents if you match the type (NPN, PNP, MOSFET) and the rough ratings. A general-purpose NPN transistor substitutes for most small-signal NPNs in solar light circuits.
The skill of reading components is cumulative. Decode a few boards and you start recognizing the common parts, and the unfamiliar ones become rarer. Keep a magnifier and a multimeter with a diode-test and continuity function, which lets you check components in-circuit before removing them.
A Philosophy Of Repair
Solar lights are cheap enough that repair is often not economically rational, and I am not going to pretend otherwise. But there are reasons to do it anyway. It keeps waste out of the landfill. It teaches you how the things you own actually work. It lets you rescue a light you particularly like that is no longer available. And there is a quiet satisfaction in bringing a dead thing back to life with a soldering iron and a two-cent part.
The circuit board is the part of a solar light that most people treat as a black box. It is not a black box. It is a small collection of components doing specific, understandable jobs, and most of those jobs are within reach of a patient beginner with a soldering iron. The more you understand it, the longer your lights will live, and the less often you will be standing in a hardware aisle replacing something that could have been fixed.

