RFID Vicinity Sensor Tutorial (PN5180 and ESP32) (Patreon)
Content
Hi folks,
I've mentioned the PN5180 RFID sensor before (in my RFID roundup), but I've not used it in a complete project up to now, so in this video I'm hoping to address that!
RFID sensors are a commonly-used method to provide the "magic" behind any Escape Room tech puzzle that requires particular items to be placed at certain locations. A hidden tag placed in a prop is detected by a hidden sensor somewhere positioned underneath a surface or spot on the wall, for example. The problem is that the detection range for most common proximity sensors is limited to only a few centimetres, and the tag generally has to be axis-aligned to the sensor. The PN5180 RFID chip in this project is a vicinity sensor instead. That means it has a greater detection range - I reliably get around 25cm in this project - and ultimately able to provide a better player experience since it allows a greater tolerance in exactly where the item containing the tag can be positioned.
I've also tried to take this opportunity to address a few issues that people mentioned from my first RFID puzzle tutorial - namely, I've now incorporated a "reset" card that can be swiped over any sensor to reset the puzzle when complete, and I've also tried to better explain how I use RJ45 sockets to allow you to connect sensors via Cat5 ethernet cables. Finally, I'm also now using an ESP32-based controller, which is significantly faster, has more memory, and features (i.e. Bluetooth, WiFi) than an Arduino, and it runs at 3.3V which is the operating voltage for these sensors - if you're currently using an Arduino-based setup, I've tried to cover some of the factors you might want to bear in mind if you are considering upgrading to ESP32 - they're great little boards, but there's a few gotchas to watch out for!
I hope you find it useful, and as always please ask if anything is not clear or if you have any questions. I'll put up a separate post with links to the resources shortly!
And finally, I wish you all a very Merry Christmas, and a happy and peaceful New Year.
I'll see you all in 2021. Fingers crossed! x