5V Relay on pycom
robert-hh last edited by
@kebson What kind of relay is that? In any case, you need a switching transistor (like a simple N-Channel Mosfet [e.g. 2N7000]) and a flyback diode [e.g. 1N4148]) to switch the 5V the relay needs. There are some modules which have that integrated, but the circuitry is so bad designed that it still needs a 5V level to fully switch.
timh last edited by
@kebson You will need to check the specs of the relay to see what voltage and current is required to actually hold the relay closed.
ESP32 details can be found here