![]() I have also made some mods to this code so that the stepper will not move untill i press a button, i would like to make this movement exactly 1/6 a rev or 1/10 a rev is this possible with this code and this stepper motor? How is the steps2take value of 2038 calculated? I have a couple of questions about this code: Steps2Take = 2038 // Rotate CW steps = 2038įrom all the info on the net i can find on peoples experiences and from data sheets, the motor has a Stepper small_stepper(STEPS, 8, 10, 9, 11) Here in the sequence 1-3-2-4 for proper sequencing*/ To Motor Driver In1, In2, In3, In4 and then the pins entered The pin connections need to be 4 pins connected The number of steps of the motor and the pins it'sĪttached to. * create an instance of the stepper class, specifying #define STEPS 100 //Number of steps per revolution ![]() i started with some code i found on the forums here. ![]() Hello again, i've started toying with a 28BYJ-48 stepper motor i bought off ebay, with a uln2003a controller and arduino uno.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |