Top

Channel Stepper Motor Test Code – For Arduino/Genuino

$0.00

This code will cause the Arduino/Genuino to propagate continuously through a list of channels to point your stepper motor to a transmitter antenna.  A list of channels in the United States and corresponding angle relative to your location can be found on a number of sites such as AntennaWeb and the on the FCC website.

Description

This code/sketch drives a bipolar stepper motor. The motor is connected to the Arduino board via a A4988 motor driver that is connected to pins 3-5 of the Arduino.

The Arduino/Genuino will propagate continously through the channel numbers in the myChannelNum[] array to point your motor to match the angle in the myChannelDegAngle[] array.  A list of channels in the United States and corresponding angle relative to your location can be found on a number of sites such as AntennaWeb and the on the FCC website.

Copyright © 2011-2019 C. A. Lettsome Services, LLC., 160 Clairemont Ave, Suite 200, Decatur, GA 30030