Sam Friedman

Ellie’s Toy

Python, Raspberry Pi, Woodworking, Music

What it is

This is a custom, one-off handmade toy whose goal is to encourage physical play and pattern-finding. The blocks are a simple A-B-C and 1-2-3 set that fit into specific positions. The buttons light up and play musical notes when pressed, but when all three buttons are illuminated the lights start to dance and the box plays a song. It combines four things I love: woodworking, music, coding, and physical computing.


The game logic and I/O are all written in Python running on a Raspberry Pi Zero. I recorded the music myself.


The woodwork could be a little tidier. But my niece loves it, so I’m happy.