Hi! It sounds like you are getting close to having the box all put together! I would recommend loading up a very simple program that just handles the key switch. You can have it output a debug statement when the key is turned or something to verify that it is working.Those key switches are treated just like a push button used without a resistor. Check out this link:https://www.instructables.com/id/Arduino-Button-wi...My approach whenever I hit a snag like that is to simplify as much as possible and just get that one component working, then incorporate it back into the overall setup. Let me know if you still have issues!
You might try using the resistors. I was making a wooden variant of this box and was having troubles with the GPS units, even though I successfully made 3 of these 3d printed ones. I was finding the same information as you. Even when I connected the GPS to the 3.3V power on the Arduino, I wasn't getting signal. I haven't solved that issue, so please let me know if resistors make it work!
You'd be able to modify the code to remove the piece that checks the GPS location. You could even just make the function that checks the GPS coordinates return true immediately so you wouldn't have to change much code.The only other thing you'd have to do would be to modify the 3D model to close the hole for the GPS antenna, or use something else to cover it after you've printed it.
2 of the files are the 123D Design files (.123dx) which contain the original 3D model in case you want to edit it. "Box Main fixed untested.stl" is a version of "Box Main.stl" that has a fix for being able to twist the lid open, but I haven't printed it and tried it yet, so I included the original as well.So you'll print 5 STLs: battery door, Box Main, GPS holder, lid, and lid cover.
Each compartment on the box only opens if the box is with 0.1 miles of a certain location. The GPS turns on once a correct code is entered to check how far away the box is from the right spot.
3D Printed Electronic Puzzl...View Instructable »
Building a real woodworker's workbench