SentinelAeon
Member
Hello,
I am trying to control relay with my ESP8266. I use this board:
**broken link removed**
I tried running it directly from ESP8266 and it works fine, but draws 0.12A which is more then ESP8266 is rated for (0.02A). I tried powering the relay with external power and controling it with ESP8266 but it simply will not work. The only time it worked was when i connected the external power ground with the ground on ESP8266. I do not understand why i need to do that.
Anyway the way i see it i got a few options and would like you to comment on that:
1) i simply use 3.3V from ESP8266 to power the relay and hope it doesnt burn. I seen online many video of ppl directly powering the relay board with esp8266. Any chance of not burning esp8266
2) have the grounds of external power and esp8266 connected. While it works it has 2 problems. Connected like this code will not upload to esp8266 until i disconect the grounds. Its inconvinient but not much problem. What bothers me is that when i have it connected like that, the power on relay shines less bright when the relay is opened. Dont know why.
3) use 5V pin on esp8266 to power the board which is made for 3V. That 5V pin allows much more amperage so it would run the relay board no problem. My question is, will 5V damage this relay board ?
4) same as above but i use stepdown to convert voltage from 5V to 3V. That would be simple enough and so far seems like the best option.
Also i would like to know why ground of esp8266 and whats powering the board has to be connected, any thoughts ?
I am trying to control relay with my ESP8266. I use this board:
**broken link removed**
I tried running it directly from ESP8266 and it works fine, but draws 0.12A which is more then ESP8266 is rated for (0.02A). I tried powering the relay with external power and controling it with ESP8266 but it simply will not work. The only time it worked was when i connected the external power ground with the ground on ESP8266. I do not understand why i need to do that.
Anyway the way i see it i got a few options and would like you to comment on that:
1) i simply use 3.3V from ESP8266 to power the relay and hope it doesnt burn. I seen online many video of ppl directly powering the relay board with esp8266. Any chance of not burning esp8266
2) have the grounds of external power and esp8266 connected. While it works it has 2 problems. Connected like this code will not upload to esp8266 until i disconect the grounds. Its inconvinient but not much problem. What bothers me is that when i have it connected like that, the power on relay shines less bright when the relay is opened. Dont know why.
3) use 5V pin on esp8266 to power the board which is made for 3V. That 5V pin allows much more amperage so it would run the relay board no problem. My question is, will 5V damage this relay board ?
4) same as above but i use stepdown to convert voltage from 5V to 3V. That would be simple enough and so far seems like the best option.
Also i would like to know why ground of esp8266 and whats powering the board has to be connected, any thoughts ?