Bolt WiFi Module Is Unable To Switch The Relay's Input

I am using a 5V Relay. But to my surprise I am witnessing that the Module just makes the Relay module high through the digitalWrite command. And then if I try to set the input to LOW via any write command then it doesn’t switches.

If at the first go, I use digitalWrite() function with LOW attribute then it does that but after that it doesn’t switches to HIGH even if I give 10 commands. Why is it so?

But it is not able to turn the relay off. Why is it so?? I also connected the relay with Arduino and in that case the Arduino seemlessly turned on and off the relay!! Can anyone help?

Figured out the solution guys :slight_smile:

@vishalvats2000

I believe you have figured out that using digitalRead will turn off the relay. If you have any alternate solution, do share with us.