Comments (7)
I believe I have figured out the root cause. GPIO16 has a pull down resistor, which GPIO2 does not. So it seems that it's required to hard-wire GPIO16 to the reset pin directly on the board, unless we find some other way with an external circuit.
from sonoff-tasmota.
As I don't want to solder stuff to my ESP-01 module: I assume that the default state of GPIO16 is floating to allow the module to pull RESET high.
Once wakeup is triggered, the device should trigger the RESET by pulling GPIO16 low, which triggers the reset and GPIO16 is in floating again. Is that assumption correct so far?
from sonoff-tasmota.
The deepsleep on the esp8266 is hardwired to send the wakeup signal on D0 GPIO16. You cannot trick around this. Why do you have no access to it ? Just connect an additional wire with a small 10k resistor to it. But I thin RST and GPIO16 can also directly wired without a resistor
from sonoff-tasmota.
In my Firmware you can define a deepsleep GPIO, but this is just for enable/disable with a switch that the device go into deepsleep. It has nothing to do with the wake up.
from sonoff-tasmota.
Why do you have no access to it ?
The ESP-01 modules do not break out GPIO16. If this was an one-off project I'd solder the wires, but I plan on deploying 10 ESP-01 modules (which I actually have in stock, so I don't intend to buy other ones) so modding each of those is quite some task.
I think this issue can be closed, but I'd appreciate a link from the repo's README to this issue to help others having a similar issue.
I think I'll play around with it, maybe an external 555 software triggered reset circuit would work. Just prior the regular deepsleep, the firmware could send a signal on one of the regular GPIOs to start the timer, which then triggers the reset. It's a workaround, but I feel it's better than to solder wires to 10 ESP-01 modules ;)
from sonoff-tasmota.
http://www.instructables.com/id/Enable-DeepSleep-on-an-ESP8266-01/
from sonoff-tasmota.
I added an article on hackaday to the initial comment with a tl;dr regarding deep sleep on ESP-01 modules.
from sonoff-tasmota.
Related Issues (20)
- SetOption80 1 HangUp the Device HOT 13
- Can´t connect to WIFI after upload your Firmware HOT 2
- SHUTTER50PERCENT not work HOT 7
- Erratic Behaviour when Slow Blinds - includes fix HOT 1
- Dim the lights in the switch? HOT 6
- Shutter dead time support HOT 11
- Vcc in state HOT 3
- Alexa Dimming doesnt work HOT 4
- PCF8574 on master HOT 2
- PCF8574: ports on at startup HOT 9
- MQTT Report during movement HOT 1
- DeepSleep consumption HOT 1
- MQT: TLS connection error: 0 HOT 4
- Calibration 2nd shutter HOT 1
- Shutter with LC-TECH X2 in mode 1 allows changing direction without power removal HOT 5
- MQT: TLS connection error: 0 HOT 1
- Mq sensor
- Sonoff touch TX T3 Us
- upgrading from Sonoff-Tasmota 6.5.0.11 stb-1.5 by Theo Arends HOT 7
- Shutter - inverse mode - slider not correct HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sonoff-tasmota.