Configuration of D3 & D4

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Tobi993
Normal user
Posts: 18
Joined: 08 Nov 2017, 08:03

Configuration of D3 & D4

#1 Post by Tobi993 » 13 Aug 2020, 11:06

Hello together

Does anybody knows if D3 and/or D4 is configurable as input that does NOT react at low condition to serial programming mode?
Or is it factory default setting which we can't modify?

Thanks!

TD-er
Core team member
Posts: 9900
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Configuration of D3 & D4

#2 Post by TD-er » 13 Aug 2020, 11:15

See the documentation: https://espeasy.readthedocs.io/en/lates ... on-esp8266
If those pins are pulled low while the node boots (e.g. due to a crash), then it will boot into "flash mode".
I am not aware of any changes possible to prevent that.

Tobi993
Normal user
Posts: 18
Joined: 08 Nov 2017, 08:03

Re: Configuration of D3 & D4

#3 Post by Tobi993 » 13 Aug 2020, 12:18

OK, unfortunately I thought that!
But after booting, I can use it as normal input to detect High and Low

TD-er
Core team member
Posts: 9900
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Configuration of D3 & D4

#4 Post by TD-er » 13 Aug 2020, 14:48

Yep.
On Sonoff units GPIO-0 is always (??) connected to the push button.
Just make sure it isn't pulled down unintentionally.
So a push button is OK, or the output signal to a sensor.
You can even use it as input from a sensor, as long as this sensor isn't sending data without being asked for. (e.g. a GPS does send data continuously)

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests