Tech Tutorial Advent Calendar Day 6: Fingerprint Recognition (Patreon)
Content
I started this set of Advent Calendar tutorials with a sensor that detected hand gestures - today's tutorial follows a similar theme, but this time detecting and matching fingerprints!
I'm using a cheap optical fingerprint recognition module (often labelled as DY50 or AS608), which you can buy for around $10 from, e.g. here.
The sensor is surprisingly accurate and reliable, and compares a scanned finger to a database of up to 129 registered fingerprints. If a match is found, the ID of the corresponding fingerprint is sent over a serial connection, which can easily be read using an Arduino, Raspberry Pi, or other microprocessor.
Note that most Escape Room "fingerprint detection" security panels are not genuine - they rely on magnets, RFID tags, or other tricks - but this sensor actually requires you to scan a real human finger! As such, it might require a little thought as to how you incorporate this into a puzzle - but it would be very neat to, say, have players register their fingerprints early on the game (or perhaps even in the pre-game briefing?) and then require them to have them scanned at a later point in the game.
By installing multiple fingerprint scanners at different locations, you could even create a puzzle that required particular players to be the ones that performed certain interactions, undisputedly identified by their fingerprints!
Before using the sensor, you need to upload the fingerprints which you want it to recognise, and there's a sketch called "enroll" which comes with the Adafruit Fingerprint Library which you can use to do this. Just upload it to your Arduino, open the serial monitor, and follow the instructions.
Once you've trained the sensor to know the fingerprints you want recognised, you can run my detection code, available from https://github.com/playfultechnology/arduino-fingerprint-recogniser
If you think of a cool way to use this in an escape room, or have any other questions, let me know!