Controlling a stepper motor with computer

Click For Summary
SUMMARY

This discussion focuses on controlling a stepper motor to track a teacher's motion in a classroom using a webcam. The proposed setup involves an IR LED pen for tracking, with the stepper motor providing precise camera positioning. Stepper motors, particularly those with a 36:1 gear reduction, can achieve 1/400th of a degree accuracy and operate at over 20 RPM, making them suitable for this application. Alternatives such as servo motors are also mentioned, which offer faster response times but limited rotation angles.

PREREQUISITES
  • Understanding of stepper motor mechanics and specifications
  • Familiarity with motor controllers and drivers
  • Knowledge of IR tracking technology
  • Basic electronics for interfacing components
NEXT STEPS
  • Research "Stepper motor controller interfacing with PC" for setup guidance
  • Explore "IR tracking systems for motion detection" to enhance tracking accuracy
  • Investigate "Servo motor specifications and applications" for alternative solutions
  • Learn about "Gear reduction techniques in stepper motors" for improved precision
USEFUL FOR

This discussion is beneficial for robotics enthusiasts, educators implementing interactive technology, and engineers designing motion tracking systems.

Malhoosh
Messages
2
Reaction score
0
Hello all,

I want to control a stepper motor using the computer to track the motion of a teacher in a classroom. For example i might put a webcam on the motor and control the motor to keep the camera pointing to the teacher.

The teacher will be using a pen with an IR led at its top so that another IR camera locates where the teacher is on the board and this information is used to direct the stepper motor.

If I was able to convey my idea to you, my questions are:

1- Will a stepper motor be efficient for such a job ? I mean will it be accurate enough and give a fast response ?

2- What materials will I need to control the stepper motor in this case ? Any links that can be useful ?


Thank you
 
Engineering news on Phys.org
For a walk through try this:

http://www.cs.uiowa.edu/~jones/step/

Typical stepper motors are 1.8 degree per full step (200 steps per revolution). Various controllers allow 1/2 step, 1/4 step and higher resolutions for both unipolar and bipolar configurations. There are stepper motors with higher and lower step counts available. A typical PC controlled stepper motor involves a controller that interfaces with the PC and a driver that supplies the current to the stepper motor.

Stepper motors generally drive either a lead screw, belt or gear. In most cases accuracy, torque and speed are design parameters that can be achieved. With a 36:1 gear reduction on a 1.8 degree stepper motor, you could achieve 1/400th of a degree accuracy with a 1/2 step controller. It would be fairly trivial to rotate your camera with this precision @ over 20RPM if you decided that was required.

Fish
 
Have you considered servo motors?

These cover a rotation of 90 degrees but do it very quickly (much faster than stepper motors). They are used for radio controlled models and robots so they are available quite cheaply at Hobby stores.

They are driven by a pulse stream of 0.75 mS to 2.25 mS (depending on the angle required) every 20 mS.
 

Similar threads

Replies
3
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K