I bought this 5 volt modules and want to manage this board from my ESP32 devkit v1-doit:
aliexpress
I shall power ESP32 using AC-DC adapter
You wrote that ESP32 has voltage regulator.
Can I power ESP32 using VIN and GND pin and dlivery to this pin 5 volt ?
Please, advise me, how I can convert 3.3volt 4 chanel from ESP32 to 5 volt input signal for relay board ?
Hello Gayrat,
You can power the ESP32 with an AC-DC adapter that outputs 5V through the microUSB input. Then, you can use the ESP32 Vin and GND pins to power the relay module.
To control the relays in the In1-In2-In3-In4 pins, you can use the ESP32 GPIOs, because even though they only output 3.3V they can control the relays on/off.
Thank you for answer!
I’m try to test it, but relay don’t open (only led is lighting).
Do you use logic converter level? :
aliexpress
You shouldn’t need a logic level converter, because it looks like your relay module already has optocouplers.
Can you try to turn the relays on and off with an Arduino board?
Just to see if with your particular relay board requires 5V signals in the IN pins to actually turn the relay on.
If it needs a 5V signals, you’ll need to use a logic level converter as you suggested.