My Door Sensor (Revised Design) Breakdown and Upgrades

preview_player
Показать описание


This sensor can be used to monitor doors, motion, or it can act as wall switches. It uses microAmps while in standby and has a trigger time of 240ms. It is designed using ESP8266, Attiny and communicates over ESPNOW, Wifi and MQTT.

Get the Mico-Switch
============================

Get the Code & Schematics
=======================

DISCLAIMER: Some of the links found here may be affiliate links, meaning I will make commission on sales you make through my link. This is at no extra cost to you to use my links/codes, it's just one more way to support me and my work. Much of the information contained is based on personal knowledge and experience. It is the responsibility of the viewer to independently verify all information.
Рекомендации по теме
Комментарии
Автор

great! thanks for sharing, waiting for v3

squalazzo
Автор

Great design and video! I also switched from reed to micro switches because of the exact same problems! I didn't create a custom PCB, but just soldered it to a ESP-01 module and created a housing that can hold everything together with two AA batteries and a hole in which I placed the micro switch. I think this is way more portable and robust than the reed solution.
Keep it up!

icameforthemoshpit
Автор

You need a reset RC, 10K/1uf on pin1. Your diagram shows the switch applying batt to the gpio5 input, good way to kill it. You only need a pullup resistor internal/external on gpio5 to Vcc and the switch NO to gnd. You can delete the attiny by using the switch to send a reset pulse and wake the 8266 from deep sleep (~20ua). GPIO16(pin4) jumpered to reset can also wake from deep sleep with a timer. very good content👍

ebb
Автор

Can anyone share the code of this build with ESP-01. I think I keep fail at the interrupt part =/ I am using WifiManager library by the way, I think you also use it in this build, right?

bugraotken
Автор

hey thanks for navigating me here....may I know what reed switch you use ? two way somthing? i heard of open or closed reed switch

boopeshkumarprabhakaran
Автор

Your designs are great! Are they open sourced? Anyway if you make them available in any store let me know. 👏👏👏

gmag
Автор

Great design! Looking forward to more videos! Btw: I have a bunch of these Micro Limit switches laying around, where did you find the footprint for it? Can't seem to locate it.

saysphilippe
Автор

Personally I would have stayed with the read switch, I would have added pillars to the PCB so that you did not need to bend the leads this way if you put it in a good case you can have a good IP rating, with the switch you will always have a hole that water can get in not good for garage doors, but I like the design

richarddalling
Автор

heh good printerz don't use those switches anymoar.

GoatZilla