5.24.2015

study stepper motor and driver

To run stepper motor requires driver or shield to run with Arduino. I bought a driver that is an imitation verison of Adafruit Motor Shield V2 which can run two stepper motors. From the tutorial https://learn.adafruit.com, I could run the stepper motor by SINGLE, DOUBLE, INTERLEAVE or MICROSTEP with forward and backward. However, I realize that it is extremely hard to match the rotating object and projection at the same time by using stepper motor with driver.

_Imitation of both arduino and adafuit motor shield v2


I searched about projection mapping with moving object. From Github, Cyril Diagne uploaded about mapamok with Arduino walkthrough. The link is https://github.com/YCAMInterlab/ProCamToolkit/wiki/mapamok-with-Arduino-walkthrough. 
Any stepper motor like nema 17 can be used, but Cyril used Easy driver 4.4 rather than Adafruit motor shield. Easy driver has 8 step microstepping mode as a default and has two output pins, STEP and DIR. Rather controlling through coding and signal, Easy driver can be controlled by wire connection which is faster and precise method. 
Overall, the microprocessor is key for the control of motor. More high tech processor provides better quality and variety of selection to use for control. 




















_soldering Easy driver 4.4

Also I had another driver called A4988 Reprap Stepper Motor Driver which I used for my 3d printer. It is smaller than Easy driver but has same capability.






































I decided to follow the process from Github to use stepper motor for projection mapping of rotating object. Now I am using Easy driver 4.4 to control the motor.