I´m planning a new project where I need to control 16 I/O buttons.
So I decided to use 2 shift registers 74HC595 (breakouts) + 2x 8 relay modules.
Because I´m pretty new to this electronic world I went through different tutorials. But I´m still confused how to connect all together.
Each shift register has 8 outputs so each shift register will be connected to one relay module.
But what ground and VCC?
I will run the 8 relay module with seperated power supply so the arduino doesn´t need to power supply the relays.
I hope someone can help me with this "simple" problem.
Do NOT connect relay ground to Arduino ground.
If you do, you don't have opto isolation.
Remove the JD-VCC jumper
Connect relay VCC (next to input 8 ) to Arduino 5volt.
Now you should be able to activate the relay indicator LEDs by writing LOWs to the pins.
Connect a separate 5volt supply to JD-VCC and relay ground.
The same relay supply can be connected to the second relay board's JD-VCC and ground.
Those relays use 75-80mA each when active, so use a 5volt/1.5Amp (minimum) regulated supply.
A 5volt tablet charger might do.
Leo..
Wawa:
Do NOT connect relay ground to Arduino ground.
If you do, you don't have opto isolation.
Remove the JD-VCC jumper
Connect relay VCC (next to input 8 ) to Arduino 5volt.
Now you should be able to activate the relay indicator LEDs by writing LOWs to the pins.
Connect a separate 5volt supply to JD-VCC and relay ground.
The same relay supply can be connected to the second relay board's JD-VCC and ground.
Those relays use 75-80mA each when active, so use a 5volt/1.5Amp (minimum) regulated supply.
A 5volt tablet charger might do.
Leo..
Thanks for your fast reply.
I adjusted my painting.