Daily Tech Wizard Newsletter

Stories / / By Daily Tech Wizard

Magnetic lock box opens only to a magnet-drawn pattern

Any strong magnet can open a magnetic lock box, but this builder fixed that.

A box that opens only when you draw the right pattern with a magnet, not when you hold any magnet near it.

A lock that holds its bolt with a magnetic device and opens with a magnet has an obvious weakness: any strong magnet will open it. Stephen Cass built a version that doesn't fall for that. Instead of reacting to a magnet alone, it looks for a specific magnetic gesture.

The sensing comes from an array of 64 Hall-effect sensors developed by Peter Jansen, arranged as an 8×8 grid. A Teensy inside the box reads the grid. You draw the unlock pattern with a magnetic stylus, and the system lets you train it on the gesture you want.

The sensor covers a small area, so the gesture is hard to reproduce reliably. A visible mark on the box would also be a dead giveaway, so Cass put a Celtic knotwork pattern on the box and uses part of it as a reference.

The battery is another problem. If it runs out, the box is locked forever, at least until you apply mechanical force and break it open. Wireless charging would be an option, but a small jack for plugging in an external battery might be favored.

One alternative idea is a magnetic combination lock built from reed switches. It would still need a battery, but wouldn't draw current until you connected the switches.

Would you trust a lock like this with something you care about?

Archive video: Mythic Games, CC BY 3.0 (Wikimedia Commons)

Video: Peter Jansen on YouTube

Read the source: Magnetic Lock Opens By Magic (hackaday.com)