Skip to the content
PCBKitNew board
2 layers28 × 13 mmGardenlight, the printed circuit board in 3D

A collection of small projects that can be grouped together

Size
28 × 13 mm
Copper layers
2
Thickness
1.6 mm
Parts
7
Nets
5
Pads
16
Tracks, vias
20, 0
Pours
2
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
6 Dec 2023
Updated
4 May 2025

Overview

Gardenlight is an open-source printed circuit board by codesqueak, from the codesqueak/SmallElectronicsProjects repository on GitHub. It is a 2-layer board of 28 × 13 mm with 7 parts on 5 nets, routed with 20 tracks and 0 vias.

It is built around the QX5252F. Its parts include 2 diodes, 1 capacitor, 1 IC and 1 inductor.

Main components

1

README

gardenlightCompact/kicad/README.md

Solar Garden Light

Keywords: Garden light, solar light, LED, solar, circuit, QX5252F, oshpark, jlcpcb

The Problem

I have a number of post type solar garden lamps, with small circular solar cells at the top. These suffer from a number of problems:

  • The cell is too small to supply adequate power in the winter
  • The plastic coating on the cell degrades and becomes opaque
  • The electronics suffer from corrosion
  • The illumination level is low

The Solution

I decided to see if it was possible to replace the electronics package with something that would address the issues:

  • A larger, better packaged (hopefully!) solar cell was sourced
  • An efficient circuit was designed around the QX5252F LED driver
  • The electronics package was small enough to be dipped in a protective coating and housed in a closed container

Circuit

After looking at and testing various designs / component values I found the following configuration to be optimal.

ComponentValueComment
QX5252FTO-94Datasheet
Solar Cell2.5VSelect something that will supply adequate power in winter
Inductor100µHAlter this values to control the available current
Ni-MH Battery1.2VSelect something with adequate storage - 1900mAh Ni-MH Eneloop's seem to do the job but overspec'd
Diode1N5817Anything with a low voltage drop will do
LED20mA / 17500 mCdNice and bright with good coverage. Obtained some from Kitronik
Capacitor1μFElectrolytic. Serves to increase brightness noticeably but uses more power. Useful for stablizing power for self colour changing LED's

Note: The capacitor is optional and is only essential when you use colour changing LED's. If you just want to change the brightness, change the inductor.

Completed Item and Housing

The circuit can be implemented on a small piece of Vero-board. This is small enough to fit within the space taken by one AA cell. Closed dual AA cell battery holders are common and cheap to obtain from eBay, thus solving the protective environment issue.

The battery holder is then affixed onto the base of the solar cell using a silicone sealant.
Make sure to use a 'non-corrosive' type as some will attack various materials including copper.

Built Up Circuit - Front

Note: For testing, the solar cell, battery and LED are broken out on 2.54mm Dupont connector pins. For long environmental life you may want to solder the connecting wires before coating the whole unit with a conformal coating / liquid tape etc

Built Up Circuit - Back

Not the best image - the camera seems to have problems with the shiny copper surface.

PCB - JLC

I also had a number of PCB's made up by JLC. Very cheap, fast delivery and I like the selection of colours.

The gebers for both JLC and OSHPARK are included in the project if you want to make your own

Component Size Comparison

Parts

7
QtyValueFootprintReferences
11.2V NiMHConnector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_VerticalBT1
1100mHInductor_THT:L_Axial_L6.6mm_D2.7mm_P10.16mm_Horizontal_Vishay_IM-2L1
11N5817Diode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD1
11uFCapacitor_THT:CP_Radial_D4.0mm_P1.50mmC1
12.5VConnector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_VerticalSC1
1LEDLED_THT:LED_D5.0mmD2
1QX5252Fgardenlight:QX5252FU1

Questions

How big is the Gardenlight PCB?

It measures 28 × 13 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Gardenlight use?

7 parts, built around the QX5252F. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Gardenlight KiCad files?

From the codesqueak/SmallElectronicsProjects repository on GitHub, at the commit this page was made from: the board is gardenlightCompact/kicad/gardenlight.kicad_pcb and its schematic N1Clock/kicad/N1Clock.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Gardenlight design in my own project?

Its repository states no licence, so its author keeps all rights: ask codesqueak before reusing the design.

More from codesqueak/SmallElectronicsProjects

7
  • 2 layers51 × 32 mmLipoGardenLight, the printed circuit board in 3D

    LipoGardenLight

    codesqueak/SmallElectronicsProjects

    A collection of small projects that can be grouped together

    14 parts1
  • 2 layers51 × 38 mmN2Graphics, the printed circuit board in 3D

    N2Graphics

    codesqueak/SmallElectronicsProjects

    A collection of small projects that can be grouped together

    14 parts1
  • 2 layers77 × 28 mmGroveToPiMixed, the printed circuit board in 3D

    GroveToPiMixed

    codesqueak/SmallElectronicsProjects

    A collection of small projects that can be grouped together

    11 parts1
  • 2 layers58 × 60 mmZ80Breakout, the printed circuit board in 3D

    Z80Breakout

    codesqueak/SmallElectronicsProjects

    A collection of small projects that can be grouped together

    9 parts1
  • 2 layers29 × 38.2 mmN1Graphics, the printed circuit board in 3D

    N1Graphics

    codesqueak/SmallElectronicsProjects

    A collection of small projects that can be grouped together

    5 parts1
  • 2 layers40 × 26 mmN1Clock, the printed circuit board in 3D

    N1Clock

    codesqueak/SmallElectronicsProjects

    A collection of small projects that can be grouped together

    4 parts1
  • 2 layers14.6 × 25.4 mmN1KeyAdaptor, the printed circuit board in 3D

    N1KeyAdaptor

    codesqueak/SmallElectronicsProjects

    A collection of small projects that can be grouped together

    3 parts1

Similar boards

  • 2 layers27.2 × 15.4 mmOutdoor solar lamp, the printed circuit board in 3D

    Outdoor solar lamp

    stevieb9/kicad

    Custom KiCAD symbols and footprints

    10 parts
  • 2 layersEncoder, the printed circuit board in 3D

    Encoder

    byrantech/laptop

    anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

    7 parts4.3kMIT
  • 2 layers40 × 20 mmSensor smd, the printed circuit board in 3D

    Sensor smd

    scottbez1/splitflap

    DIY split-flap display

    7 parts4.2k
  • 2 layers19.8 × 30 mmZ limit, the printed circuit board in 3D

    Z limit

    opulo-inc/lumenpnp

    The LumenPnP is an open source pick and place machine.

    7 parts3.7k
  • 2 layers35.6 × 58.2 mmDisplay Carrier, the printed circuit board in 3D

    Display Carrier

    AxxAxx/AxxSolder

    STM32 Based soldering station for JBC cartridges, 9-24 VDC and USB-PD power

    7 parts1.7kGPL-3.0
  • 2 layers20.3 × 16.3 mmMap MPX, the printed circuit board in 3D

    Map MPX

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    7 parts1.2k
  • 2 layers26 × 44 mmCompact carrier board, the printed circuit board in 3D

    Compact carrier board

    jamro/tiny-engineer

    A small desktop robot that brings an AI coding assistant to life, physically acting out when it reads files, thinks, writes code, and finishes work.

    7 parts1.1k
  • 2 layers26.4 × 53.8 mmAtari pickup, the printed circuit board in 3D

    Atari pickup

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    7 parts1kGPL-3.0