MakerWorld
Other Toys & Games
Zum Modell
Toy elevator
67
Downloads
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:
Hast du dieses Modell gedruckt? Einloggen und dein Make teilen!
Melde dich an, um einen Kommentar zu hinterlassen
AnmeldenNoch keine Kommentare – sei der Erste!