- Mon Aug 24, 2020 11:31 am
#88465
I'm really, really starting to get super frustrated, as I steal you guys so much time and it is not working...
None of these two methods worked. With @schuftis method, The ESP won't even boot. It just blinks once and that's it. I guess because of the constant 3V3 on EN? I don't know...
And @btidey: What you mean with "So what you need to do is put a resistor (e.g 100K) on the EN side of the switch to 0V so that when the switch is opened then the EN signal will get pulled to 0V fairly quickly." is what I attached (doorbell_v2.png)?
That also doesn't work unfortunately, zero reaction.
So no matter if I choose what I initially drawn (just with the connection behind the 1st resistor
) nor what @btidey suggests triggers ZERO reaction on the ESP... I'm also attaching my code, maybe you spot an issue (of course only if you want! I bet I blocked your time enough already... I'm sorry!).
Maybe, it is just my test setup and in the real setup it just works... I will give it a try...
The real setup is a doorbell / doorphone:
http://www.deh0511.de/twinbus/.
See "doorbell_v1.png" attached.
I'm connecting to the Pin 4 (EXT) and Pin 3 (GND). Whenever somebody rings the door, there is 5V on Pin 4. And that's what I'm basically trying to simulate with my switch.
My current setup is is also attached. It's pretty simple: In code put GPIO 4 PULLUP, and I'm using the 5V on door ring to switch a transistor that will pull the GPIO4 to GND. That perfectly works fine. Only issue as I posted: The ESP8266 runs forever / endless loop, eating battery...
I'm really out of ideas what I'm doing wrong and why I can't get it to work... I'm just hoping for a code issue or something
Thanks so much again! Also thanks if you still try to help me
You do not have the required permissions to view the files attached to this post.