Project Summary
We wanted to create a rotary table to show off some smaller parts or 3d prints we build to up our production value a bit.
Video
The Results it produces for video footage
Circuit Design
Source Code
This code uses the AccelStepper Library it, you will need to download and install it for this code to work.
#include AccelStepper stepper(1, 9, 8); int potPin = 0; void setup() { stepper.setMaxSpeed(3000); stepper.setAcceleration(1000); } void loop() { int potVal = map(analogRead(potPin), 0, 1023, -511, 511); if(potVal <= 11 && potVal >= -1) { potVal = 0; } stepper.move(potVal); stepper.run(); }
Bill of Materials
Electronics
- Arduino R3
- 1k Potentiometer
- EasyDriver Stepper Motor Driver
- 2.1x5.5mm Jack
- LED + Resistor to match 5v (Optional)
- Solder
- NEMA 17 Stepper Motor
- .1 Inch Pitch Pin Headers
3d Printed Parts
We used some parts here https://www.youmagine.com/designs/rotatable-3d-scanning-platform
- RotaTable Bearing Bottom
- RotaTable Bearing Top
- RotaTable Bearing Drive Gear
Hardware
- 1x2 Wood (We Used Pine)
- Wood Paneling
- Wood Glue
- Screws
- 10mm Ball Bearings
- 8 Inch Mirror (You can get these at craft stores for around $3 for a single one)
Addition of a 3d Printed Knob
To add some extra finish and ease of use I designed a knob for the potentiometer we used in this build.