
LipoGardenLight
codesqueak/SmallElectronicsProjects
A collection of small projects that can be grouped together

A collection of small projects that can be grouped together
N1KeyAdaptor is an open-source printed circuit board by codesqueak, from the codesqueak/SmallElectronicsProjects repository on GitHub. It is a 2-layer board of 14.6 × 25.4 mm with 3 parts on 17 nets, routed with 30 tracks and 0 vias.
Keywords: Garden light, solar light, LED, solar, circuit, QX5252F, oshpark, jlcpcb
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:
I decided to see if it was possible to replace the electronics package with something that would address the issues:
After looking at and testing various designs / component values I found the following configuration to be optimal.
| Component | Value | Comment |
|---|---|---|
| QX5252F | TO-94 | Datasheet |
| Solar Cell | 2.5V | Select something that will supply adequate power in winter |
| Inductor | 100µH | Alter this values to control the available current |
| Ni-MH Battery | 1.2V | Select something with adequate storage - 1900mAh Ni-MH Eneloop's seem to do the job but overspec'd |
| Diode | 1N5817 | Anything with a low voltage drop will do |
| LED | 20mA / 17500 mCd | Nice and bright with good coverage. Obtained some from Kitronik |
| Capacitor | 1μF | Electrolytic. 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.
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.
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
Not the best image - the camera seems to have problems with the shiny copper surface.
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

| Qty | Value | Footprint | References |
|---|---|---|---|
| 1 | LOGO | LOGO | G001 |
| 1 | NAS 2 KBD | Connector_PinHeader_2.54mm:PinHeader_2x08_P2.54mm_Vertical | J2 |
| 1 | Nas 1 KBD | Package_DIP:DIP-16_W7.62mm_Socket | J1 |
It measures 14.6 × 25.4 mm and has 2 copper layers, 1.6 mm thick.
3 parts. 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.
From the codesqueak/SmallElectronicsProjects repository on GitHub, at the commit this page was made from: the board is N1KeyAdaptor/kicad/N1KeyAdaptor.kicad_pcb and its schematic N1Clock/kicad/N1Clock.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask codesqueak before reusing the design.

codesqueak/SmallElectronicsProjects
A collection of small projects that can be grouped together

codesqueak/SmallElectronicsProjects
A collection of small projects that can be grouped together

codesqueak/SmallElectronicsProjects
A collection of small projects that can be grouped together

codesqueak/SmallElectronicsProjects
A collection of small projects that can be grouped together

codesqueak/SmallElectronicsProjects
A collection of small projects that can be grouped together

codesqueak/SmallElectronicsProjects
A collection of small projects that can be grouped together

codesqueak/SmallElectronicsProjects
A collection of small projects that can be grouped together


hzeller/rpi-rgb-led-matrix
Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO


atopile/atopile
Design circuit boards with code! ✨ Get software-like design reuse 🚀, validation, version control and collaboration in hardware; starting with electronics ⚡️




hackclub/sprig
🍃 Learn to code by making games in a JavaScript web-based game editor.