Pages: [1]   Go Down
Author Topic: DC Motor Control  (Read 467 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
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..

Phoenix, Arizona USA
Offline Offline
Faraday Member
Karma: 40
Posts: 5594
Where's the beer?
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

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).

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
Offline Offline
Brattain Member
Karma: 309
Posts: 26485
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

"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: