ESP32 Interlock

Door interlock safety system

Similar projects worth following
The essential operation of the system is to produce a trip signal once a door is opened. Thus, killing any ongoing operations within a room.

The system consists of a door sensor, Raspberry Pi, WiFi Router, and Shelly 1 Relay.

Each door sensor is built using a Heltec wifi kit 2 ESP32, 1000 mAh LiPO, one reed switch, a few small magnets, and a custom, 3D printed, housing. The housing is assembled with threaded brass inserts and appropriately sized cap screws.

The Raspberry Pi, while connected to the WiFi Router via Ethernet cable, handles all communications. Commands passed to, and from, the door sensor or Shelly 1 Relay is done using MQTT via Eclipse Mosquitto. Furthermore, manual control or system reset is performed via a website that is hosted on the Raspberry Pi. The website is built using Node Red and the Node Red dashboard plugin.

The Shelly 1 Relay simply has developer mode enabled for use with MQTT and all commands are passed in accordance with the Shelly REST API.

ipt - 180.50 kB - 07/14/2021 at 15:30


Standard Tesselated Geometry - 33.19 kB - 07/14/2021 at 15:30


iam - 131.00 kB - 07/02/2021 at 18:33


Standard Tesselated Geometry - 175.67 kB - 07/02/2021 at 18:33


- 6.82 kB - 07/02/2021 at 17:34


View all 17 files

  • 1 × Heltec WiFi kit 32 OLED dev board containing the ESP32
  • 1 × Reed switch Normally open reed swtich
  • 1 × Magnet Triggers the reed switch
  • 4 × m2*10 cap screws
  • 4 × m2*8*3.5 brass threaded heat inserts

Enjoy this project?



Sugandhan Vazhumuni wrote 06/09/2021 at 07:14 point


  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates