You have an AC relay switching DC power? That's not a good idea.
What is the PWM (rapid switching of power on and off) actually controlling? Not the relay, I hope.
I'm using the 5V onboard power to provide power to all 3 DC motors by shorting all relay load(power) ends together in a breadboard.
What, exactly, are the relays doing?
The Arduino will not provide enough power to power 3 DC motors, unless they are incredibly tiny. Even most of the tiny, no-power motors draw too much current.
The board has a max output current of 40mA.
The DC motor each needs at least 2A of current for them to spin
So i used the relay(Which worked with 1 DC motor) to 'step up' the current to spin the motors
Now i need to spin 3 motors. Each motor is running at 4.5V 2A. I am connecting each ends of a DC motor to a relay and the relay is connected respectively to a load and PWM signal.
Thats the link for my sketch. If u cant view it.Please provide me your email and ill send it over. Thanks for the help
I am connecting each ends of a DC motor to a relay and the relay is connected respectively to a load and PWM signal.
WTF!!!
You can't connect a PWM pin to a relay and expect to do any good. You can't power a relay coil direct from an arduino, you need a transistor. You also need a diode across the relay coil.
Ive tested with 1 dc motor and a relay connected with the arduino and it worked perfectly (one direction) i didnt see any faults with the connections either.
Ive tested with 1 dc motor and a relay connected with the arduino
So with a relay connected directly to an arduino?
and it worked perfectly
What sort of this was this? Was it just a functional test or a parametric test. If you have connected a relay coil direct to your arduino you have almost certainly damaged it. It might still function but probably not for long. Do you know the current the coil is pulling? Anything 40mA or over has damaged it.
Also why are you posting a hardware question here. look at the top of the page and it clearly states:-
Using Arduino with other software (Processing, Flash, PD, MaxMSP, etc.)
This section is NOT for the software problems you get when interfacing hardware!