Servo Motor Sunflower

Physical Computing

For physical computing this week, I wanted to play with a sensor that takes input from natural things, like light and sound. After many inspirational instructables, I found someone making a sunflower with light as a sensor, using photo-resistors (facing opposite directions) as sensors.

I decided to give it my time because it felt like a gateway into the things I want to make in the future. After getting the general idea, I drew up the circuit and coded the micro-controller to take not just light but the direction of light as its input.

Schematic

Code:

I played with delays, and decided I wanted a slow, more pronounced movement toward the light.

Watch the Sunflower in action:

Servo Motor Sunflower from Amena Hayat on Vimeo.

 

“what kind of sunflower are you? the sun is that way”

Leave a Reply

Your email address will not be published. Required fields are marked *