Setup and Code for the Stepper Motor Test

Hey guys!

In my last post, I showed some problem solving I used to get my motor driver board working properly. In this short post I just wanted to share with you my test code as well as a diagram of how the Adafruit TB6612 1.2A DC/Stepper Motor Driver Breakout Board is wired to the motor and the Arduino.

Motor Setup

The code is set up so that I have a potentiometer connected to my analog 3 pin to change motor speed, and a simple press button connected to digital pin 8 to turn on the motor when I hold it down. If you would like, I can add diagrams of how those are connected as well.


Leave a Message!

Your email address will not be published. Required fields are marked *