2x 8 Channel Relay Trigger

Hello, I have a Arduino Mega 2560 and I'm attempting to control two 8 Channel Relays. I'm using these relays: https://www.amazon.com/JBtek-Channel-Relay-Arduino-Raspberry/dp/B00KTELP3I

Currently, I am trying to run both relays off of a single mega. However, the relays do not trigger.

I have wired the VCC pin on each relay to two 5v pins on the mega, and grounds connect to a separate ground pin on the mega.

I had a single relay working previously, so I know the relays work. But now they don't seem to be powering.

I attempted to take measure the voltage off the pins, which appeared to be only 1.1v.

I'm going to attempt to use separate power, however, even with one relay connected, I'm now still not getting trigger on the relays.

If anyone has ideas how to make this actually work. I'm open to suggestions.

USB supply or Arduino's onboard supply can't power more than two relays at the same time. You must use a separate supply to power the relay boards. A separate supply can also give opto isolation if connected right.

Remove the JD-VCC jumpers. Connect a 5volt/1.5Amp supply to the JD-VCC connectors(+) and the grounds(-) of the relay boards. A 5volt/1.5Amp or 2Amp tablet supply/charger could work. Connect the two VCC connectors (not JD-VCC) to the Mega's 5volt pin. Connect the 16 inputs to 16 output pins. [u]DO NOT[/u] connect relay ground to Mega ground. Ground has no function here. And if you share ground, you don't have opto isolation.

Do this in void setup() digitalWrite(relayPinOne, HIGH); digitalWrite(relayPinTwo, HIGH); etc. pinMode(relayPinOne, OUTPUT); pinMode(relayPinTwo, OUTPUT); etc.

This stops relay chattering during bootup.

These boards use inverted logic. A HIGH is relay not active, a LOW is relay active. Leo..

Wawa: USB supply or Arduino's onboard supply can't power more than two relays at the same time. You must use a separate supply to power the relay boards. A separate supply can also give opto isolation if connected right.

Remove the JD-VCC jumpers. Connect a 5volt/1.5Amp supply to the JD-VCC connectors(+) and the grounds(-) of the relay boards. A 5volt/1.5Amp or 2Amp tablet supply/charger could work. Connect the two VCC connectors (not JD-VCC) to the Mega's 5volt pin. Connect the 16 inputs to 16 output pins. [u]DO NOT[/u] connect relay ground to Mega ground. Ground has no function here. And if you share ground, you don't have opto isolation.

Do this in void setup() digitalWrite(relayPinOne, HIGH); digitalWrite(relayPinTwo, HIGH); etc. pinMode(relayPinOne, OUTPUT); pinMode(relayPinTwo, OUTPUT); etc.

This stops relay chattering during bootup.

These boards use inverted logic. A HIGH is relay not active, a LOW is relay active. Leo..

Thank you so much, I've taken an old USB charger based on your suggestions above.

One other general question though: The Arduino is no longer able to trigger the relay board. How do I safely check for damage on the Arduino and relay board? I read that using multimeters on the Arduino could damage it.

Not a problem to measure the pins with a DMM. How do you supply the Mega.

You could start by measuring the 5volt pin. Then load a sketch, like "blink" from the examples in the IDE. Change the pin number, and see if the pin goes high and low.

Post your relay sketch and a picture of the setup. Maybe we can see if there is something wrong there. Leo..