Step 1:
Step 2:
#include <Stepper.h> // change this to the number of steps on your motor #define STEPS 200 // create an instance of the stepper class, specifying // the number of steps of the motor and the pins it's // attached to Stepper stepper(STEPS, 8, 9, 10, 11); // the previous reading from the analog input int previous = 0; void setup() { // set the speed of the motor to 30 RPMs stepper.setSpeed(30); } void loop() { // get the sensor value int val = analogRead(0); val = map(val, 0, 1023, 0, 127); // move a number of steps equal to the change in the // sensor reading stepper.step(val - previous); // remember the previous value of the sensor previous = val; }
Step 3:
Question 1: What kind of machines would you be interested in building? Add a reflection about the use of actuators, the digital manipulation of art, and the creative process to your blog post.
Based on the drawing machine, I would like to build a curving machine. It means we only need to use the resistor to do very small changes and then the two motors will make the arms attached curve a much larger object. I may use step motors, longer arms, nails that can attach arms together and a laser cutter or a specially made graver.
Question 2: Choose an art installation mentioned in the reading ART + Science NOW, Stephen Wilson (Kinetics chapter). Post your thoughts about it and make a comparison with the work you did during this recitation. How do you think that the artist selected those specific actuators for his project?
I’m very interested in Feral Robot Dogs designed by Natalie Jeremijenko. This robot dog is environmentally friendly and it is like a detective that can sense pollution then warn people by jumping and barking. This invention and me and my partner’s drawing machine are both interactive. We changed vary the status of our variable resistor to input and the Arduino processed the data to map with the step motor, which was an output. For the robot dog, its chemical sensor can sense special elements in the environment. Then it processes and makes its motor spin to let the dog move and make sound. These two whole processes are a bit different from each other but their outputs are the same. The artist needs some special sensors like chemical sensor, smoke sensor, humidity sensor, etc.