Smoke Detector HACK! (sends SMS now)
HTML-код
- Опубликовано: 6 сен 2024
- This tutorial shows how to attach a micro controller to a generic smoke detector and send notifications over WiFi and SMS to your smartphone. The WeMos(esp2866) micro controller is turned on by a low power circuit. The micro controller turns itself off to use the lest amount of power. The software is based on Mongoose OS and utilizes IFTTT. The case is 3D printed and the device is powered from a LiPo battery. Genuine testing has been done ;) have fun. watching.
Code and case stl can be found here:
github.com/bit...
Links to the used websites:
mongoose-os.com/
www.wemos.cc/
ifttt.com
Links to the parts (I get small cut at no extra cost for you):
WeMos D1 Mini:
s.click.aliexpr...
ebay.to/2skrCE1
amzn.to/2saaoKL
WeMos perf board shield:
s.click.aliexpr...
ebay.to/2safBT7
amzn.to/2tbriY8
Mosfets 2N7000:
s.click.aliexpr...
ebay.to/2saEoGz
amzn.to/2rEWwF8
Checkout the channel of Andreas Spiess:
/ @andreasspiess
More low quali stuff on my second channel:
/ bitlunistrash
Please consider supporting my work on:
/ bitluni
For anyone else, who wants more details on the circuit - here's my take on it:
The two N-channel MOSFETs act as digital switches. The one on the right, is the one that switches the MCU on - by connecting or disconnecting the MCU's GND pin to the actual GND (the negative of the LiPo). You can see that when the smoke detector beeps, the voltage difference between the beeper pin and the "-" will "threshold" the zener; and the gate of the MOSFET on the right will rise up (compared to its source) by 4.7V(-ish). It therefore turns on, connecting the MCU's GND to the battery's negative, and the MCU powers up.
Usually, N-channel MOSFET gates have a pulldown to ground (to avoid having them floating). Bitluni however, wants the pull-down itself to also be a digital switch. He uses the left MOSFET to do this, by setting it to pull "hard" (well, harder than the 100K) towards the GND, when D1 goes high. Basically, when the MCU wants to turn off, it sets D1 high. This means the gate of the MOSFET on the left goes high, and the fet turns on. It's drain (which is connected to the gate of the right MOSFET) is connected to its source, which goes via the 10K to the LiPo's negative. This in turn means that there's a 100K/10K divider on the gate of the
right MOSFET, which will pull "hard" the gate to the GND, and will turn the right MOSFET off - thus switching the MCU off.
I think that's how this circuit works.
"Thanks" 😎😀😎
nerd
Lipo's in a Smoke detector has some irony in itself ;)
I once had a smoke detector catch on fire and set its self off
In most cases, the Li-Ion battery is not the problematic part, but the person handling it.
Exceptions may prove the rule:)
Vacuum taped to the drill - LEGENDARY!!!
some haircut places do that with their clippers
The 5 volt ESP can actually accept 9v input since it has a built in voltage regulator for the internal 3.3v. It can take up to 12v without and 24v with overheating. With this you can connect the esp directly to the smoke detector and use one of the internal 9v+ alarm pins to only start the esp when there's actually fire. The esp will otherwise drain exactly zero power. Correct me if i'm wrong, but that's how I successfully finished my initial tests yesterday. No extra parts beyond esp and smoke detector needed.
Great use of comedy and very informative. Thanks!
you make it look so easy. I am trying to do this project and it is no where near as easy as the video
I added an esp8266 and a relay to my 3d printer because I'm lazy and wanted to be able to use google assistant to turn it on and off. I will now expand it to use a smoke detector that auto cuts the power to the relay along with sending a notification. Thanks for the idea and the informative video.
Aaaaah, I see what you did there, last summer;)
In your dramatic intro you withhold the really loud alarm of a smoke detector and funny: include car alarms:)
No problem at all. But maybe you loose your insurance coverage by fiddling with the smoke detector. The solution is to install two of them. One untouched with seal and your DIY one. O.k. one last problem: Can you prove all of this in the event of damage?
Thanks for the video, bitluni. Informative and well made as usual:)
I randomly came across one of your videos yesterday I've since watched about 5 of them all bookmarked in the ever growing list of "yup doing that when I buy a house" Thank you!
Great sense of humor ! Love your lab !
You are really saving me. I need this for my detectors too.
Nice work. I don't really like the way the detector only goes high when beeping - doesn't really allow to detect a bad connection or abrupt voltage drops due to a broken battery. I use a similar system to get my detectors online, however using the battery only as a backup and as such with increased communication. I added a "heartbeat" so I can detect if the controller or communication is malfunctioning. For my shop I also added a function to disable the detectors internal beeper (no need to annoy neighbors if I'm there working with things that let out smoke on purpose) and additional detectors (temperature, gas, etc).
Hi- Could you please post your code ? in your own github or in Issues section of this projects page on github? -Thanks. have you update it with MQTT ?
In this project I can use lollin nodemcu ESP8266 or not
You look like a cross between Mulder and the KGB dude from 'The Americans' - Great video dude!
When he started drinking Braustübl, I knew he lives in my town :D
Why you used a different power source for the esp ? And why not just power it off that 9v battery ?
The WiFi obviously suck up a lot of current. Hence he uses rechargeable li-po which hold more capacity than 9V battery.
Such a great example of network-enabling an existing device. Great video !!
Absolutely sensational. Love your channel dude, along with your wicked sense of humour. Keep at it.
Does IFTT works for these type of event trigger s.
I think they have stopped these a few months back.
Please test with your project and confirm, is it working or not.
I'm new to your videos and that workshop is AMAZING
2 things: Keep up with the commentarial antics! :) Secondly, what printer are you using in the video? Looks nice, reasonable $$$?
This is a really informative, very well done, funny and entertaining video! I really enjoy your channel.
BTW, which software do you use to create your videos?
Excellent idea to make your house safe. I suggest to link all your fire alarms. If one detects fire all should start beeping.
that's a nice idea, but how do I know where the fire is?
The one that went off first?
Or you look for the fire, it tends to be pretty obvious stuff ;-)
An amazing set of skills with added humour. Thank you for sharing knowledge. 😊
whoa whoa man! that fridge is not advertiser friendly :)
Really cool hack, and it can apply to any household device that breakdown, or mis-perform... Thanks..
I really enjoy all your videos and your sense of humor. Thank you so much for all your work. I have a question. Why not supplying power to the Wemos from the 9V battery of the smoke detector?
the reason is that I didn't want the wemos to drain the 9V battery so the smoke detector will at least be able to set off even though I was to lazy to recharge or add a small solar cell to it.
@@bitluni What about having a NO circuit that closes when the alarm is beeping. That way the Wemos is turned off and not using any power from the 9V battery? When the alarm goes off, then closes the circuit and powers up the Wemos. No need to deep sleep on the Wemos because it's off. I just want your thoughts before I try to implement something like this. Thanks for your input!
"Thank You", thank you very much 😀 Your presentation was REALLY good 😀. Is there ANYTHING additionally I need to know 🤔
Can you please do a complete tutorial on Mongoose OS..
Excellent video. Why do you place the zener diode (4.7v) at the smoke sensor output? I did not understand the operation of the low battery reading with the use of pin D2. Thank you!
just found the channel and have been binging on the content :)
Nice workshop man & cool project!!
nicely done, both engineering and aesthetics!
To improve the lipo batt life, How about putting the wemos in deep sleep mode and wake it up via interrupt when an event occurs?
Thanks for sharing! How about one that turns off your 3D printer?
Really insteresting video! Only downside was the song in the background because it was really painful to listen to because of some high frequencies.
Just curious if there is a junction at the negative portion of the LiPo?
I have Smoke Angel linked smoke alarms - I'd love to see if you can detect their inter-detector transmissions and send an SMS from that! :-)
your videos are really funy and very good to learn
where did you get that kit with all the different sized white connectors with the pins?
Dare I question the bare bottoms on the fridge door?
Before I commented on those, I wanted to make sure it was PC enough. Thanks for taking care of that.
"This is your house. I am on fire. Send help plz"
I will have to give Mongoose OS a try
Even more epic hack is the vacuum taped to the drill!
can you use your technology to make startup cars by phone ?
or some thing like that !
thanks. always good and entertaining. I hope you enjoy your new lab.
Thanks.. I really do!
Is it a social experiment that you didn't change the key after posting this video with the secret keys visible? ;)
Could you also include a picture of the schematic on your GitHub page?
I see you started using Mongoose with the 8266. Any chance you could do a video showing Mongoose IDE running on windows for the 8266? Does this support all the Arduino sketches and libraries? Also, have you ever tried PlatformIO?
I have shown it in the latest video again ruclips.net/video/migRN4P1wGI/видео.html
But I didn't try any Arduino compatibility nor PlatformIO yet
Are there any Zigbee boards that are like the WeMos? I want to fill my house with lots of little sensors, but it seems a bit of an overkill having every single one attached to my WiFi network with an IP address. And I'm sure that with enough of these things chattering away that WiFi quality will degrade.
You could build up a second wifi Network for these
very interesting channel! please keep up the good work! cheers
Thank you, inspiring video.
Nice project. How long will the small LiPo last?
Depending on leaks I didn't measure yet. I have marked the active potentials in the circuit diagram. In the off state the lowest resistance path is 100k+10k Ohms at 4.2V is around 38µA. This will only last 1-2Months. To improve this we can put in higher resistors (but then we have to reblance the circuit), use other Batteries (18650 or disposals) or add a solar cell (I like this idea).
Meanwhile Mongoose OS also supports deep sleep on JS level. The circuit can become much simpler.
I'm open to other improvements if you have some ideas. I already thougt about a followup with some improvements.
Solar Cell + Supercap? Most of the time the circuit will just sit there, waiting for something to happen. That means that a supercap can charge for weeks on end and dump all its power when it's needed.
Does the circuit drain the battery of the smoke detector? Even if no alarm is sounded, some current should go through your circuit?
he has an additional rechargable LiPo...
why not used a GSM module ??
Do you have any diagram or details video on how to make one of your circuity on the ESP8266 board and where to get the parts?
sorry, currently only the schematic in the video. But you can also find the part numbers there or values. Probably any supplier will do.
this was really awesome! do more IoT stuff!!!
Very entertaining videos. And funny as hell...:)))))))) Great job . I'm sold.... SUBSCRIBED :)
Dieses Blau-Hellblau gestreifte Gebäude kommt mir irgendwie bekannt vor, aus welcher Ecke von Deutschland kommst Du denn?
Hi,
How did you manage to flash esp01? I get the error while run `mos build` command: "Adding api_dataview.js: SPIFFS_open failed: -10001" whatever i do :(
Any ideas? Thanks
bro, you with greatScott & electroBoom is my inspiration! i will make channel youtube, thank you! you are legend
if only there was a bad smell detector so that I can avoid going into the bathroom after my significant other used it. Perhaps a Robbie the Robot voice shouting, "DANGER DANGER WILL ROBINSON DEADLY POOP FUMES DETECTED IN THE TOILET DANGER DANGER"
after long time nice idea thnx keep it up
I love Berthold
lo mejor este canal realmente muy bueno
So ESP won't spend energy while beeper no alarms ?
very low consumption... a small solar cell could cover the base consumption
Great vid, more Lambda iOT please
very nice
What if your internet does not work? :P cloud servers for mqtt are a bad example... sorry
When is your next video? :D Keep it up!
Working on it ;)
Paradise
You make such a good job of your videos - they really are good and funny - thanks for your hard work. :¬)
Good stuff
make remote fire extinguisher !
Love your videos. Hate the music.
weil du den Schweizer erwähnt hast gibt's das Abo für dich ;-)
Perfect!
love it
i very enjoy ur video,, nice keep up...
I love vacuumin my hair too. :D
Nifty......but IFTTT on occasion can be slow.
can the wemos d1 mini be power by 5v usb adaptor? i would like to use arduino ide to upload the sketch and blynk app to notify me. will your code for blynk? could you may be help modify the code to be uploaded to blynkk??
Thank you
Can you send the here
could you please add code for mqtt ?
How do you detect low power? Is that if only one beep is detected?
Great video by the way!
yes.. it only detects low power of the detector.. not it's own
On Arduino IDE I use "ADC_MODE(ADC_VCC)" to measure the input voltage to detect a low input voltage if the LiPo battery gets low on power.
Du bist aus Darmstadt (zumindest der Region) ? :)
Bin gebürtiger Darmstädter :D
Guuudeee! Bin nicht gebürtig aber heimisch (am Bier erkannt? oder merc oder den video infos?)
bitluni's lab
an der Flasch Braustübl natürlich :)
Wohne mittlerweile wieder an der Mosel, aber bin zum Heinerfest wieder bei meinen Eltern in Arheilgen
würd mich freuen sich mal zu treffen :D
Cool, dann komm doch vorbei. Das lab ist auch in Arheilgen. Wir grillen sicher wenn's Wetter gut ist. Meld dich wenn du in der Gegend bist (am besten per email nen tag vorher bitluni@bitluni.net)..
Wird erledigt :)
Nur komm ich nicht allein, Freudin und Kind wären mit dabei ^^
Christian Schmela Was für ein Glück du hast! Bei mir ist tote Hose :(
How can I just Buy this? Your too smart ...
Guy... you are very funny... kkkk.. Much rhinod here ! I'll do this too!
I have a project like this if your interested
Does it work?
Search Webhooks now, not Maker Webhooks
Bro ,
The Intro esceladet quickly
Like for labcat
In the end The smoke Detektor will burn
Hilarious ;)
dont buy a cheap one. they wont work as well. get a good quality one!
Is this guy dead?
hi. I want to join with you to make my project better. and also talk to you. as work together .. thank u.
Cool ideas, worst music ever