Project: Raspberry Ladybird

This tutorial is a little basic at the moment. I will be adding more soon.

Using the Raspberry Pi GPIO ports to make a flashing ladybird.

Watch the video demo here:

Step 1 – Install Scratch GPIO

Follow simplecy’s guide to installing scratch GPIO here:

Make sure that after you install Scratchgpio you run scratch from the scratch gpio script, not from your normal scratch icon.


Step 2- Mix your dough

Make some clay! Add 2 parts plain flour to 1 part salt and then mix together. Then slowly add water and mix together until you mixture has the consistency of play dough.

making clay from flour


Step 3 – Make your animal models.

You can make any models you like. I made a ladybird, and put in holes for 8 leds and I would start with about 4 for a first project.

Once you have finished making the models you need to make holes for where the LEDS will fit through. I recommend you use fatter nails than what I did, as I had to drill in to the model afterwards to make the holes big enough!

Models ready for baking


Step 4 – Bake you animal models.

Put your models in the oven on a baking tray at 140 Degrees Centigrade for 60-90 minutes, depending on how thick your models are.


Step 5 – Rig up your LEDS and resistors.

Now follow some more of Simpelcy’s tutorial, pluggin in and trying out your leds whilst your model bakes.

Step 6 – Paint your model.

I used some poster paint and then some clear nail varnish to coat the model after I had finished painting it.




Step 7 – Wire up the full model.

Wire up you model using jumper wires or a breakout board like I have. Diagram to follow.

I wired up as follows:

I used Output pins +  3 , 5 , 11, 13 , 15, 16 , 18 , 22




Step 8 – Programme in the different flashing routines in scratch.

Full tutorial to follow.

Raspberry pi scratch gpio led tutorial