
.
.
Make objects rotating with a Stepper-Motor
Well, in a previous tutorial <===> https://gustmees.wordpress.com/2018/09/19/halloween-project-with-skull-arduino-blinking-leds-and-scrolling-eyes-maker-makered-makerspaces/ <===> we created a Halloween Skull and it was fix, didn’t rotate. Fun? YES, BUT more fun when it is rotating by using a Stepper-Motor; looks then as it would observe, control the space around it 😉 And it is very easy to create, only a Stepper-Motor, an Arduino NANO and a bit Code; the rest is a bit manual work to fix mechanically the motor. And with the right tools the mechanical work is a piece of cake 😉 Let us have first a look of the parts and the costs, followed by the mechanical works and then the code (Sketch) for the Arduino.
.
Prices and where to order
Elegoo Set of 5 Stepper Motor 5 V
Click image, please, to enlarge.
|
Arduino NANO
Click image, please, to enlarge. |
|
Drill Countersink Set / Step drill Set Click image, please, to enlarge. |
||
The mechanical works
First of all chose on what material you would like to fix the Stepper-Motor: this could be metal, plastic, cardboard or wood. As I like recycling, I ask in the Supermarket to get an empty wooden wine box. The Supermarket sometimes opens a six-pack of wine bottles in a wooden case (box) and they are happy NOT to recycle it themselves 😉 Here below an example for a Halloween project…
.
Wooden box front view
Click image, please, to enlarge.
|
Wooden box rear view
Click image, please, to enlarge. |
|
Mounting and fixing of the Stepper-Motor Click image, please, to enlarge. |
Mounting and fixing of an object
Click image, please, to enlarge. |
|
Skull glued on copperplate with Stepper-Motor
Click image, please, to enlarge. |
Skull is fixed on the wooden box – happy-Halloween-rotating-skull |
The wiring
The Code
Please find below the Sketch (Code) which is very simple
.
.
Sources and tutorials:
- https://dronebotworkshop.com/stepper-motors-with-arduino/
- https://circuitdigest.com/microcontroller-projects/arduino-stepper-motor-control-tutorial
- …
Here below the video:
.
..
.
![]() The author Gust MEES is ICT Course Instructor, ”Member of the Advisory Board” from “Luxembourg Safer Internet” (LuSI), BEESECURE, Official Partner (Consultant) from the Ministry of Education in Luxembourg, project “MySecureIT“, Official Partner from the Ministry of Commerce in Luxembourg, project “CASES” (Cyberworld Awareness and Security Enhancement Structure). . |
.
Stay tuned for next blog post(s) 😉
.
.
.