The Reverse Geocache™ Puzzle

The "Reverse Geo-cache" Puzzle

Fig. 1 – The Box

[Author’s note: This post is the first in a real-life story that ultimately took a full year and four chapters (1, 2, 3, 4) to tell. Read them all, then browse through the other surprising puzzle box stories that have popped up along the way.]

Early this summer, the friend who first introduced me to Arduino amazed us with the news that he was moving to France to get married. Once I recovered from the surprise, it occurred to me that putting together some sort of Arduino-based wedding present might be a uniquely fitting thanks for his years of friendship and for helping get me started in this delightful enterprise. And so after weighing several ideas — I didn’t fancy adding some ugly techno-junk to the pretty collection of tea cozies and china sets — I finally settled on building the device I describe here: a puzzle box that won’t open until it is taken to a certain location.

To better understand my conception, let’s fast forward and imagine the gift opening. The new couple, freshly back from their honeymoon, remove the wrapping to reveal a book-sized wooden box elaborately carved with elephant images. (I didn’t carve it; I bought it that way at World Market.) Mounted into the lid, perhaps incongruously, are an illuminated button, a small display, and a mysterious module that sharp-eyed readers might recognize as a GPS. There’s also some kind of connector tucked away on the box’s left side. More about that later.

What do they make of all this? It’s hard to guess, but naturally I imagine they might try to open it up and take a look inside. When they do, however, they find the lid stuck tight — it seems to be latched from the inside. Will they push the button? Pretty buttons are awfully hard to resist, so let’s assume so. The blue display fires up and displays a friendly, personal greeting:

Bonsoir, famille Immel!
This is attempt 1 of 50.

Huh?

Now they don’t know this yet, but the box’s embedded electronics require a good GPS fix – something that’s probably hard to come by inside a Parisian apartment. And so the display flashes “SEEKING SIGNAL” for a couple of minutes and gives up.

No signal acquired...
Powering off...

Now my hope is that they’ll realize they need to take the box outdoors or near a window. Is that a stretch? I don’t think so. My friend is a patient fellow with an engineering background, so I expect he will at least try moving it before throwing it against the wall or chiseling off the hinges. Let’s assume, then, that they go outside and push the button again. This time the series of messages is different:

This is attempt 2 of 50.
Distance 391km
*Access Denied*
Powering off...
Fig. 2 - Distance 391km

Fig. 2 – Distance 391km

Hmm. What does “Distance 391km” mean? “Access Denied” suggests that getting inside the box is indeed the objective of all this button pushing. Just for fun, let’s try again.

This is attempt 3 of 50.
Distance 391km
*Access Denied*
Powering off...

Uh oh. We seem to be consuming our limited supply of “attempts”. The “No signal” problem seems to be solved, but the message “Distance 391km” remains puzzling. Does the box know its own location? Is there something 391 kilometers away? London? The Hague? A circle of that radius drawn around Paris intersects quite a few interesting places in France, England, Holland, Switzerland, and Germany.

Knowing my friend, he will eventually think to move the box to a new location to see how the message changes. Let’s imagine, then, that he hops in his car and motors down the A11 to the famous city of Le Mans, about two hours to the southwest. After a brief tour of the cathedral and a snack at a sidewalk café, he pulls the elephant box from his backpack and pushes the button again.

This time the display is once again slightly different:

This is attempt 4 of 50.
Distance 226km
*Access Denied*
Powering off...

Aha. We seem to be getting somewhere. If we are in fact looking for a specific place, it would appear that it is 391 kilometers from Paris but only 226 from Le Mans. As you can see by the map in Figure 3, there are only two places on earth that meet these criteria – a spot just off the northern Brittany coast, and a rural area in the southwest near Bordeaux. And, as my friend is aware, one of these can be quickly eliminated simply by taking a third “reading” in a new spot.

Fig. 4 - and a circle around Le Mans

Fig. 3 – Circles around Paris and Le Mans

I suspect that from here things will proceed relatively quickly. My friend will triangulate that the “magic spot” is Île-de-Bréhat, a tiny island just a short ferry ride off the northern coast of Bretagne. If and when the couple do bring the box here, they’ll be greeted with a congratulatory “Access Granted!” and the whir of a motor announcing that the treasure inside is about to be finally revealed!

Fig. 5 - The box is unlocked!

Fig. 4 – The box is unlocked!

Hardware

The electronics for this project are fairly simple. At the core, of course, is the Arduino, surrounded by a handful of devices that talk harmoniously through various native and third-party libraries. The peripherals are wired to a custom “shield” that I soldered together. The shield design makes the system modular and easy to disassemble for moving. Power is provided by 4 AA lithium batteries mounted in the box’s interior.

Major components

Fig. 6 - Arduino and the custom shield

Fig. 5 – Arduino and the custom shield

1 Arduino Duemilanove
1 USGlobalSat EM-406A GPS module
1 8×2 blue backlight HD44780 LCD
1 Hitec HS-311 servo motor
1 illuminated pushbutton
1 low voltage Pololu power switch
1 2.5mm female DC power connector
1 Adafruit Arduino prototype shield
1 ornamental box

Minor components

1 severed chopstick used as latching dowel
3 #14 eyelet screws
1 Battery pack with 4xAA lithium batteries
Various mounting screws and glue
Wire, headers, solder, and other circuit connecting items

I designed this project to last a long time. The batteries are locked inside the box and can’t be replaced if they run down — not while the puzzle remains unsolved, anyway — so it’s important to conserve power. That’s why a given “session” lasts at most 2-3 minutes before the system powers off. Furthermore, the owner is allowed only 50 attempts to discover the box’s secret, so the active lifespan of the batteries need be no more than about 150 minutes. Between sessions, the electronics draw virtually no power and should last idle for years.

Fig. 7 - The tiny Pololu switch

Fig. 6 – The tiny Pololu switch

The secret to this power conservation is the clever little Pololu switch, which gives a circuit the ability to completely turn itself off through software. When you push the button, it latches and distributes power to the system. When the sketch decides it’s time to shut down — either because it can’t find a GPS signal or it’s not close enough to the target — it simply brings the Pololu’s power control pin high, cutting power. In this “off” state the switch draws just 0.01 microamps.

Fig. 8 - The EM-406A GPS module

Fig. 7 – The EM-406A GPS module

Like most GPS units, the EM-406A generates a stream of NMEA position data. This stream enters the Arduino via a “soft” serial port managed by my NewSoftSerial library. The NMEA data is parsed into latitude/longitude using TinyGPS, a popular library I built especially for this project. If the GPS is getting a good fix, the box can determine its location within 10 meters and, through a simple calculation, how close it is to the target.

Fig. 9 - The 8x2 Liquid Crystal Display

Fig. 8 – The 8×2 Liquid Crystal Display

The display is an HD44780-compatible device controlled by the Arduino LiquidCrystal library. I wanted to incorporate some visual effects like flashing and scrolling, so my sketch contains several custom display routines. These were carefully written so as not to block the all-important serial input stream coming from the GPS.

Fig. 10 - The interior showing chopstick latch

Fig. 9 – The interior showing chopstick latch

The internal latch is built around a Hitec servo, three eyelet screws, and, as a sentimental salute to the little Chinese restaurant my friend and I used to eat at, a dowel made from one of its chopsticks. One chopstick end is attached to the servo arm, and the other threaded through the two eyelet screws mounted into the box bottom. The servo operates in one of two positions – “open” and “closed”. When instructed to close, it drives the chopstick laterally through a third eyelet screw hanging from the box lid. At this point, the box is latched. Once the puzzle is finally solved, the servo pulls the chopstick back, and the box can again be opened.

Software

The box is running the Arduino version 0016 framework. The sketch I wrote uses native libraries Serial, Servo, and LiquidCrystal, as well as several of my own: TinyGPS, NewSoftSerial, PString, Streaming, and Flash. My libraries are freely available for download at Arduiniana.org.

Conceptually, the software is fairly straightforward. At power up, the system hunts for a GPS signal. If it detects that the box is within 2 kilometers of the target spot — in this case the center of the little island — it unlocks the latch. Otherwise, it displays the somewhat cryptic “Distance: nnn km” and keeps the latch firmly locked.

How the software works

How the software works

Fig. 11 - A fake voltage overload

Fig. 10 – A fake voltage overload

The Back Door

It may seem risky to create a device that can only be activated a limited number of times before it locks permanently. What happens if the bride’s four-year-old gets hold of it? What if the batteries unexpectedly run out? What if, despite all my care and attention, there are still bugs in the implementation? Will the treasure inside be forever sealed? To address these concerns, I built a “back door” into the design. This is where the mysterious 2.5mm coaxial connector to the left in Figure 1 comes in.

If you apply some current here at a reasonable voltage, the system will power up just as if you pressed the button. But since this circuit bypasses the Pololu switch, when the box claims to be “Powering down”, it is actually lying. Instead, after a two-minute delay, the latch opens, regardless of where the box is actually located. This gives the sheepish designer (me) emergency access and one more chance to replace the batteries or repair the latest design flaw.

You might question whether it’s a good idea to leave such a gaping back door. After all, it’s a lot easier for my friend to open the box by simply plugging it in than driving it the 391 kilometers to Bréhat. Quite true. So to dissuade him from snooping too far down this path, I built in a few frightening messages. Remember, he has no idea how to use this “back door” or what voltage and current to apply. If he does figure out how to power the box this way, I feel fairly confident that whatever satisfaction he gains will rapidly disappear when the LCD starts flashing the completely fake warnings

Excess Voltage!
Remove Power!

And if these aren’t discouraging enough, they are followed by a blast of random “garbage”, suggesting that a critical failure is underway. (See Figure 10.) Whoever opens the box this way will have to stare at these ominous characters for a full two minutes.

Last minute disasters

Just a couple of days before I left for France I made a pretty serious mistake. At the time I had completed the physical construction and was just beginning the first full-scale closed-lid tests. Everything was going swimmingly – so smoothly, in fact, that I became a bit cavalier about my methodology. To address an intermittent problem, I made the last-minute decision to upgrade my system software. Reflecting back, I should have done plenty of preliminary “open box” tests before sealing it up; instead, riding the wave of my enthusiasm into disaster, I uploaded the new version, confidently closed the lid, and pressed the button. The latch engaged normally, but then the whole system went haywire. The motor began jerking crazily and the LCD limped along, displaying dimly only the top halves of each message. Soon I discovered that I had locked myself out of my own box and that disassembling it was the only way to recover. Because I had designed it to be somewhat tamper proof, this was far from easy. Ultimately, I had to break a bracket to get a screwdriver far enough into the interior to pry open the latch.

In France I had left myself just one short day to reassemble the box (which had been taken apart to increase my chances with airport security), run some last-second tests, and perform the final reset. When it came time to rearm it, something you do by connecting power to the “back door” for four minutes, I found that I had brought the wrong power supply with me. I fruitlessly combed the house I was staying in for a telephone or router with a 2.5mm connector, and then tried desperately to locate the French equivalent of a Radio Shack. After my panic subsided I realized I could just jimmy up what I needed with a couple of paper clips. It wasn’t pleasant or easy to hold those clips in place for four minutes, but I finally did manage to rearm the box with mere hours to go.

Frequently Asked Questions

What happened when they unwrapped the box?

The day after the wedding, the bride’s family hosted a brunch in the back lawn of their beautiful country house. I hadn’t expected to be present at the opening, but at one point I noticed some furtive activity in the corner of the lawn and saw that the box was being passed around, accompanied by much head scratching and gesturing in my direction. My friend, who had apparently already consumed three “attempts”, was darting back and forth exhorting everyone in halting French “Ne poussez pas le bouton!” (“Don’t push the button!”). To his dismay, his new father-in-law didn’t understand and pushed it anyway. Several people approached me to ask questions about the box, which I apologetically declined to answer. At one point a friend of the family, a charming gentleman from up the street, said to me with a thick accent, “You are — how you say in English? — a BASTARD!” That one comment made this whole project worthwhile. As of this writing I do not think they have yet managed to open the box.

What did you put inside?

With all the electronics, there wasn’t much room inside the box for anything too substantial. I put in a few local (US) gift cards to entice them to visit soon, a set of Kazuo Ishiguro audio books (on a USB key), and an overly sentimental card. And of course, as I pointed out in the card, if either of them fancies doing a little Arduino development, there’s a perfectly good Duemilanove to play with, not to mention an LCD, a servo, and a GPS.

How did you choose the target location?

Île-de-Bréhat, a charming island where motorized vehicles are prohibited, is a special place for this couple. It was while my friend was filming a movie here that he first began to realize his feelings for the young lady starring in it. And she for him, if I understand correctly. To help matters, the bride’s family owns a house here, making it a doubly attractive destination. (I may be a bastard, but I’m not going to make them travel 400 kilometers to some random, isolated location just to open a few gift cards.)

How did you get it through airport security?

I worried a lot about this. At first, when I was not certain whether I would be able get to France to attend the wedding, I had thought to present them the fully “armed” box while they were visiting the US. Fortunately, someone pointed out the foolishness of this idea. Can you imagine the interview at airport security when the hand soldered electronics show up in the X-ray?

Sir, did you pack this yourself?— No.

What’s inside?— I have no idea.

Can you open it please?— Nope.

Eventually, I decided that the best strategy was to disassemble it as much as practically possible and hope that none of the individual pieces were sufficiently suspicious to warrant being detonated on the tarmac. This seemed to work. I brought the disassembled box on two major trips without a hint of trouble.

Why limit the number of attempts to 50?

Two reasons. First, a puzzle is just more exciting if it is bounded. If it’s fun to solve a Sudoku, how much more fun is it to try and do it in under ten minutes?

The second reason is a practical one. I needed some way to make sure that power consumption would not end up being a problem. How disappointing would it be if, after all the work I put into it, the batteries ran out and the puzzle was ruined? Constraining the number of attempts helps ensure that this won’t be an issue.

The number 50 has no special significance. 25 or 20 would probably have worked just as well.

Why the 2000-meter tolerance?

There is always a little bit of error in a GPS reading, so some tolerance is necessary. The island is about 4 kilometers across, so setting the tolerance at 2000 meters forces them to actually ferry across to it without constraining them to any particular part.

Conclusion

The box is unwrapped

The box is unwrapped

Building this project was a joy. It was rewarding to conceive of a relatively unique GPS application and to work through the various problems as they arose. Designing the latch, for example, was a challenge I spent a good deal of time on. My experience solving mechanical problems is fairly limited, but I’d like to think that the next time I build something with a mechanical component I’ll be able to approach it with a little more savvy. Meanwhile, when you think about all the cheap sensors, displays, lights, motors, modules, radios, and buttons you can attach to an Arduino, you realize that imagination is the only constraint on the kinds of projects that can be built. This little box is a novel way of combining a GPS, a servo, a button and a display. How many more marvelous combinations lurk out there, if only someone has the imagination to put them together the right way?

[Make sure you read the sequel to this story when you’re finished here.]

Page last updated on July 29, 2024 at 12:47 am
272 Responses → “The Reverse Geocache™ Puzzle”

  1. Mikal

    13 years ago

    Skippy, I link all the parts on the build page.

    Good luck!

    Mikal


  2. Marc

    13 years ago

    would you sell a few? I would like to create a game among my friends throughout the world to bring us all to one location at one time! my email is mapexman86@hotmail.com. Please send a response either way. Thank you


  3. Mikal

    13 years ago

    Check your email, Marc!


  4. Alex

    13 years ago

    Hi Mikal,

    Thank you for such an excellent idea. I decided to make one for my (now) parents-in-law as a thank you for helping my (now) wife and me for our wedding. This was in the days before you posted the basic instructions (and published the code >_< ) so I was starting from scratch with just your description and photos to examine. Man, it was a lot of fun and it took over my dining room table for most of a month. It successfully opened for them last Thursday and they really enjoyed the idea and the hunt.

    I pretty much copied your design, but came across a few bits that might be useful for others going down this path:
    I wanted to set a tight tolerance (~ 10m) on the location so that they had to be standing right outside a particular B&B doorway before the box opened. Since they were taking their initial triangulation readings from a few 100km distant and it wasn't convenient to perform triangulations while on the road, I put in an extra function to counter the initial inaccuracies of triangulating over a large distance. Once they got within a couple of km of target, the box additionally gave them a direction to head in e.g. North West, South etc. This was 5 minutes' worth of coding and uses a pretty basic equation.
    I built the box in Australia and had to take it with me to the UK fully assembled. Seeing your concerns over flight safety, I got in touch with Qantas security before flying. The general message was not to worry about it. Security staff aren't stupid and provided there are no large masses within the box, they're pretty used to spotting hobby electronics on x-ray. If you're worried about it, mention it to check-in staff and make sure it's well-labelled in your suitcase. My bag didn't even get opened for inspection.

    Thanks once again for such a brilliant concept. It's given me and my new family a lot of fun, although wife will lament the loss of the dining room table.
    Alex


  5. Dave

    13 years ago

    Would you be interested in building one of these devices for sale? I am interested in purchasing one but am not savy enough to build it. If so, it would be greatly appreciated. Feel free to send me an email. Thanks.


  6. Mikal

    13 years ago

    Alex,

    Thanks so much for terrific message. I think my favorite part of all this are the cool stories that are generated by other people. Can you share some more detail? Like what was in the box? A gift certificate for the B+B? What town? Can you share the name of the B+B?

    I have a fellow working on a box which will take his daughter to a beautiful rural park where she’ll find her extended family at a surprise cookout and a shiny new car! Can you guess what was in the box? Yep, you got it. A set of keys to the car!

    At some point I would like to better understand your comment about “the inaccuracies of triangulating over a large distance” and how you correct for this.

    Thanks again for the kind message; it made my day!


  7. Mikal

    13 years ago

    Check your email, Dave.

    Mikal


  8. BEN

    13 years ago

    Hi, this is one of the coolest things I’ve ever seen! It is such an awesome idea, and it’s great to see some creativity in this world haha! I saw you instruction link, but I was also wondering about just purchasing one; I did see where you told people to check their e-mails regarding purchasing one, so if you could, please send me an e-mail regarding buying one. Thanks!!!!


  9. Dave

    13 years ago

    Hey Mikal

    Interestingly, I am in the same situation as the other Dave. I would love to have one of these boxes, as I am preparing to ask the love of my life to marry me. However, as with the last Dave, building my own is not an option as I lack the intellect. This box is perfect!! PLEASE e-mail me with any help you can provide.


  10. Eric

    13 years ago

    I loved this idea when I saw it in MAKE, and hope to build one… someday.

    I’m sure you get suggestions all the time, but have you considered a “Brigadoon Box?” (I just made that up; I have no claim to that name). This would be a box like your original reverse geocache, but with the added element of time. The Brigadoon Box would only open at a certain place, ON A CERTAIN DATE (or ever a certain time). Like, say, Stonehenge at the summer solstice. New Years, midnight, Times Square. Sunrise, Christmas morning, grandma’s house.
    You could get the time/date information from the GPS module you already have, so you probably wouldn’t need to change your hardware. Just a few dozen more lines of code. (Easy for ME to say!)

    Anyway – might be fun to try.


  11. Mikal

    13 years ago

    @Eric,

    I agree that’s a good idea, Eric. My new firmware will support the ability to set both (or either!) a destination OR a time for opening. You could create a box that only opens when your grandbaby’s 21st birthday.


  12. fedor

    13 years ago

    mikal, I would like to buy at least one… is it possible?


  13. Karl

    13 years ago

    HI, I was just wondering if you sell these. I would love to get one! Thank you, Karl


  14. Spencer

    13 years ago

    I really like this idea. I am glad I found this on the internet, this was well worth reading. I was actually considering making a box similar to this, and you have impressed me enough with this that I am motivated now. amazing.


  15. Adam

    12 years ago

    Is there any where to buy a reverse geocache box like this? I know a lot of people have been asking, but I can’t see to find any place. My gf and I love geocaching and I figure it’d be the best way to propose. Thanks for your help! :)


  16. Mikal

    12 years ago

    @Adam,

    Yes, I am making several of these each month for various people. Let’s talk via email…

    Mikal


  17. Mark

    12 years ago

    Mikal, GREAT idea! I would love to have one of these, but there’s no way I could make it myself. Could you e-mail and let me know if you’d be willing to sell me one?

    Thanks


  18. wendy

    12 years ago

    Okay my question is very simple. CAN I BUY ONE OF THESE BOXES :) PLEASE ?


  19. Mikal

    12 years ago

    @Mark,

    Sure! Check your email. I make lots of them.

    M


  20. Mikal

    12 years ago

    @wendy,

    Simple answer too: yes! :) I’ve made lots of commissioned boxes. We’ll talk by email. Thanks.

    Mikal


  21. Cesaera Pirrone

    12 years ago

    please let me know what one of these would cost – I am getting Married in August and would love to present my husband with one – now I must think about the contents – and a location..

    Thank you Cesaera Pirrone


  22. Jacq

    12 years ago

    Hi Mikal,
    3 words. I LOVE YOU!
    Can i buy one for my husband for our anniversary in May 2012?
    He has done some personal projects using the Arduino and we’ve recently got into geocaching together.
    I would have a go at building one but it is beyond me if im honest.
    Thanks
    Jacq


  23. Mikal

    12 years ago

    @Jacq–I love you too! :) Thanks for the kind note!
    @Cesaera–Thank you too!

    Yes, I am building commissions regularly, check your email for details!


  24. Bernard Martin

    12 years ago

    Hi Mikal
    I love your idea of making your own reverse geocache. I have some questions on making my own. Can you get in touch with me through my email address?? Thanks a lot.


  25. Tyler

    12 years ago

    This one of the most genius and creative gifts I have ever seen! How much does something like this cost? Would I have to send the contents of the box to you?


  26. Mikal

    12 years ago

    Bernard, did you see my page on building your own at http://arduiniana.org/projects/the-reverse-geo-cache-puzzle/building/?


  27. Mikal

    12 years ago

    @Tyler,

    Thanks for the kind words. I have made many custom boxes from about $550 to upwards of $3000 depending on the level of customization required. My boxes are all configurable from a PC. You don’t send me the contents; you put the contents in the box and then select your destination on the PC console using some configuration software that I wrote. The software controls all aspects of the box, so you can have as many adventures as you like.


  28. Michael

    12 years ago

    This idea is so incredible brilliant. Thank you for all that inspiration!
    Since a few weeks I developing my own (very affordable) version from scr.

    But currently it’s about… mhm, lets say 50% finished.

    Till then: have a nice time and keep creating things!

    Michael


  29. Mikal

    12 years ago

    Can’t wait to read about your work, Michael!


  30. Brian Carrigan

    11 years ago

    I made a clone of this project where the entire electronics system was replaced by a single circuit board with a PIC instead of the Arduino. The full writeup can be found at: http://www.graphsandwords.com/wedding.html

    Thanks for the inspiration!


  31. Mikal

    11 years ago

    Great work, Brian! Nice write up too. May I link to it on my new website as a “community story”?

    I like the custom circuit board. We are going down that path too, and hope to have some sample boards to share in the next few weeks.

    Read Brian’s blog everyone!


  32. rené

    11 years ago

    Hello Mikal,

    I have started building a box like this one (with more instructions though) for my sister and her fiancé. I have question about the power though.
    In your pictures you are showing the box with 4 standard alkaline batteries, which should give ~6v, which I guess is fine to feed the system via the 5v shield port on the arduino, but.. in the description you mention AA Lithium cells in the final version. 4 lithium cells would give ~14-15v to the arduino, which is way too much to feed directly through the shield port. Are you feeding it through a linear power converter first, or maybe just using 2 cells instead of 4?
    I was thinking of powering my box with 4xAA NiMH-cells (Eneloop, or something similar that keeps charge for a long time) – also using the power switch to keep idle usage at a minimum.

    Thanks for the imspiration!


  33. Mikal

    11 years ago

    Hi rené,

    I’m sorry that’s not clear. Let me explain.

    The very first box I built — the one mentioned in this article — used 4 1.5V AA Lithium (NOT 3.7V Lithium Polymer) batteries. This generated a nominal voltage of 6V, which is (just) within range of what Arduino’s built-in regulator can handle when it generates the 5V power bus.

    When I was making later boxes I decided that I wanted the electronics to be smaller, so I opted for the design that uses 2 AA alkaline batteries (nominal 3.0V). This of course is not enough to power a normal 5V Arduino, so I use the Pololu boost regulator to boost that to 5V, which is injected directly into the Arduino 5V power bus, bypassing the onboard regulator entirely.

    I have a new design coming out soon that uses the 3.7V LiPoly battery boosted to 5V. This will be cool because it’s rechargeable.

    Does that make sense?


  34. rené

    11 years ago

    Hello Mikal,

    Thank you for your swift response and specific answer.
    It makes sense, and yet it doesn’t. It sounds like all power, regardless of coming from the battery pack or the external connector is fed through the built in regulator, but from the picture of the first box, it seems like only the external power is fed through the barrel connector on the arduino (and thus also the regulator) whereas the battery is fed to the shield (through the polulu power switch, and being enough to run everything without a regulator or boost).
    Is this not correct? and if not, how do you bypass the polulu switch with the external power?
    I am probably still going ahead with the 4 AA cells (Lithium or NiMH) to feed 6v to the shield (through the power switch) and use the external port to provide 7-12v dirctly to the arduino (my backdoor is going to be a combination of external power and a reset between two specific metal features on the outside of the box (two nails out of many) – so that it can run normally on external power in case the batteries die and just ask for the power to be removed when a task is complete.

    Cheers!


  35. Mikal

    11 years ago

    rené,

    On the initial box the “normal” power route is

    6V battery pack (4 AA) —> Pololu switch —> Vin (Arduino onboard regulator) —> 5V Arduino power bus.

    The handmade shield I used on the initial box has the Pololu switch upstream from the onboard regulator.

    On the initial box the “backdoor” power route involved a 9V power supply with the 2.5mm connector. I could just “plug in” if I needed backup power. Its route was

    9V supply —> Arduino onboard regulator —> 5V Arduino power bus.

    If you have bought my latest shield you may be confused, because it bypasses the onboard regulator:

    3V battery packet (2 AA) —> Pololu switch —> Pololu boost (to 5V) regulator —> 5V Arduino power bus

    If you are using my new shield and board layout, don’t use the 4 AA cells, because the Pololu boost regulator isn’t rated to work at 6V.

    Make sense?

    Hey, let us know when your project is complete! Lots of good stories out there…


  36. rené

    11 years ago

    Ah. I forgot about Vin. Now it makes sense. I was planning on supplying voltage directly to the 5v pin, but maybe a boost adapter and Vin will come into play after all.
    I will let you know when my project is done :)


  37. Brian Carrigan

    11 years ago

    Thanks Mikal, by all means please do link! Hope that my writeup helps you to make the perfect custom board :)
    Shoot me an email if you have any questions.

13 Trackbacks For This Post
  1. Finding this wedding gift was quite a trip | It's In The Stars

    […] what’s in the box with the GPS screen? Gift cards. Mikal has been getting inundated with orders to make more of these one-off boxes which took him nine months to […]

  2. Arduino – Maximum and Minimum Temperature

    […] PS: I know these last few posts aren’t about Geocaching, but bear with me. I am learning this stuff so I can create my own version of the Reverse Geocache… […]

  3. Puzzle Box – The Paleotechnologist

    […] since reading about the (original) Reverse Geocache a few months ago, I had wanted to build one. Except for the box itself, I already had all of the […]

  4. Physical Computing | maplemuse

    […] interesting examples of physical computing change the way we interact with technology. Take the GPS locked treasure box, which will only unlock at particular coordinates, telling the user how far away the correct […]

  5. Reverse Geocaching | worms wiggle

    […] not know about, and I stumbled upon something called reverse geocaching. You can read about it in Mikal Hart’s post (recommended). Basically, The idea is that you give someone a locked gift box, that they cannot […]

  6. Interessante Arduino-Setups | wer bastelt mit

    […] the-reverse-geo-cache-puzzle und http://arduiniana.org/projects/the-reverse-geo-cache-puzzle/ […]

  7. OSCON 2011 « Ted Leung on the Air

    […] makes it possible for these people to make smart craft items. Some examples of such items are this “reverse geocache” wedding gift box, and a bicycling jacket with turn signal lights embedded in […]

  8. Self-Aware Building Blocks « Ben Turner's Blog

    […] unlock a secret temple.  After all, one inventor using Arduino and GPS geolocation already made a wedding gift puzzle box that only opens when it's taken to a small island near […]

  9. Moments « Ben Turner's Blog

    […] even the story about the wedding gift a man made for his newlywed friends which consisted of a locked box that had a butt….  The box said the newlywed couple would have 50 presses of the button to figure out how to open […]

  10. Link Dumpage for 2010-05-25 | b2c8b8

    […] The Reverse Geocache Puzzle ? | Arduiniana Delicious tags: puzzles "I finally settled on building the device I describe here: a puzzle box that won?t open until it is taken to a certain location … Mounted into the lid, perhaps incongruously, are an illuminated button, a small display, and a mysterious module that sharp-eyed readers might recognize as a GPS." […]

  11. Dosenfischen: Geocaching-Podcast 195 › Geocaching-Podcast Dosenfischer

    […] * Reverse Geocaching – Noch so ein talentierter Bastler, der hier Boxen für Reverse Geocaching vorstellt. Weitere Infos zum Thema gibts auch auf dieser Seite. […]

  12. My Proposal Box, Part 1: Intro

    […] seeing a project from Mikal Hart called The Reverse GeoCache™ Puzzle Box, I knew that I had to build one. My girlfriend and I really enjoy geocaching together, so I […]

  13. DIYourfaceoff.com’s top ten arduino projects - DIYourfaceoff | DIYourfaceoff

    […] Check out the full write-up and build here […]

Leave a Reply