Push button only start low Nodemcu esp8266

Sorry if it has been similar issues before, I couldn’t find anything related.
I won’t put my code, 'cause is the ide’s example for the nodemcu and the board side works ok.

I need to activate a couple of relays, and to do so, I need to ground their line in.

Made a push button on blynk, and everything works like a charm.
EXCEPT when it connects.
As soon as it connects, each digital pin I put on blynk starts LOW and activates the relay. But as soon as I press the button, when I release, it goes. Back to high, and start working properly.

If it wasn’t something important, I’d just leave it be. But if the power line stops for a second, on connecting, the relays will be full on.

How can I adjust the start value of the digital pin, when it goes online?

I’d suggest switching to virtual pins instead…

Pete.

1 Like