Published On May 11, 2021
components needed :-
1)28byj-48 stepper motor - https://amzn.to/34MMcV2
https://amzn.to/3IaFqXq
2)uln2003 stepper motor driver - https://amzn.to/34IRkcX
3)arduino board - https://amzn.to/3LH8VSV
4)jumper cables -https://amzn.to/36bvaQI
5)5v adapter or power supply - https://amzn.to/3uYWMD4
6)female jack - https://amzn.to/3I3Jitp
CheapStepper library link: https://github.com/tyhenry/CheapStepper
code :
( Remove $ sign with angle brackets)
#include $CheapStepper.h$
CheapStepper stepper (8,9,10,11);
void setup()
{
stepper.setRpm(12);
}
void loop() {
stepper.moveDegreesCW (180);
delay(1000);
stepper.moveDegreesCCW (180);
delay(1000);
}
Song: Peyruis - Relax (Vlog No Copyright Music)
Music provided by Vlog No Copyright Music.
Video Link: • Peyruis - Relax (Vlog No Copyright Mu...