hello , i am in highschool and i want to make a stepper motor project , i have 28byj stepper motor and uln2003 driver. i am writing some code with 3 push button but it doesnt work i cant figure out why , so came here for yout help.
my application with 3 button
buttont 1 : the motor is in stopped condition and when i press and release the motor should rotate one full revolution in clockwise direction and then stops untill i press any button.
button 2 : when i press and release the motor should rotate 5 degree in clockwise direction and then stopes untill i press any button
button 3 : when i press and release the motor should rotate 5 degree in anti clockwise direction and the stops untill i press any button
please guide me through this or write me a code for this , i m using 28byj stepper motor with uln2003 and arduino uno r3
welcome to the arduino-forum.
This forum can be of great help if you follow some rules.
The two most important rules are:
show some own effort
ask a specific question
show some own effort
Post your sketch. Post your sketch even if the sketch does not compile.
If the sketch does not compile the first specific question will be:
"How do I analyse and narrow a compiler-error"?
Additionally some tips:
You may have already done these steps but as you haven't told so
the forum does not know it
Basic knowledge about how to connect buttons to make them work reliable