Speak friend and this RPi box will reveal its precious treasures
A one of a kind present for a son who loves Lord of The Rings.
Keep up to date with the most important stories and the best deals, as picked by the PC Gamer team.
You are now subscribed
Your newsletter sign-up was successful
Want to add more newsletters?
Every Friday
GamesRadar+
Your weekly update on everything you could ever want to know about the games you already love, games we know you're going to love in the near future, and tales from the communities that surround them.
Every Thursday
GTA 6 O'clock
Our special GTA 6 newsletter, with breaking news, insider info, and rumor analysis from the award-winning GTA 6 O'clock experts.
Every Friday
Knowledge
From the creators of Edge: A weekly videogame industry newsletter with analysis from expert writers, guidance from professionals, and insight into what's on the horizon.
Every Thursday
The Setup
Hardware nerds unite, sign up to our free tech newsletter for a weekly digest of the hottest new tech, the latest gadgets on the test bench, and much more.
Every Wednesday
Switch 2 Spotlight
Sign up to our new Switch 2 newsletter, where we bring you the latest talking points on Nintendo's new console each week, bring you up to date on the news, and recommend what games to play.
Every Saturday
The Watchlist
Subscribe for a weekly digest of the movie and TV news that matters, direct to your inbox. From first-look trailers, interviews, reviews and explainers, we've got you covered.
Once a month
SFX
Get sneak previews, exclusive competitions and details of special events each month!
Durin's box, designed and built by John Pender on Hackaday, is a prime example of the supreme nostalgia a Raspberry Pi project can invoke. Built around a Pi Zero, it uses solenoids, capacitive switches, RGB LEDs, a microphone and a voice recognition solution to remind us of the moonlit magic of Dwarves, and just how forgetful Wizards can be.
Designed and put together form scratch, the box was a gift for Pender's son. If you can't read Elvish, it says "Speak friend and enter." But there's a little more to opening it than just speaking the Elvish word for friend. Move over Frodo.
First you have to turn it on by touching the two points marked by stars, beneath which sit two capacitive switches. That sends power to the Raspberry Pi, which in turn lights up the inscription with RGB as if it's been touched by moonlight, and the microphone awaits the answer to the riddle.
On speaking the word "Mellon," the treasures within will reveal themselves. Well, you have to lift the box lid yourself, but the two solenoids on the lids underside retract to let you do so. They return to their original position pretty quickly, which means you'd have to wait a fair while for the thing to boot up again just to lock it if you don't put the lid back in time, but I like to imagine Dwarves tend to have similar issues with their doors, too.
The trick with getting it to recognise the password was to use PocketSphinx, a non-cloud based voice recognition tool which doesn't need pre-training. Seeing as it was a gift, I think the son might've suspected something if his father came up with a recording device like, "Hey son, can you just tell me the Elvish for friend again, please? Bit louder."
It doesn't look like you could fit a dragon's hoard under the lid, but perhaps something a little more... precious. Though, in the words of Thorin Oakenshield: "If more of us valued food and cheer and song above hoarded gold, it would be a merrier world." So maybe it could be a secret box of snacks?
Best wireless gaming mouse: ideal cable-free rodents
Best wireless gaming keyboard: no wires, no worries
Best wireless gaming headset: top untethered audio
The danger, of course, would be forgetting the password and having your stack of Lembas bread go stale. Lets face it, even if you once knew every spell in all the tongues of Elves, Men, and Orcs, it could still happen.
Keep up to date with the most important stories and the best deals, as picked by the PC Gamer team.
If that occurs, the thing glitches out, or the battery dies, there is a failsafe for getting those solenoids moving. Simply jolting the capacitive switches with a little voltage will get them to shift.
Hats off to Pender for his supreme craftsmanship, and for making one of my childhood dreams a reality. Keep on hacking.

Having been obsessed with game mechanics, computers and graphics for three decades, Katie took Game Art and Design up to Masters level at uni and has been writing about digital games, tabletop games and gaming technology for over five years since. She can be found facilitating board game design workshops and optimising everything in her path.

