smoke detector triggered killswitch based on esp-01 relay
Posted: 10 Jan 2019, 20:23
Hello community,
i need some help on my project
I have an 3D printer in my basement and for some safety measures I want to setup an automatic killswitch triggered by an smoke detector.
There are two PINs (GND, Signal) on the smoke detector going HIGH 3,3v in case of smoke detection.
I want to connect the smoke detector directly to the esp-relay to cut off the power of the 3d printer in case of smoke or fire.
so i bought some of these esp-01 relays here
https://de.aliexpress.com/item/ESP8266- ... 21218.html
I also soldered an extra wire directly to the GPIO12 on ESP8266EX Chip, to be able to connect the smoke detector as the esp-01 has only two GPIO pins, so now i have 3 in total.
It was a hard piece of solderwork but fortunately i'm not an heavy drinker so i made it
Of course i could take another eps-01 and connect it to the smoke detector that griggers the other esp-1 on the relay but in case of an wifi connectionloss or any other problem it will just not work.
I think it would be the best and safest solution.
I have activated the "Rules-Tab" on EasyESP but unfortunately I'm not good at coding at all so i need your help to code the right logic
i need some help on my project
I have an 3D printer in my basement and for some safety measures I want to setup an automatic killswitch triggered by an smoke detector.
There are two PINs (GND, Signal) on the smoke detector going HIGH 3,3v in case of smoke detection.
I want to connect the smoke detector directly to the esp-relay to cut off the power of the 3d printer in case of smoke or fire.
so i bought some of these esp-01 relays here
https://de.aliexpress.com/item/ESP8266- ... 21218.html
I also soldered an extra wire directly to the GPIO12 on ESP8266EX Chip, to be able to connect the smoke detector as the esp-01 has only two GPIO pins, so now i have 3 in total.
It was a hard piece of solderwork but fortunately i'm not an heavy drinker so i made it
Of course i could take another eps-01 and connect it to the smoke detector that griggers the other esp-1 on the relay but in case of an wifi connectionloss or any other problem it will just not work.
I think it would be the best and safest solution.
I have activated the "Rules-Tab" on EasyESP but unfortunately I'm not good at coding at all so i need your help to code the right logic