Skip to main content

Table 1 Command for the motion control of the stepper motor

From: Arduino-based wireless spectrometer: a practical application

Command

Motion

“1” or “q”

The rotating direction of the stepper motor changes to the right

“2” or “w”

The rotating direction of the stepper motor changes to the left

“3” or “e”

Stop the rotating motor

“4” or “r”

Rotate the stopped motor