Loading...
Pages: [1]   Go Down
Author Topic: DC Motor - starting out  (Read 283 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 15
I love YaBB 1G - SP1!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello All,

I am new to Arduino and PhyComp but have my Arduino up and running and have been playing around with a few of the tutorials. Now what I want to do is control a small DC motor, as an Analog out, with a variety of speeds, but do not need to reverse the direction...

How do I set this up? - I believe motors feedback to the circuit which can damage things? Any advice or photos appreciated...

Thanks!



Logged

Daniel
Guest
 Bigger Bigger  Smaller Smaller  Reset Reset

hey,

you need two things: a driver circuit to flip the polarity of the motor connections ( to change the direction) and something to tell the motor what speed to go at.

The standard way to drive  a motor in reverse and forward is called an "H bridge". There is a simple one
here. It will actually drive two motors in both directions. A Dout pin will tell the motor which way to go.

The same board takes an input pulse to determine the speed. this is a digital PWM pulse that is generated in the Arduino-- you would not want to use an Aout pin. If you read up a bit on PWM motor control, you can then easily modify the RC servo code for the arduino to drive your motor at variable speeds.  
« Last Edit: March 06, 2006, 07:15:57 pm by Daniel » Logged

Bartlett University London
Offline Offline
Newbie
*
Karma: 0
Posts: 28
Physical Computing is the next Darts
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Can someone recommend a cheap/good H-bridge in the UK?
Logged

Pages: [1]   Go Up
Print
 
Jump to: