Loading...
Pages: [1]   Go Down
Author Topic: DC Motor Control  (Read 247 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi there, I am trying to build a project that involves two screwjack type devices and wish to know if there is any way I can get the motor to stop when it reaches the end of the screwjack? i.e using resistance or increased load on the motor e.t.c and then be reversed to do the same in the opposite direction? Any help would be appreciated..
Logged

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 27
Posts: 5078
Where's the beer?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

This old thread should help you, particularly zoomcat's link:

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1290399372

Basically, this implements simple limit switches; you would want to modify thing to sense the switch closure with the Arduino, and stop, pause, then reverse the h-bridge controlling the motor (you -do not- want to instantly reverse the motor; this can possibly cause damage to the motor, gear-train, and perhaps even the h-bridge depending on its design).
Logged

Global Moderator
UK
Online Online
Brattain Member
*****
Karma: 137
Posts: 19007
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There are some good app notes on the Microchip website on stall current detection for things like car window motors.
Of course, you'll have to replace PiC with AVR
Logged

Pete, it's a fool looks for logic in the chambers of the human heart.

Pages: [1]   Go Up
Print
 
Jump to: