-->
Page 1 of 1

Problem using ESP-01 with relay module

PostPosted: Fri Jul 03, 2020 11:25 am
by BrunoPedro
Hello!

Sorry to bother, but I have a problem.
I'm using an ESP8266 (ESP-01) to control a relay module with MQTT (cayenne mydevices).

The relay module is this one:
https://robotdyn.com/relay-module-1-relay-5v-30a.html

I managed to connect the ESP-01 to website, powering with this breadboard power supply:
https://www.amazon.co.uk/Breadboard-Pow ... B00BXWV2F6

And I managed to turn on eletrical load (by relay) and turning it off, but after that the ESP-01 turns off and doesnt respond.
I'm using this connections->
ESP-01:
VCC to 3.3V (of breadboard)
GND to 0V (of breadboard)
CH_PD to 3.3V (of breadboard)
GPIO2 to In of relay
Relay:
VCC to 5V (of breadboard)
GND to 0V (of breadboard)
IN to GPIO2 of ESP-01

Any solutions?