Go Down

Topic: Arduino circuit with 2 switches and two 12v dc motors (Read 971 times) previous topic - next topic

Hi there,

I need to get hold of a very basic circuit that will use the arduino board to drive two 12v dc motors, the circuit also needs to have two on/off switches one for each motor.

JimboZA

First have a look at this which will show you how to use a switch

Then, here you can see how to drive a dc motor.

Then think about how to put the two together, and how to double up for two switches and motors.
"Could you do the egg bacon spam and sausage without the spam then? "

No PMs for help please.
DO NOT power servos from Arduino 5V: give them their own power and connect the grounds.

Hello,

Okay thank you. I've had a look at the pages, I understand the components themselves but need a hand in terms of a schematic and how to put them together.

Thank you

JimboZA

#3
Mar 12, 2013, 05:37 pm Last Edit: Mar 12, 2013, 05:43 pm by JimboZA Reason: 1
Well, instead of turning on the LED, think that that pin could be the one that connects to the transistor and turns the transistor on and off.

So basically, to drive one motor, you could use the sketch that drives the LED, along with its switch, but amalgamated with the circuit of the transistor / motor to connect to that pin and Voila!

Then have a think about how to do it for two.

Edit.... This site is very good as a place to start on the electronics, especially of the components.
"Could you do the egg bacon spam and sausage without the spam then? "

No PMs for help please.
DO NOT power servos from Arduino 5V: give them their own power and connect the grounds.

Go Up