Support for smoke detector? #186
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello
Has anyone connect a smoke sensor to this plugin? for example MQ-2 Sensor.
It will be a very good feature to cut of the power when smoke is detected.
I connected an actual cheap smoke detector as an input using this guide here: https://www.instructables.com/id/Modify-a-6-EUR-smoke-detector-for-use-with-microco/. Make sure to get a photoelectric detector instead of an ionization one. I bought my detector for $5 on eBay: https://www.ebay.com/itm/113062422041, 20 minutes of soldering to connect some leads, a transistor and a couple resistors and it works to trigger an RPi GPIO input, then I just set it to Cancel Print with the enclosure--tested by pushing the "Test" button on the detector and it cancels the print, (which in my setup then also triggers the printer to kill the power after 60 sec).
Edit: Added schematic and photo. Ignore the blue text/line on the schematic, I'm using an old breakout board that I had designed for a photo booth originally as an intermediate between the pi and that was what was on the board vs in the detector.

thanks @shbatm for the answer.
yes @kaju666 you can configure smoke detectors, just read the documentation...