

PCB for a 1Hz solar pendulum
- Size
- 165 × 160 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 54
- Nets
- 3
- Pads
- 280
- Tracks, vias
- 41, 0
- Routed
- Yes
- KiCad
- KiCad 7 (file 20221018)
- Created
- 13 Aug 2025
- Updated
- 16 Aug 2025
Overview
Pendulum is an open-source printed circuit board by wouter-minjauw, from the wouter-minjauw/1Hz-solar-powered-pendulum repository on GitHub. It is a 2-layer board of 165 × 160 mm with 54 parts on 3 nets, routed with 41 tracks and 0 vias.
Its parts include 4 capacitors, 2 diodes and 2 inductors.
README
README.mdA 1Hz solar powered pendulum without transistors
The pendulum
Nothing shows more what this is all about than a simple video of the pendulum in operation.
https://github.com/user-attachments/assets/9172c2cc-38bf-4e86-9793-8a3549da9c43
The idea behind it
The idea behind this project was to create a solar powered pendulum in the simplest way possible, without any transistors. This is easier said than done, as most of us know how to design with transistors, but we have lost the knowledge to design something without them.
The problem that needs to be solved
The problem is that in order to make the pendulum oscillate, some sort of AC force must be applied to the pendulum, but a solar cell provides DC output. So the main problem boils down to can you generate an AC force on a mechanical system by using DC solar cells.
The answer is yes, but it requires some out of the box thinking, and some may consider the solution as 'cheating'. However, the goal was not to use transistors, so anything is allowed as long as no transistors are used.
Generating force
To generate force on the pendulum, a magnet is put on the pendulum, and coils are used below the magnet to push the magnet. The picture below shows a cross section of the two coils that are used in the device, and how current should be passed through them in order to generate a magnetic force to the right or to the left, depending on the direction of the current through the coils.
Creating an AC source with DC solar cells
If no transistors can be used to create an 'inverter' which turns DC into AC, a different solution is needed. A lot of experiments were performed with the pendulum partially shading it's own solar cell in order to get some AC voltage superimposed on the DC output of the solar cell, but the results were disappointing. Although you can get some AC voltage on top of the DC voltage, the power you can get out of it is very limited.
A much better solution turned out to be using two solar cells, and wiring them in anti-parallel, as can be seen in the following schematic of the device.
Each solar cell can be modeled as a light-dependent current source, with an intrinsic diode in parallel. If the pendulum is in the center, then both cells will be 50% shaded. The left solar cell pushes 200mA from GND to V_SOLAR, and the right solar cell pulls 200mA from V_SOLAR to GND. Both currents balance each other out, and no current flows through the intrinsic diodes of the cells, V_SOLAR is thereby 0V.
If the pendulum swings to the left, then the left solar cell will be (for instance) 75% shaded and the right solar cell 25% shaded. The left solar cell will now push 100mA from GND to V_SOLAR, the right solar cell will pull 300mA from V_SOLAR to GND. As Kirchoff's laws must be obeyed, 200mA will flow through the intrinsic diode of the right solar cell, resulting in V_SOLAR become a few hunderd millivolts negative. Similarly, if the pendulum swings to the right, V_SOLAR becomes a few hundred millivolts positive.
A sinusoidal movement of the pendulum results in a sinusoidal current of the solar cells, but due to the nonlinear I-V characteristic of the intrinsic diodes, the waveform of V_SOLAR starts to look more like a quare wave than a sine, which will turn out to be beneficial later on.
The pictures below show a simulation of the solar generator and the resulting V_SOLAR voltage. (The exact model of the diodes doesn't really matter, we just want to show the general behavior here.)
The dv/dt slope of the voltage is the highest at the zero crossings of the V_SOLAR, and this occurs when the pendulum passes through the mechanical center, shading both solar cells equally. Looking back at the magnetics picture earlier, this exactly when force should be generated on the magnet. In order to provide the right force at the right time, some capacitors in parallel are connected between V_SOLAR and the coils. Due to the I=C*dv/dt behavior of the capacitor, it will pass the most current through the coils at the zero crossings of the waveform, and that's exactly when we need it.
The panelized PCB
A panelized PCB was made for this project, which contains a base PCB on which the solar cells are directly mounted, and some smaller PCBs which can be used to create coil formers. As I don't have a 3D printer yet, and needed a PCB anyway, it was the most economical solution to make the coil former out of PCB material.
All PCB's have 1mm alignment holes. The coil formers are built by using 1mm HSS drills as alignment guides, and stacking the different PCB's on top of each other with some superglue between them.
The coils are wound with 1000 turns of very fine wire. At the ends of the fine wire, a thicker wire was attached for mechanical rubustness, and the windings were covered with some paint masking tape for protection.
The final assembly looks like this:
Parts
54| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | Coil core for construction | pendulum:coil_core_for_construction | M2, M3, M4, M7, M8, M9 |
| 4 | Coil shell for constructin | pendulum:coil_shell_for_construction | M1, M5, M6, M10 |
| 3 | 100µF/6.3V | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C1, C2, C3 |
| 2 | 0.5V/400mA | pendulum:solar_cell | D1, D2 |
| 2 | 1000 turns 250 ohm | pendulum:coil | L1, L2 |
| 1 | 100uF/6.3V | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C4 |
The 18 most common of 54 parts.
Similar boards
- 2 layers203 × 26.6 mm

- 2 layers30 × 50 mm

- 2 layers100.1 × 40 mm

32Bit shift register
MaltWhiskey/Mega-Cube
16x16x16 PL9823 Cube with Teensy 4.0 and FlexIO driver
54 parts766 - 2 layers100 × 120 mm

- 2 layers

- 2 layers104.3 × 38.9 mm

- 2 layers

- 2 layers93.8 × 64.2 mm

PiFinder smt
brickbots/PiFinder
A plate solving telescope finder based around a Raspberry PI and RPI HQ Camera
54 parts257GPL-3.0
Questions
How big is the Pendulum PCB?
It measures 165 × 160 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Pendulum use?
54 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.
Where can I download the Pendulum KiCad files?
From the wouter-minjauw/1Hz-solar-powered-pendulum repository on GitHub, at the commit this page was made from: the board is kicad_files/pendulum.kicad_pcb and its schematic kicad_files/pendulum.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Pendulum design in my own project?
Its repository states no licence, so its author keeps all rights: ask wouter-minjauw before reusing the design.