Programming with the Intel Galileo - Stepper Motor

Опубликовано: 17 Июль 2026
на канале: Andrew Nava-Juarez
550
0

http://www1.cs.ucr.edu/faculty/philip...

Exercise 1: Rotating the motor
Use two buttons to rotate the Stepper motor clockwise or counter-
clockwise. Design a state machine that transitions between the eight phases.

Exercise 2: More Precise Rotation
Use six buttons to rotate the motor clockwise or counter-clockwise 90, 180, or 360 degrees

Exercise 3: Exact Rotation
Use the Serial Monitor to enter a desired angle for the motor to rotate clockwise.

Exercise 4 (challenge): Dual Direction
Expand upon part 3 of the lab by allowing the user to decide the direction of the rotation

Exercise 5 (challenge): Reset Position
Adding a key input to rotate the motor to a starting position. If the user submits ‘*’, the motor will return to the starting position.