3D printer enclosure guard

Temperature probe and smoke sensor inside the enclosure with an alarm, a message and an optional power cut for the printer.

Safety Board: ESP32 DevKit V1 (WROOM-32) Level: ●●● ⏱ 3–4 h

⛔ High risk

Mains 220–230 V can kill. Work with the power off, use certified isolated modules in an enclosure, fuse the line, and ask a qualified electrician if you are not sure.

A second pair of eyes on a hot machine

A 3D printer can run for many hours without supervision, and enclosures concentrate heat. An ESP32 with a probe inside, a smoke sensor and a buzzer gives an early warning, and a relay or a smart socket can remove the power. Be honest about what it is: a hobby add-on, not a fire protection system. A real smoke detector in the room is the first thing to have.

Design choices

Cutting the power mid-print ruins the print and stops the part-cooling fan, which can cause heat creep, so cut power only for a severe condition and warn first. Thermal runaway protection belongs in the printer firmware; do not replace it. MQ-2 sees smoke and many gases but cannot judge the type of fumes, so do not treat it as a measure of air quality.

  • Use a relay or contactor rated for the printer, and keep wiring in a closed box.
  • Put the probe where hot air gathers, not touching the hotend.
  • Send a message with the temperature when the alarm fires.

Components

  • ESP32 DevKit V1 (30 pin, WROOM-32)
  • DS18B20 waterproof probe
  • MQ-2 gas/smoke sensor module
  • Active buzzer module 5V
  • Relay module 1-channel 5V (opto-isolated)
  • Inline fuse holder + fuses

What you need

Buy the parts kit · Estimated total: $10.50

ESP32 DevKit V1 (30 pin, WROOM-32) × 1
$4.00
Buy at AliExpress Buy at Amazon.com
DS18B20 waterproof probe × 1
$1.50
Buy at AliExpress Buy at Amazon.com
MQ-2 gas/smoke sensor module × 1
$1.50
Buy at AliExpress Buy at Amazon.com
Active buzzer module 5V × 1
$0.50
Buy at AliExpress Buy at Amazon.com
Relay module 1-channel 5V (opto-isolated) × 1
$1.50
Buy at AliExpress Buy at Amazon.com
Inline fuse holder + fuses × 1
$1.50
Buy at AliExpress Buy at Amazon.com
🇺🇦 Ukraine🌍 Other countries

Other countries: order these parts on AliExpress with the links below.

Some links are affiliate links: we may earn a commission at no extra cost to you.

Related ideas

⚠ Caution

A hobby gas sensor is not a certified alarm and does not replace a real gas or smoke detector.

Gas / smoke alarm (hobby)

MQ-2 sensor with a buzzer and a web page. A hobby add-on, not a certified detector.

  • Board ESP32 DevKit V1 (WROOM-32)
  • Level ●●○ Intermediate
  • Build time 1–2 h
Pick parts / kit

Freezer / fridge alarm

A DS18B20 probe inside the freezer; a buzzer and a message if the temperature rises or the door stays open.

  • Board ESP32 DevKit V1 (WROOM-32)
  • Level ●○○ Beginner
  • Build time 1–2 h
Pick parts / kit
⛔ High risk

Mains 220–230 V can kill. Work with the power off, use certified isolated modules in an enclosure, fuse the line, and ask a qualified electrician if you are not sure.

Water pump dry-run and pressure guard

Watches water pressure and switches the pump off on dry running or a pipe burst through a contactor.

  • Board ESP32 DevKit V1 (WROOM-32)
  • Level ●●● Advanced
  • Build time 3–5 h
Pick parts / kit

← All module ideas →

Comments

No comments yet. Share your experience or ask a question.

Comments are moderated.