Stanley Solutions Blog

engineering and creativity - all under one hat

A "Different" Way to Wrap Gifts


What could possibly be more fun than ripping all that Christmas paper off on December 25th?

Unlocking a box, of course!!!

I've always wanted to make one of those useless box, but until I get off my laurels, I'll have to settle for something a little more practical. You see, I created a new "lock-box" as a Christmas gift.

Well, that might be a little misleading.

The box itself isn't the gift; but rather, what's inside! The box is just to make it a bit more fun, and so I guess that does end up being part of the gift, anyway.

Stanley Lock Box

A bit wild looking, don't you think? What's the point, anyway? Well, the box has two electronic locks that have to be bypassed before it will reveal its contents. Yep, you have to crack the code if you want in.

Right now, the two locks are just a combination of switches and a keypad. Set the switches in the right position, then punch in the correct code (which is stamped on the side of the box) and the box will magically unlock and allow you to open it!

Do Not Open Until December 25

With only two locks, it won't be that hard to unlock, but I have plans to expand it. You see, I intend to give these boxes out on the condition that they return to me. The boxes will remain "mine" for the purpose of being built up over the years. Next year, I'll add one or two more locks, and the year after I'll do the same; so on, and so on.

This ought to be a fun little tradition, and I'm hopeful that my victims... errm... recipients... will have a good time cracking the "code".

You know, it occurs to me that I haven't provided any of the fun details! This project is all powered off a 12V SLA (sealed-lead-acid) battery, and is run by the brains of an Arduino. The Arduino takes input from the little touch-pad, and signals to a BUZ11A transistor that switches the solenoid responsible for actually locking the box.

There's not too much to the code, but if you'd like, it's all available in one of my GitHub repositories