Arduino cake

It was Aidan’s 10th birthday party on the weekend, so a birthday cake was in order. And what better subject than an Arduino Uno?


This is a 3:1 scale model of an Arduino in vanilla buttermilk sponge, with coloured fondant icing (some dark chocolate was mixed in for the black components), royal icing details, and real (inedible) LEDs. Here it is from a few other angles:



The USB type B socket, power socket, and ATmega328P are all separate blocks of iced cake attached with buttercream. The USB socket needed a couple of toothpicks to hold it in place.


Four LEDs with long wires attached were inserted from the underside of the cake through holes made with chopsticks. These were driven from a real Arduino Uno running a simple program which simulated the flashing of the RX and TX lights during loading, followed by signalling “Happy 10th Birthday Aidan” in Morse code on the pin-13 LED on the board. See the video.


The result was well worth it – one very impressed young man!


Check out some of the other cakes we’ve done.

Science at a science museum

Yesterday C and I took the kids to Sensation Science Centre in Dundee, and I was blown away. Sensation is a great science museum, but the highlight for me was one exhibit on science itself.

Most of the time science museums, science displays, and science programmes are about “cool stuff” – explanations and demonstrations of how things work, illusions and what’s behind them, the latest technology, and so on. Dundee has plenty of that. But it also has this:

It doesn’t look like much, but it’s one of the best science exhibits I’ve seen. It’s about what science really is – not “cool stuff”, but questioning and finding answers. It’s in four parts.

The first part is about precision – about lab work, really. Scientists have to measure and record very precisely and very carefully, so their experiments are repeatable. There is a precision scale, a collection of tiny beans, and a pair of tweezers. The challenge is to measure out exactly 1.00g; when you’ve done that, the super-challenge is to measure out exactly 2.38g.

The second, the key for me, is about how scientists know things and what that means (epistemology, though it never uses the word). There are three sealed boxes. The challenge is to work out what’s inside each without opening the box. You can shake the box, listen to it, feel it, weigh it, tap it; you can discuss your ideas with your friends and colleagues; but you can never open the box. It’s real science: you have observations, you have the opportunity to discuss and clarify your ideas with others, but at every point all you have is the best theory so far: there’s no way to open the box and find out the real answer. I thought this was absolutely brilliant – when you realise there is no answer available and you can never truly know whether you were right, it makes a big impact. (It’s well worth checking out the videos on the Mystery Science Boxes website.)

The third part of the exhibit is about observation. There are three items in the display: a drinks bottle with a sachet of HP Sauce in it, a glass panel with a magnet on a string, and a black circle. The aim is to look carefully, taking the time to see everything that there is to see, and to try and work out the reason for what you see. The sauce sachet behaves oddly, there are patterns in the glass, and the black circle is more than it seems – though to some people more than others!

The fourth part is about ethics and application of science. We are developing technology – the example used is geoengineering – how should we proceed, and what should we do with it? Each visitor is asked to rank a number of statements from strongly agree down in steps through to strongly disagree. While some statements are easy to place, others require hard thinking.

Together, but especially the second part, this made a powerful and accessible presentation of what scientists actually do and what science really is – beyond the tricks and demonstrations of the typical exhibit. Well done Sensation!

WordPress upgrade 500 Internal Server Error

I used the auto-upgrade in wp-admin to upgrade to the latest version of WordPress on one of my WordPress-hosted blogs.

It downloaded, and then presented me with a 500 Internal Server Error.

Tediously, I don’t have easy/immediate access to my error logs, so I was working blind. The WordPress site wasn’t much use. After much fiddling about and (unnecessarily) manually reinstalling, I realised the problem (thanks to Unison, my file sync tool): all the files had their eXecute permissions removed! A quick chmod -R a+x later and everything was back up again! Whew!

Things to do with kids in Northumbria

In April the four of us – me, Carolyn, Aidan (7), and Megan (5) – spent a week in Northumbria. We stayed just south of Berwick, and had a fabulous time. Here are some of the things we did, in no particular order.

Walking along the beach, looking in rock pools and marvelling at the geology of the skerrs at Cocklawburn Beach.

Playing in the playground and eating icecream on the promenade at Spital.

Staying in a cottage at North Ancroft Farm. Green fields in all directions, and the light of Lindisfarne winking in the twilight.

Exploring the treasures of Bamburgh Castle. It felt like a European castle – still full of art, function, accessories, and history. The archaeology room’s Norse games caught Megan’s and my attention too.

Learning the history of Oswald and Aidan, at Lindisfarne.

Walking in the Northumberland National Park. We had a very windy walk to Linhope Spout waterfall.

Exploring the multitudinous activities of Cragside (National Trust property) – especially the labyrinth, the gardens, and the inventor’s house.

And here are some things that were recommended to us, which we’ll try next time: