How to Create a Pressure Pad Lap Counter using ESP32 and Node-RED @PlayfulTechnology
How to Create a Pressure Pad Lap Counter using ESP32 and Node-RED  @PlayfulTechnology
Uploaded April 2020 | Updated September 2026, 1 week ago
This is a tutorial project inspired by Captain Tom Moore, who has raised £30 million for the NHS by completing laps of his garden and celebrates his 100th birthday tomorrow. #ThankyouNHS

In this video, I'll explain how you can use a pressure mat sensor attached to an ESP32 as a "lap counter" - sending an MQTT message to update a Node-RED dashboard running on a display screen, and playing a sound effect each time it is stepped on. The concepts, hardware, and software demonstrated could be used in many puzzles and interactions in escape room puzzles.

Hardware/Software used:
- ESP32, ~$7 from, e.g. banggood.com/custlink/GvmKq6b0Rt
- Pressure mat, ~$15 from, e.g. ebay.co.uk/itm/PRESSURE-MAT-PAD-ALARM-MEDIUM-720MM-X-390MM-X-3MM-FLOOR-DOOR-BEDSIDE-SECURITY/192978582555
- Node-RED, free, from nodered.org

Timings:
00:00-01:26 Introduction
01:27-01:53 Demonstration
01:54-04:24 Hardware
04:25-21:59 ESP code
22:00-37:18 Node-RED flow
37:19-38:14 Wrapup

More Info:
To download the code listing and Node-RED flow for this project, or for details of any of my other Escape Room tutorials, see my Patreon account at patreon.com/playfultech
How to Create a Pressure Pad Lap Counter using ESP32 and Node-REDArduino Animatronics - Setting up a RC ControllerI trained an AI to decode Morse code messages on an ESP32!Colour-changing RGB Arcade ButtonsPneumatics 101: A Beginners Guide to Building Air-Powered PropsCreate Immersive Video Displays for Escape Rooms and TheatreCreating Dynamic Character Interactions for Escape Rooms37 Clock Ideas (remastered audio)Durable Cotton Canvas PaperHit Me, Baby! Escape Room Physical PuzzleCreating a Custom PCB Arduino ShieldHow to make an ESP32 Escape Room Pirate Wheel Puzzle
Playful Technology |

How to Create a Pressure Pad Lap Counter using ESP32 and Node-RED

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER