I just completed a project with Esp8266 NodeMcu + Blynk.
I am using NodeMcu with two - 5v relay to switch on or off via blynk. I have connected 5v power supply to Vin pin in NodeMcu and the same to power up my relay board.
The following are the issues:
Once I connect to the Wifi and open up Blynk prog, the relays trigger on ( High ) even before I push the switch on the Blynk app to switch on. I have tried both options of “1” and “0” on the Blynk app and result are the same. I need to keep relay “LOW” so they don’t turn on automatically. Can’t figure out the issue. Any help on this will be helpful.
While Node Mcu is trying to connect to the Wifi, I need a LED, (connect to any other pin on the Node MCu) to stay ON and once connected the Led should turn " OFF". I was unable to use pinMode, or assign the LED to a particular pin on NodeMcu as “OUTPUT” either. Anything I am missing out.
Thanks in advance