
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Project; Class: Emb Microcontroller Dsgn; Subject: Electrical & Computer Engr; University: Georgia Institute of Technology-Main Campus; Term: Unknown 1989;
Typology: Study Guides, Projects, Research
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Project Six Stepper M otor Control - Part Two Page 1 of 1
Complete by: Friday February 13 th; for an A+
Objective
For this project you are to again use the pot to set the stepping rate and the LCD to display it. Now however, you are to have the stepper motor take 800 steps CW (i.e., exactly 4 revolutions), pause for 3 seconds, take 800 steps CCW, pause for 3 seconds, and repeat this process indefinitely.
During, and only during, each 3 second pause, check the pot each 0.1 second and use the resulting value to update the LCD. Only at the end of the 3 second pause are you to update STEPCNT, the value used during the stepping interval by the high-priority interrupt service routine.
This procedure will give you a definitive view of when stepping becomes erratic because of stepping too fast. Note that this is a more stringent test of maximum stepping rate because you are no longer able to edge up to the maximum rate. Here the motor goes directly from a dead stop to maximum rate. And it goes directly from maximum rate to a dead stop.
Before starting stepping, move the stepper motor pointer (by hand) to the straight up position so that you can gauge whether the motor has returned to that same position after taking 800 steps.