How would you convert the following listed open source sketch to work with a ULN2003 Stepper Driver
Board and 28BYJ-48 Motor on a Mega2560?
Mega_Sun_Harvester_Program_V01.zip, at url:
The code currently uses a custom driver board based on a, A4988: DMOS Microstepping Driver, with: step, direction, and enable. The ULN2003 stepper driver board is a basic a 4-pin driver board for motor coils and pins for motor pwr and gnd.
I have all ready re-assigned the pin outs in the sketch and tried selecting the enable option to "0" and
included the libraries and reset the motor steps per revolution, but no go. Irr, the the motors and my
bread board setup work with other sketches. My programing skills are in the, "learn as you go mode." I have not found info on this on this forum and have read the stepper motor basics.
Here is the other helpful necessary evil information and links:
The sketch, Mega_Sun_Harvester_Program_V01.zip is at: http://cerebralmeltdown.com/forum/index.php?topic=857.0
The stepper driver board Cerebralmeltdown is using:
http://www.cerebralmeltdown.com/connecting-the-limit-switches-to-the-sun-harvester-circuit/ is based on A4988: DMOS Microstepping Driver at: http://www.allegromicro.com/en/Products/Motor-Driver-And-Interface-ICs/Bipolar-Stepper-Motor-Drivers/A4988.aspx
More ULN2003 driver board info at: ULN2003 Stepper Driver Board and 12V 28BYJ-48 Motor Test - Experimentos en Hardware Libre
I know that these motors can't get out of their own way power wise, but the intended purpose is proof
of concept pan and tilt system to track the sun.
Is this "easy peasey" or a big "pia"?