MakerWorld
Other Toys & Games
Ver Modelo
Toy elevator
67
Descargas
28
Likes
29
Makes
给小朋友做的一个电梯玩具。需要用到28byj-48 step motorArduino boardstringconnection wires2 buttons code#include <Stepper.h> const int buttonPin2 = 2;const int buttonPin1 = 3;int buttonState1 = 0;int buttonState2 = 0; // Define the number of steps per revolution (for 28BYJ-48, typically 512 steps for one full revolution)const int stepsPerRevolution = 512; // 512 steps per revolution for the 28BYJ-48 stepper motor // Initialize the Stepper library with the pins connected to the ULN2003 driverStepper stepper(stepsPerRevolution, <span style="color:
¿Has impreso este modelo? Inicia sesión y comparte tu make.
Inicia sesión para dejar un comentario
Iniciar sesiónAún no hay comentarios – ¡sé el primero!