Pages: [1]   Go Down
Author Topic: Make me an Arduino Timed Lockbox?  (Read 4848 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I want a timed lockbox, so that I can lock a box and set a timer, preventing the box from opening until the time is up.  Ideally, I'd like a timer that I could set for days, weeks, or even a few months into the future.  Alternatively, it would also be fine if the box were designed for setting the time and date of desired opening as well, instead of a countdown timer -- whichever you'd advise.
I imagine it being somewhat like this:
http://www.sparkfun.com/news/480
But it doesn't need to be nearly as fancy or decorative -- a simple prefab plastic box with enough space to hold 3 stacked boxes of playing cards inside would be sufficient. 
It could be battery-powered, or plug-in (with a battery backup or a backup key lock) -- whichever you'd advise.
Doable?  Interested?  If so, what would you be interested in charging to build such a box?
I'm in Los Angeles, and a local maker would be ideal, but not at all required.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Doable?
Certainly.

Quote
Interested?
Maybe.

Quote
If so, what would you be interested in charging to build such a box?
Depends on how elaborate you want the box to be and how difficult you want it be to defeat the lock.

Perhaps it would be better if you looked at the electrical hardware requirements, priced them out, and then proposed a fee for programming/building the box.

Should the box show when it can be opened? Or how long until it can be opened?

An Arduino, a RTC, a battery and wallwart, an LCD, a few switches, and a servo would be all the electrical hardware needed. Some box with a hinged lid and a latch that can only be opened by the servo (or a key) would be needed on the mechanical side.

The programming is relatively straightforward. Set the clock (current date/time). Set the opening time/date. In loop(), see if it's time to open the lock. If so, rotate the servo 90 degrees.

Going to sleep, and waking up periodically, to check the time, could extend battery life.
« Last Edit: August 30, 2011, 06:33:37 am by PaulS » Logged

Left Coast, CA (USA)
Online Online
Brattain Member
*****
Karma: 361
Posts: 17263
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Reminds me a little of that great project someone posted quite awhile ago. A person designed a 'locked box' that contained a GPS module and would only unlock on one specific point on the earth. Push a button and it would tell you only how many miles it was from the target location, but not the direction if I recall correctly. It also only allowed a limited number of inquires, maybe 50. Used sleep mode intelligently to maximize battery life and did use a servo I think unlock the box. He gave it to a couple as a wedding gift.

Lefty
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 524
Posts: 26466
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Lefty,
That's box described in the sparkfun link in the original post.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

0
Offline Offline
Newbie
*
Karma: 0
Posts: 24
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I started building one a while back but got distracted with other duties.  Here's a link to my first 3 posts about the timed lockbox, or as I called it "The Chronobox" which I will hopefully finish up this winter.  You're free to use whatever code and information I've put up there if you decide to build it yourself.
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 72
Posts: 7171
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I thought all you want is a power button and a back up coin battery to keep the RTC running. Every time you power up the box it reads the RTC, and tells you something like "Please turn me off, it is not time yet" "Or it is time, opening the box". This way the battery can last months. Apparently if the user is not decent and leaves the box on the battery drains. Then you need the wall wart to power it up.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

has anyone out there worked this out yet?

As I am looking to add a time delay lock to a larger project.

thanks
Logged

Pages: [1]   Go Up
Jump to: