#codeclubpihack -the brief

We’re having our first ever hackday today, here is the brief we are giving participants.


What are we making?

The aim of this hack is create projects that 9-11 year old can make in Code Club. It’s the kind of project they will do in teams of 2/3 with one Raspberry Pi per team once a week for 3 weeks (3 hours to complete)

Things to consider

Code Club projects are creative fun so avoid boring stuff like ‘maths games’ they get enough of that crap in their regular classes. It needs to be a solid project but leave room for creativity.

They need to be able to either find the parts for their project either around the school building or they need to be cheap and portable enough to buy off the internet with a bit of fund raising. (Under £75)

There Raspberry Pis already have Scratch on the SD card so bear that in mind when you start. Consider if using other languages that the children will have to learn them from the beginning as Code Club member have only used Scratch so far.

How can the project be tied into what happens in school life. Eg data from a geography school trip, sports day, lunch times or games played at break etc. But equally can the project just be made at any time.

Do they need sensors? Light, heat, movement or? If so we really hope you’ve bought them with you.

Prizes for

1. Best use/misuse of school property

2. Most creative project

3. Kids favourite

more to be announced




Fun with squishy circuits

I recently saw this excellent TED video about how to teach the basics of electricity to children using electricity conducting playdough and letting them be circuit designers, and decided to try it out. The dough can be hooked up to all kinds of fun stuff including LEDs, motors, arduinos, MaKey MaKeys etc.

Playdough can be made from things you already have in your kitchen, and it’s quite easy to make. You’ll need to make two types of playdough, one for the insulating dough and one for the conductive dough. The original recipes can be found here, but Americans use this funny thing called “cups”, and as true geek I only think in SI units*, so here’s the actual recipe that I followed:

The stuff you’ll need:

ingredients for playdough

First, I made the conductive dough, using:

  • 250 ml tap water
  • 200 g flour
  • 75 g salt
  • 135 ml lemon juice
  • 15 ml vegetable oil
  • food coloring (optional, I used green which is my favourite colour)

Add all the ingredients except for about 60-70g of the flour in a pot and stir well.

Heat over medium temperature, and continue stirring. It will start to boil and thicken. Keep stirring until it looks like this (big ball of dough):

cooking playdough

Put the dough on a baking tray with a bit of flour, and knead in the remaining flour, a bit at a time, until you reach that special playdough-y consistency. Check the quality by making some basic sculptures.

playdough dinosaur

And now for the insulating dough! You’ll need:

  • 200 g flour
  • 110 g sugar
  • 45 ml Vegetable Oil
  • 125 ml deionized water (I couldn’t find this so used still, filtered water from the shop)

Mix 140 grams of the flour with the sugar, vegetable oil and a tiny bit of the water (about 15 ml) in a bowl.

mixing insulating playdough

Then continue adding a little bit of the water at a time, until most of the water is absorbed in the dough. Then knead in the remaining flour/water until you reach a good playdough-y texture.

Now all you need to do is test the playdough for conductivity and non-conductivity. This can easily be done with some batteries and a LED. Make two lumps of conductive dough, hook it up to the batteries, and stick one leg of a LED into each lump. Notice if you bring the two lumps together so they are touching, it short-circuits and the LED no longer lights up. So stick some insulating dough between the two lumps and voila, squishy circuits 101 is complete. Have fun playing, and please let us know about any cool things you make!

basic squishy circuitsnail circuit

The dough lasts for several weeks if you keep it in an airtight container or ziplock bag. Remember to clean off the batteries/LEDs/metal bits with a damp cloth after using them with the dough, as salt is very good at corroding metal. I learnt that the hard way.

This batch of dough will be a part of the Code Club traveling code show, where we will be teaching the basics of computing, 1s and 0s, or “on” and “off”, you get the picture ;)

* Except for when it comes to temperature. I still think in Celsius rather than Kelvin. Oh well.