Could some help me with this question. It's driving me nuts as I am new to electronics.
I have a ESP8266 Wi-Fi board. I have connected it to a Single relay.
My question is, on my ESP board I have connected to pin 4 for the data and I have done this because I wanted to see the LED light up when I switch it on. This works! But, when I connect to pin 1 on the Relay, the LED on the relay is ON when the ESP pin4/LED4 is OFF and if I switch the state of pin 4, then the RELAY LED goes OFF but the ESP LED goes ON.
Is this correct? I was hoping for the Pin4 on the ESP to switch on and the Relay LED to also switch on at the same time. Then visa versa.
Thanks for your help in advance.