The 3D Printed Marble Machine 3 stepper mod 28byj-48

The 3D Printed Marble Machine 3 stepper mod 28byj-48

thingiverse

This is a mod for The 3D Printed Marble Machine 3 by Tulio with a 28byj-48 stepper motor instead of the manual lift of the balls. arduino Library : http://www.airspayce.com/mikem/arduino/AccelStepper/ arduino code: #include #define HALFSTEP 8 // Motor pin definitions #define motorPin1 3 // IN1 on the ULN2003 driver 1 #define motorPin2 4 // IN2 on the ULN2003 driver 1 #define motorPin3 5 // IN3 on the ULN2003 driver 1 #define motorPin4 6 // IN4 on the ULN2003 driver 1 // Initialize with pin sequence IN1-IN3-IN2-IN4 for using the AccelStepper with 28BYJ-48 AccelStepper stepper1(HALFSTEP, motorPin1, motorPin3, motorPin2, motorPin4); void setup() { stepper1.setMaxSpeed(2000); stepper1.setSpeed(-1100); } void loop() { stepper1.runSpeed(); }

Download Model from thingiverse

With this file you will be able to print The 3D Printed Marble Machine 3 stepper mod 28byj-48 with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on The 3D Printed Marble Machine 3 stepper mod 28byj-48.