Smart phones are great. So great that you may find yourself distracted from working, eating, conversing with other human beings in person, or even sleeping. [Digitaljunky] has this problem (not surprising, really, considering his name) so he built an anti-procrastination box. The box is big enough to hold a smart phone and has an Arduino-based time lock.
The real trick is making the box so that the Arduino can lock and unlock it with a solenoid. [Digitaljunky] doesn’t have a 3D printer, so he used Fimo clay to mold a custom latch piece. A digital display, a FET to drive the solenoid, and a handful of common components round out the design.
The software uses C++ classes to keep everything organized. You can download the code on Github. Usage is simple (see the video below). Lock your phone away and get some work done while you wait for the Arduino to unlock the box.
We thought the use of clay instead of the customary 3D printed part makes it easier to duplicate the project. Of course, you could 3D print a piece, and if you really want to blend both worlds, you can always 3D print in clay. Of course, if you wanted a simpler solution, you could just write locking software for the phone. The box, on the other hand, could lock up anything tempting, not just a phone.