Fork me on GitHub

Project Notes

#296 QSOPBreakout Solar Pendulum

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..

Build

Notes

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:

SolarPendulum_bb_build

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).

Note: if the pendulum is not swinging, gently hold the pendulum you should feel at least a weak pulse. If there’s no pulse at all, take a closer look at the circuit to make sure it is built correctly, but also check that the voltage from the PVC is sufficient to at least overcome the forward voltage of the diode.

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 small but relatively strong neodymium magnets 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.

I played around with the positioning to get the best effect - basically at rest, the pendulum is aligned just off-centre from the windings i.e. so when it is repelled, it will push the pendulum off in the right direction to start it swinging.

Sizing the Coil

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

Circuit

Breadboard

Schematic

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.

construction_1

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!

construction_2

The coil in the final build is an air coil perhaps 100+ turns of 0.2mm enamelled winding wire, with a coil diameter of 16mm and width of 5mm. With my LCR45 meter, it measures at 248µH, 3.6Ω (DC).

With coil attached..

construction_3

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

construction_4_layout

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

Build

Credits and References

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

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

LEAP is just my personal collection of projects. Two main themes have emerged in recent years, sometimes combined:

  • electronics - 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
  • scale modelling - I caught the bug after deciding to build a Harrier during covid to demonstrate an electronic jet engine simulation. Let the fun begin..
To be honest, I haven't quite figured out if these two interests belong in the same GitHub repo or not. But for now - they are all here!

Projects are often inspired by things found wild on the net, or ideas from the many great electronics and scale modelling podcasts and YouTube channels. Feel free to borrow liberally, and if you spot any issues do let me know (or send a PR!). See the individual projects for credits where due.