Projects / Solar jar light

Solar jar light

Beginner1 hGuided buildReviewed

Build it step by step

0 of 7 done
  1. SOLARCN306517.3 mA

    Test the charger

    Panel in the sun, watch the charge LED.

  2. BC547738 lux

    Build the dusk switch

    LDR, resistors and transistor on a breadboard.

  3. 739 lux

    Test in the dark

    Cover the LDR with your hand.

  4. 740 lux

    Shield the LDR

    Keep it from seeing the LED.

  5. SOLAR

    Glue it in the lid

    Panel on top and parts underneath.

  6. Charge for a day

    Full sun.

  7. Time the lamp

    How many hours it lasts.

In short

How do you build a solar jar light?

A small solar panel charges a cell in a jar lid by day, and an LED turns on at dusk with no microcontroller. You need Solar panel 6 V 1 W, CN3065 solar Li-ion charger module, Li-Po battery 3.7 V 500 mAh, LDR Photoresistor, BC547 NPN transistor, Resistor 10 kΩ, Resistor 100 kΩ, LED 5 mm white and Resistor 220 Ω. It takes 7 steps and about 60 minutes.

Level
Beginner
Time
About 60 min
Parts
9

Parts list

Tick what you already own. It saves to My Garage, so “Build with what I have” knows.

Wiring

FromToWhy
Solar panel plus and minusCN3065 module IN+ and IN-Charging input
CN3065 BAT+ and BAT-Protected LiPo cellCharge the cell
Cell plus100 kΩ resistor to the sense nodeDivider top
Sense nodeLDR to cell minusDivider bottom (dark means high voltage)
Sense node10 kΩ to BC547 baseDusk switch
BC547 emitterCell minusGround
Cell plus220 Ω, then white LED anodeLamp
White LED cathodeBC547 collectorSwitched by the transistor

No code needed

This build has no code. In daylight the LDR has a low resistance, so the sense node sits near 0 V and the transistor stays off; at dusk the LDR's resistance climbs past about 20 kΩ and the node rises above 0.65 V, which switches the transistor on and lights the LED. The 100 kΩ resistor sets the dusk level, so use a smaller one for darker or a larger one for lighter switching, and add a little hysteresis with a larger LDR if the light flickers at dusk. The CN3065 module charges a single Li-ion or LiPo cell from a 4.4 to 6 V panel with the proper charge profile, so never connect a panel straight to the cell. Use a protected cell that has its own protection circuit, because nothing here stops over-discharge. A 220 Ω resistor gives only a few milliamps from a 3.7 V cell, so the light lasts for days after one sunny day; measure the real time with the cell fully charged. Keep the LDR shaded from the LED so the lamp does not switch itself off, seal the jar against rain, and never use damaged or swollen cells.

Test checklist

What you should see at each check. If a reading is far off, stop and use the troubleshooting list.

CheckExpected
DaylightLED off and the cell charging
DuskLED turns on
Covered LDRLED on at once
Run timeHours measured from a full charge

If it does not work

LED always on

Lower the 100 kΩ or check the LDR.

LED never on

Check the transistor pins.

Flicker

Shade the LDR from the LED.

Cell never charges

Check the panel polarity and sun angle.

Still stuck? Find the fault step by step with your multimeter →

Ask Lark AI

Common questions

What parts do I need for the solar jar light?

Solar panel 6 V 1 W, CN3065 solar Li-ion charger module, Li-Po battery 3.7 V 500 mAh, LDR Photoresistor, BC547 NPN transistor, Resistor 10 kΩ, Resistor 100 kΩ, LED 5 mm white and Resistor 220 Ω.

How long does the solar jar light take to build?

About 60 minutes for a beginner maker, in 7 steps.

How do I know the solar jar light works?

Daylight: LED off and the cell charging. Dusk: LED turns on. Covered LDR: LED on at once.

LED always on: what should I check?

Lower the 100 kΩ or check the LDR.

LED never on: what should I check?

Check the transistor pins.

Flicker: what should I check?

Shade the LDR from the LED.

Cell never charges: what should I check?

Check the panel polarity and sun angle.