Fork me on GitHub

Project Notes

#296 QSOPBreakout/SolarPendulum

Build a solar-powered pendulum similar to the popular “solar wobble/flip-flop toys” on the Boldport QSOP breakout board.

Here’s a quick video showing it in action on a quite overcast afternoon..



I have a spare BoldPort QSOP Breakout board and for a while I’ve been trying to find some interesting use for it. I think I’ve found one … a solar pendulum!

I discovered some new and creative solar wobble/flip-flap toys while travelling recently, which started me wondering how they work. What is quite impressive is how well they work with only modest internal lighting and very small photovoltaic cells.

The trick appears to be in the switching of capacitor-backed pulses through a coil. There are some good teardowns available, such as the one by Ludic Science and the excellent analysis by dmercer, but they all fall short because the interesting electronics in these toys are invariably potted. I’m not sure if this is as much license-avoidance as it might be IP protection, as there are patents out there for such toys such as US3783550 and 101352268A.

After some more research, I found two practical circuits: the first being a Solar Powered Pendulum article in Nuts & Volts, and the second covered in the thoroughly useful laboratory notebook edited by Burkhard Kainka.

I tried both circuits, and found that the Nuts & Volts approach appeared to work best for photovoltaics with lower driving power.

Breadboard Prototype

I tested a few circuits on a breadboard, finally picking the approach from Nuts & Volts:


Solar Panel Selection

I wanted to go with the smallest solar panel I have available - a 25mm x 30mm unit with an open circuit voltage of around 1V. It works just well enough in decent light.

I also tested a larger panel with open circuit voltage of around 3.5-4V; it works very well (sometimes too well), but is larger than I wanted to use.

For this reason I also selected the very-low-forward-voltage 1N5819 as the diode. General purpose NPN and PNP transistors provide the switching (2N3904/2N3906).

Sizing the Pendulum

The weight and arc of the pendulum are obviously important design factors as they influence the resonant frequency. With such small electromagenetic pulses, we don’t want the pendulum “fighting” the motive power.

Now I must admit I skipped the calculations for now. What I do know is that the pendulum is not ideal in my current build. The weight is a little too much for the arc. It would probably work better with a longer arc (slowing it down).

I have neodymium magents on the end of the pendulum, oriented to be repelled when the coil is pulsed.

It also works when the magnets are oriented to be attracted when the coil is pulsed, but this tends not to work so well, as the timing of ending the pulse becomes much more critical lest it act to dampen the pendulum oscillation.

Sizing the Coil

I fudged this also. The coil I’m using is perhaps 100+ turns of enamelled winding wire with 1cm outer diameter. It is air-core. Works just well enough!




QSOP Breakout Build

So the QSOP/0805 breakout … is intended as a breakout board! But it has enough interesting features to make it serviceable as the protoboard for this circuit.

Here is the QSOP Board during assembly, with all components fitted. I used SMD 0805 resistors but all other components where through-hole.


Rear of the board is where the coil is to ba attached. Only five bodge wires required, and they provided some fine pitch soldering practice!


With coil attached..


Here’s the circuit layout I used on the QSOP/0805 circuit board.


Final construction .. the base is a repurposed box from the Boldport Club Tap project.


Credits and References

About LEAP#296 BoldportSolar
Project Source on GitHub Return to the LEAP Catalog

This page is a web-friendly rendering of my project notes shared in the LEAP GitHub repository.

LEAP is my personal collection of electronics projects, usually involving an Arduino or other microprocessor in one way or another. Some are full-blown projects, while many are trivial breadboard experiments, intended to learn and explore something interesting (IMHO!).

The projects are usually inspired by things found wild on the net, or ideas from the sources such as:

Feel free to borrow liberally, and if you spot any issues do let me know. See the individual projects for credits where due. There are even now a few projects contributed by others - send your own over in a pull request if you would also like to add to this collection.