• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP8266 deep sleep with door sensor

Q&A Forum › Category: ESP8266 › ESP8266 deep sleep with door sensor
0 Vote Up Vote Down
Teodor Birca asked 5 years ago

Hello,
 
i’m looking from some time for a reliable solution for a door sensor.
I’m using wemos D1 board and i’m interested in more info how to wake up from sleep the esp only when the door is opened not at a specific time interval.
I’m having pain now trying this solution https://www.instructables.com/id/ESP-01-Motion-Sensor-With-Deep-Sleep/ i replaced the PIR sensor with the door sensor … can anybody point me in a right direction pease?
 
Maybe some of you have a schematic or some info that could help me proceed further with my project ? 
 
thanks in advance
Teodor

Question Tags: Deep sleep, door sensor
5 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 5 years ago

Hello Teodor, have you tried this tutorial? https://randomnerdtutorials.com/door-status-monitor-using-the-esp8266/
It should do exactly what you are looking for…
Regards,
Rui
 

0 Vote Up Vote Down
Teodor Birca answered 5 years ago

Thanks for quick answer but your tutorial doesnt have deep sleep. My main question was how can i run a door sensor in deep sleep without timer. The ESP should wake up only on door open, thanks

1 Vote Up Vote Down
Rui Santos Staff answered 5 years ago

Hello Teodor, you’re right. I wanted to send you this project instead: https://randomnerdtutorials.com/esp8266-wi-fi-button-diy-amazon-dash-button-clone/
Basically, instead of a pushbutton you could connect a Reed switch that restarts the ESP when it closes or opens the door. Then, after sending the request it goes to deep sleep.

0 Vote Up Vote Down
Teodor Birca answered 5 years ago

thank you so much Rui, this is exactly what i need it and is easy to customise to my needs,
 
Teodor

0 Vote Up Vote Down
Rui Santos Staff answered 5 years ago

You’re welcome. I’m glad it helped!

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.