Pages: [1]   Go Down
Author Topic: DC Motor Control  (Read 446 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: 39
Posts: 5557
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

I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 291
Posts: 25847
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." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Pages: [1]   Go Up
Jump to: