Ok, this is a very basic project, but I wanted to share anyway.
I had one of those fun little $25 SentrySafes
I decided I wanted it to be unlocked via Wifi, without disabling any of the keycode or key override functionality.
This ended up being much easier than I imagined.
All I needed was a basic Mosfet, and a 10k resistor.
The red and green wires are spliced into the 4 AA batteries (I threw that toggle switch you see on the front of the safe in line since I didnt think the Spark would last long on AA’s)
Then, the Mosfet is spliced into the live wire on the actuator. There are two wires leading to it, be sure to pick the same one I did.
If you wire everything up like I did, you can simply use the Tinker app and set D0 to analogWrite, and then hit it to 255 to unlock, then 0 to lock.
Super simple. I’m sure someone can make a nice little iPhone or Android app…but im taking the core out for another project.
Too much fun stuff to keep these cores in one project at a time.
Here is a 30 second video showing the final usage.