
MiniDraw (stepper version)
thingiverse
This Project is an innovative design based on:\r\nhttps://www.thingiverse.com/thing:3259401\r\n\r\nIt employs two budget-friendly 24BYJ stepper motors instead of servo's.\r\nPrint the stepper housing upright. Infill all parts with at least 50% for optimal stability and strength. The steppers are controlled by Arduino Nano, driving an ULN2003.\r\n\r\nExample:\r\n//NanoFull step mode\r\n//512 >> 360 degrees 1.4 step/degree\r\nint M1A = 2; int M1B = 3; int M1C = 4; int M1D = 5;\r\nint M2A = 9; int M2B = 10; int M2C = 11; int M2D = 12;\r\n\r\nint t=3;\r\nvoid setup() \r\n{ \r\n pinMode(M1A, OUTPUT); pinMode(M1B, OUTPUT); pinMode(M1C, OUTPUT); pinMode(M1D, OUTPUT); \r\n pinMode(M2A, OUTPUT); pinMode(M2B, OUTPUT); pinMode(M2C, OUTPUT); pinMode(M2D, OUTPUT); \r\n\r\n} \r\n void loop() \r\n{ \r\n\r\n//Motor 1 \r\nfor (int x=0; x<20;x++){ \r\ndigitalWrite(M1A, HIGH); digitalWrite(M1B, HIGH); digitalWrite(M1C, LOW); digitalWrite(M1D, LOW); delay(t);\r\ndigitalWrite(M1A, LOW); digitalWrite(M1B, HIGH); digitalWrite(M1C, HIGH); digitalWrite(M1D, LOW); delay(t);\r\ndigitalWrite(M1A, LOW); digitalWrite(M1B, LOW); digitalWrite(M1C, HIGH); digitalWrite(M1D, HIGH); delay(t);\r\ndigitalWrite(M1A, HIGH); digitalWrite(M1B, LOW); digitalWrite(M1C, LOW); digitalWrite(M1D, HIGH); delay(t);}\r\nfor (int x=0; x<30;x++){ \r\ndigitalWrite(M1A, HIGH); digitalWrite(M1B, LOW); digitalWrite(M1C, LOW); digitalWrite(M1D, HIGH); delay(t);\r\ndigitalWrite(M1A, LOW); digitalWrite(M1B, LOW); digitalWrite(M1C, HIGH); digitalWrite(M1D, HIGH); delay(t);\r\ndigitalWrite(M1A, LOW); digitalWrite(M1B, HIGH); digitalWrite(M1C, HIGH); digitalWrite(M1D, LOW); delay(t);\r\ndigitalWrite(M1A, HIGH); digitalWrite(M1B, HIGH); digitalWrite(M1C, LOW); digitalWrite(M1D, LOW); delay(t);}\r\n\r\n//Motor 2\r\nfor (int x=0; x<20;x++){ \r\ndigitalWrite(M2A, HIGH); digitalWrite(M2B, LOW); digitalWrite(M2C, LOW); digitalWrite(M2D, HIGH); delay(t);\r\ndigitalWrite(M2A, HIGH); digitalWrite(M2B, HIGH); digitalWrite(M2C, LOW); digitalWrite(M2D, LOW); delay(t);\r\ndigitalWrite(M2A, LOW); digitalWrite(M2B, HIGH); digitalWrite(M2C, HIGH); digitalWrite(M2D, LOW); delay(t);\r\ndigitalWrite(M2A, LOW); digitalWrite(M2B, LOW); digitalWrite(M2C, HIGH); digitalWrite(M2D, HIGH); delay(t);}\r\nfor (int x=0; x<30;x++){ \r\ndigitalWrite(M2A, LOW); digitalWrite(M2B, LOW); digitalWrite(M2C, HIGH); digitalWrite(M2D, HIGH); delay(t);\r\ndigitalWrite(M2A, LOW); digitalWrite(M2B, HIGH); digitalWrite(M2C, HIGH); digitalWrite(M2D, LOW); delay(t);\r\ndigitalWrite(M2A, HIGH); digitalWrite(M2B, HIGH); digitalWrite(M2C, LOW); digitalWrite(M2D, LOW); delay(t);\r\ndigitalWrite(M2A, HIGH); digitalWrite(M2B, LOW); digitalWrite(M2C, LOW); digitalWrite(M2D, HIGH); delay(t);}\r\n}\r\n\r\nhttps://youtu.be/S53riJs3i6o
With this file you will be able to print MiniDraw (stepper version) 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 MiniDraw (stepper version).