Contact Sensor 3 - an ESP8266 Door & Window Sensor

  Рет қаралды 16,338

MrDIY

MrDIY

Күн бұрын

Пікірлер: 26
@gadjetsvideo
@gadjetsvideo 2 жыл бұрын
A tip that I use for programming is to edit the footprint of the connector to slightly offset the pads a small amount alternating left and right so that the programming pins are a friction fit and have a good contact.
@MrDIYca
@MrDIYca 2 жыл бұрын
I will give it a try - thanks for the tip!
@PhG1961
@PhG1961 2 жыл бұрын
Excellent video ! Great work !
@LEARNER4LIFE1
@LEARNER4LIFE1 2 жыл бұрын
i notice it have to be placed outside of the door, possible to place inside of the opening so its more secure.
@NiLuBu
@NiLuBu Жыл бұрын
Very exciting project! 👍 Is there a BMS to protect the battery from undervoltage?
@MrDIYca
@MrDIYca Жыл бұрын
I use protected lipo batteries with BMS built-in for my sensors. The charge controller also has a UVLO. But in theory, if you leave a low battery connected, the ATtiny might drain is ever further over a very long period of time (years).
@1_HighDuke
@1_HighDuke 2 жыл бұрын
Awesome! Thank you for sharing with us.
@MrDIYca
@MrDIYca 2 жыл бұрын
Sure thing!
@朱志华-d3i
@朱志华-d3i 2 жыл бұрын
Thanks for sharing ,can I remove the Attiny and directly switch_input to the EN pin of the ldo, so that it is more energy efficient without the Attiny if Switch_input is a self-reset button ? My project is to use the self-reset button to remotely control the light through espnow
@koloksimonasen872
@koloksimonasen872 Жыл бұрын
hello my friend! what software did you use to calculate your battery life over time and graph it like that? :)
@MrDIYca
@MrDIYca Жыл бұрын
I reviewed it here - kzbin.info/www/bejne/p6upmGiZYqdkl9U
@tlar1272
@tlar1272 2 жыл бұрын
Cool gadget. Does it come with instructions to pair it with home automation? I saw a large battery pack, a coin cell, and a mention of a battery charger circuit. So what is it typical power source?
@MrDIYca
@MrDIYca 2 жыл бұрын
Thanks. It depends on the home automation system. For Home Assistant, you can use this www.home-assistant.io/integrations/sensor.mqtt. For NodeRed, you can use the MQTT node to trigger events. For version 3, any lipo battery will do, as long as it has a PH2.0 plug ( and the right wire polarity)
@Mr_ToR
@Mr_ToR 2 жыл бұрын
very nice. would this also work with esphome? I already have home assistant and many esphome devices. so I naturally don't need a hub.
@MrDIYca
@MrDIYca 2 жыл бұрын
I am working on a new video to show how to use your own code bypassing the hub. If you can code it, I don't see why it wouldn't work.
@jacklewis100
@jacklewis100 9 ай бұрын
Wish it had LoRa so that range was bigger/more reliable for a larger home/garden.
@varunkumaran2624
@varunkumaran2624 Жыл бұрын
Hiii... Your Project is Really good and I am trying to replicate the same... I Have tried the version 3 code for attiny and while deep sleep I am getting a 350 micro amps.. I even tried version 2S of attiny code which gives me a deep sleep current of 26 micro amps... The deep sleep current i mentioned above are attiny alone... May I know what board manager you are using for attiny( I am using Micro dude)... And how much current you get attiny alone while deep sleep??...
@MichaelParment
@MichaelParment Жыл бұрын
Is it not a problem to send 4.2v (fully charged battery) to GPIO (SWITCH_INPUT)?
@MrDIYca
@MrDIYca Жыл бұрын
In theory, it may, but based on my research and practical experience of using it on multiple doors/windows for years, it has proven to be a non-issue. Additionally, only a negligible amount of current leaks (high impedance) into the pin, and this occurs for a very brief duration.
@vishaltejwani940
@vishaltejwani940 2 жыл бұрын
had an idea , how do I reach you to discuss it for a better motion sensorsystem?
@MrDIYca
@MrDIYca 2 жыл бұрын
here is good.
@WillYork
@WillYork 2 жыл бұрын
Would you have any idea at what temperatures these are rated at? I have a shop outside and wanted to put some sensors on the doors. Last month it got down to -35F (-37C) without wind. THey would be out of the wind. The hub would be in a heated area so not worried about that. Thanks!
@MrDIYca
@MrDIYca 2 жыл бұрын
-37C is a bit extreme, we only see it once or twice a year here, even my car struggles to start. But it is good question. I will have to go back and check the datasheet for all the components. For now, I will leave one in the freezer and see what happens.
@WillYork
@WillYork 2 жыл бұрын
@@MrDIYca it's not common but it does happen every year. Last year we hit that mark for almost a month, it was pretty crazy
@blkhackr
@blkhackr 2 жыл бұрын
@@WillYork could the contact sensor be mounted inside, say at the top of the door. maybe with a small part sticking out to trigger the switch
@WillYork
@WillYork 2 жыл бұрын
@@blkhackr so it's a heated office inside an unheated steel building. Ideally I want a sensor on each door. I have shop equipment in the unheated part and electronics in the heated part so I'd want to monitor both.
ESP8266 as Window Sensor with years of battery life
17:57
MakerMeik
Рет қаралды 180 М.
CAN Gateway: Monitoring Cars Wirelessly!
8:02
MrDIY
Рет қаралды 140 М.
Accompanying my daughter to practice dance is so annoying #funny #cute#comedy
00:17
Funny daughter's daily life
Рет қаралды 19 МЛН
Do you love Blackpink?🖤🩷
00:23
Karina
Рет қаралды 20 МЛН
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 6 МЛН
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 115 МЛН
RFID Locks are way too easy to "Hack"! Let me show you!
11:41
GreatScott!
Рет қаралды 1,3 МЛН
You’ve Never Seen WiFi Like This
20:43
Data Slayer
Рет қаралды 1 МЛН
The Hub 3 - an ESPNow to Wi-Fi / MQTT gateway
6:45
MrDIY
Рет қаралды 17 М.
I tried the 3 Cheapest Arduino Alternatives! (That you Suggested)
13:21
ESP8266 Deep-Sleep, BME280 Daten über MQTT senden. | #EdisTechlab
8:42
Every Apartment needs this Upgrade! (WhatsApp/Telegram Notifications)
10:05
Accompanying my daughter to practice dance is so annoying #funny #cute#comedy
00:17
Funny daughter's daily life
Рет қаралды 19 МЛН