I just bought an ESP32 Wroom Module and 5 pieces of 5V Low Level Relays from AZ-Delivery.
Now i connected 5V and Ground from the ESP32 to 5V + and GND - on the Relay, I see now the red light is now lightened up. In the software i programmed GPIO 27 for controlling the relay.
So, as soon as i plug in the cable from GPIO27 to the IN of the relay, the green light is lightened up and i can hear the relay clicking. but the strange thing is, even when the GPIO27 is LOW (110mv measured) or HIGH (3.3V measured) the relay always stays active (green light active).
How can this be possible? does it mean the relay is so sensitive that it even reacts on the LOW state with 110mv?
below you can find a picture (layout) of my current setup, but i dont use the 5V external power supply.
I am sorry it’s pin 27, in the layout its the wrong pin 12 . So, according to that it looks like the voltage is too low according to the relays needs ? There should be a transistor to pump the 3.3v up to 5v ?
It looks like there is a transistor on the relay board, but without a data sheet, or reverse engineering the board, it is anyone's guess how it is wired.
Connect just the relay to 5V and GND, measure the voltage on the IN or SIGNAL pin with your multimeter and let us know what you find.
Also, if the relay activates when the IN pin is not connected, it is probably defective.
Not strange at all. This relay module seems to have a PNP transistor instead of the more common opto or NPN transistor. That means the relay only switches off when the IN pin is 5volt.
So not a 3.3volt-logic compatible relay module.
Leo..