-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Your circuit with self wake up #40
Comments
https://github.com/chaeplin/esp8266_and_arduino/tree/master/_48-door-alarm-deepsleep check circuit, RST is only tied to a TR. |
Yes I know, I understand your circuit, I was wondering if you had any idea as how to modify it to be able to wake esp by software as well as by hardware? |
As I understand it with your setup you can only awaken the device via external event by opening reed switch, from deep sleep that is? |
check my test graph, it works. change R and C . |
as 16 is not tied to RST, wakeup only works with external trigger. |
I guess this is exectly what i need. I'm using a WeMosD1 with DHT22 (temperature and humidity) sensor. Now I want to connect a door contact (breaks when door opens) and a pir (motion) sensor. So i am about to implement your setup, because i will need an external trigger. But combined with the above! Could you tell if this setup would work? I'm waiting for my parts to arrive before i can test this. Cheers! |
I combined chaeplin's monoflop with Marmachine's idea to connect GPIO16 with RST with a resistor. In my setup I had to use a 2K. Now it works! The NodeMCU I am using wakes up from DeepSleep via GPIO16-RTC-signal and via an external interrupt from my proximity sensor (Adafruit VCNL4010). Thanx guys! |
Hi chaeplin, thank you for this great circuitry.
I'm having issues making it work while also maintaining the ability to wake my device by software as well as an external event.
By using your circuit for the door alarm combined with a direct connection between gpio16 and rst I cannot wake my device from deep sleep with the reed switch.
I've deducted from various testings that the issues are with voltages. I can reset my device with your circuit as long as my esp is awake because the voltage at rst is held at 3.19V directly tied to gpio16. When the esp sleeps, voltage at rst is 3.3V and your circuit does not work anymore. I thick this somehow blocks rst from being grounded through the circuitry you have provided.
I've been thinking of adding a voltage divider between my gpio16 to rst connection to mimic the voltage I measured at rst while my esp is awake.
Do you think this is a valid solution or have I misunderstood it all?
See my sketch:
https://www.dropbox.com/s/141j6c6skuilrls/20170425_195826.jpg?dl=0
I'd appreciate your help, what I need is simple in concept, my esp to be able to awake by itself a well as upon a door being opened(Reed switch)
The text was updated successfully, but these errors were encountered: