Sweeping

For this week’s procect we were supposed to imitate some movement of a human or animal. First, I was considering creating a cyclist but even though I had a clear idea how to make its legs move, I realized it would be rather hard to  hide the servo and I was also unable to come up with an idea for the part where the legs join the body (the legs would have had to be bendable and movable). Then, I touhgt of creating a walking person. Although this would have fixed my problem with the leg joints, I had to drop the idea as syncing the movement of the legs proved to be too difficult. So I ended up creating a person that is sweeping.

I connected a servo to my arduino and connected a “broom” to it. By using a short bent wire, wich is relatively stiff, I ensured that the broom is not directly attached to the servo (so that there is some room to hide the servo). Then, I attatched the servo to a piece of thick paper, on which I drew the body of the person holding the broom. The problem of mobility of the hands to follow the broom’s motion came up again, similarly to the cyclist’s legs, however, I decided to only connect a second layer of paper directly above the brooomstick. I drew the hands again on this smaller piece of paper, which was meant to both ensure that the servo is hidden, and create a sense of movement of the hands. A nice extension of the project would be to create actual, movable hands for the person.

Find my code here:

#include <Servo.h>

Servo broom;

void setup()
{ broom.attach(9);
broom.write(20);
  }

void loop()
{
  broom.write(50);
  delay(600);
  broom.write(20);
  delay(600);
  }

 

 

Leave a Reply