top of page

Lab 7

  • Chandler Zastrow
  • Oct 11, 2016
  • 1 min read

In this lab we had to program stepper motors using a motor driver. We followed the tutorials on the web and added inputs to make the motor do certain things.

The first step was getting the motor to actually spin, which is displayed in the following video:

The next step was adding two inputs to affect the motor. The first input added was a switch to control when the motor would actually spin, as shown below:

The last step was adding the second input, which we used a potentiometer to control the speed of the motor, as shown below:

And here is the code:

It was a fun lab to say the least.


 
 
 

Komentarze


RECENT POST
bottom of page