ESP8266 NodeMcu turns on All my relays when powered on?

Please help me what should i do,
When I power on the nodemcu board It turns on my all relays.
Whats the problem is?

You should add pinMode and digitalWrite statement to your void setup to resolve this.
You should also ensure that you are using appropriate pins for your relays…

Pete.

There are only 2 low pins on NodeMcu at start :stuck_out_tongue_winking_eye:
GPIO4 and GPIO5

Pins HIGH at Boot

GPIO16
GPIO3
GPIO1
GPIO10
GPIO9

Pins used during Boot

  • GPIO16: pin is high at BOOT
  • GPIO0: boot failure if pulled LOW
  • GPIO2 : pin is high on BOOT, boot failure if pulled LOW
  • GPIO15 : boot failure if pulled HIGH
  • GPIO3 : pin is high at BOOT
  • GPIO1 : pin is high at BOOT, boot failure if pulled LOW
  • GPIO10 : pin is high at BOOT
  • GPIO9 : pin is high at BOOT