Hello i have an Arduino Leonardo and i want to connect 2 Relays on it.
I want to ask if it better to connect 5v in 5V and GND pins or it is better to connect 5V power supply in power socket next to on LED and after to connect Relay's VCC to 5V pin.......
Basically i don't know if my second option is correct....cause is my first time using Arduino
Check data sheet of relay your using.
Depend on coil voltage give supply.
controll voltage will be 5V . digital IOS you can give if you using transistor based or optocoupled circuits
My question is how you energizing relay. with opto couple based circuit or transistor based circuit
optocoupled based
relay based
for coil voltage you need to refer model you have ordered. On relay top mentioned coil voltage and contact volatage. As per data sheet relay module avilable in 5v/12v/24v