Im having troubles with my Arduino project.
I use an Arduino Mega 2560 for powering a relay board. With the digital output set to HIGH, the Arduino delivers 4.9 V, as normal. With the relay board connected, only 1.08V can be measured. This is always exactly the same value.
I decided to make the simplest setup possible, and set 1 relay at the time. Still had the same result.
The Arduino was powered by a 9V power supply, so delivering the voltage should not be a problem.
For powering the relay board, I just connected it to the power pins of the Arduino.
The code I used for the testing was this:
void setup() {
// put your setup code here, to run once:
Serial.begin(9600)
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(52, HIGH);
delay(2000);
digitalWrite(52, LOW);
digitalWrite(50, HIGH);
delay(2000);
digitalWrite(50, LOW);
digitalWrite(48, HIGH);
delay(2000);
digitalWrite(48, LOW);
}
At the moment, I can't find the exact specs of the relay board.
But I did use the same Arduino for powering 12 of these exact relays at the same time.
Powering one of them shouldn't be any problem at all.
It's still not clear what power source you're using.
Also, it seems that you're using the 5V output of the Arduino board as the power source for the relay board. That's not going to work well; as soon as you start turning on a few relays, the voltage regulator on the Arduino will overheat and throw in the towel.