top of page

The Eye

Actuator 1.jpeg
Front View of Fabricated Design

The Eye is the final project completed for my Fall 2020 electronics class. I worked with a partner to create a public art installation that utilized server-client infrastructure by connecting two Raspberry Pis (one acting as the sensor, another as the actuator) over the internet. What made this project especially interesting and challenging was that my partner, and therefore half of the project, was located 120 miles away from me.

My partner's Raspberry Pi served as the actuator (a stepper motor attached to the eye), whereas my Raspberry Pi was connected to our light sensor. The premise of our design is that when a certain light lux threshold is detected by the sensor, the stepper motor will rotate accordingly and thus open or close the blades of the mechanical iris. Our project was able to run without any connection from our computers; we just needed power sources for the eye and the sensor. 

Sensor%202_edited.jpg
Actuator 2.png
design.jpg
Light Sensor Setup Reading 86 Lux
Brainstorm and Plan for Design
Actuator Setup with Stepper Motor and Motor Shield

Above includes photos for our design and the actual setups for the sensor and actuator. Here's a quick breakdown of how our project works:

The Sensor: The light sensor is powered by the Raspberry Pi and the data received was able to be accessed on a web server using port forwarding on my wifi router. We tested the sensor at different points of the day and found a reasonable lux range, which was then used to calculate rotational degrees for the stepper motor.

The Actuator: My partner's Raspberry Pi was able to access my Pi's IP address and receive the light lux data. Our code then took those lux values, translated them to stepper motor degrees, which then would close or open the eye's blades. 

Unfortunately, we ran into some issues with our fabrication, resulting in the motor not providing enough torque to open and close the blades. Our eye is able to open and close manually, and the stepper motor is able to correctly rotate based on lux values based on outputting values using code. However, more work is needed to make the system fully operational. We learned a lot from our mistakes, and this project overall, especially in terms of client-server infrastructure and combining hardware with software. 

Below is a short video detailing our project and shortcomings, as well as a PDF copy of our code.

SolidWorks Simulation of Design
bottom of page