I want to control two gate motors from my arduino, now i have been doing some reading and played around a little bur with circuits on abread board,
But now i want to build the real thing full scale.
i want help on what components to buy. I have attached a simple paint drawing of what i want to achieve.
I want the motor control circuit to work with 12v and 9v as i may want to make a few and also use it for another project,
I would also rather OVER build it, so that it can work for MANY amps and also smaller amps (if that's possible) i dont see why not?
I need the motor be able to go in both directions. (in my drawing i have used one input from arduino, but now thinking im gonna need two to control both relays)
I have also not included what eva diodes i need to connect as i dont know much about that..
These use relays with changeover contacts (most relays are of this type), either SPDT or DPDT.
The relay coils must have flyback diodes across them (or you will destroy the circuit with the high-voltage inductive pulse at switch-off).
If the relay(s) take more than 25mA or so you will need a transistor to amplify the current from the Arduino pin - Arduino outputs cannot tolerate 40mA or more, you again risk destroying the device. There are many examples of how to drive relays around. You will need to find a relay that can handle the output current (with a good safety margin), then choose a way to drive its coil.
Zapnologica:
i want help on what components to buy. I have attached a simple paint drawing of what i want to achieve.
Your drawing is not correct. You need either two SPDT relays that "switch" power, or you need four SPST relays in a "H-bridge" configuration, or you need four MOSFET power transistors in a "H-bridge" configuration.
Also, you probably want two control inputs: One for "go or stop," and one for "direction." If you use MOSFETs, you can also control speed with the go/stop input, by using PWM.
The TLE5206 is a 5A H-bridge through-hole part that might work for you: http://search.digikey.com/us/en/products/TLE5206-2S/TLE5206-2S-ND/1283081
It takes the place of the relays, assuming the draw of the motors is less than 5A on average.
You will need a heat sink for draws over about 2A or so, but TO-220 heat sinks are easy to find