Pathway Specific Three

Week 11 task
Use an Arduino board and a sensor to create a small project that responds to the changes in the environment.

I decided to use a photoresistor pin sensor to display different images depending on the time of the day. When the lighting conditions change, the image projected on a wall should correspond to sunrise, daylight, sunset and dusk to indicate the time of the day.
I named this Skylight. I imagine many buildings such as basement labs and big conference centres do not have windows in every room, and casinos use this trick to stop patrons from noticing the time of the day. I imagine that Skylight would have an opposite function by displaying an image corresponding to external lighting conditions.

Simplified sketch of the idea

I uploaded four .jpeg files to my Arduino sketch data folder.

I built a small circuit model in tinkercad.com and connected all the components – Arduino, breadboard, jumper wires, photoresistor, and 1k ohms resistor. I plugged the board into my laptop.

I used Processing to access an example of Serial Libraries and to get the code for SimpleRead.
This example contained an example of code I needed for Arduino software and board.

In photoresistors, resistance decreases when the intensity of light increases. So the flow of electric current through the photoresistor increases when the brightness of the light increases.
Photoresistors are not too accurate, which is a drawback and they are used in street lamps and night lamps, for example.
I had to change the values for my Arduino code several times as the reading was skewed towards daylight and sunrise images, even when I turned off the light in the room.

These are light intensity (lux) values I found for different times of the day.

Lux Values. Source: https://www.voipsupply.com/blog/voip-insider/files/2008/06/lux.jpg

I am not sure if a different approach to assigning light intensity values to the sensorVal code based on changes throughout the day needs to be considered in this project. The light conditions at sunrise and sunset seem similar, and a photoresistor detects better whether the light is present or absent, like it does in a street lamp.

Video from the testing

For the testing, the sensor was placed indoors in a dark room and I flashed a light over it to test whether the images were changing with different light intensity. I managed to make Arduino and Processing work together in this instance.

This project could be improved by wireless connection between the sensor and the projector. The sensor would be placed outside the building, for example on a roof together with a camera. When light conditions change, it would trigger an image capture. This new image of the neighbourhood or live video feedback would be projected on the ceiling, instead of random images.

Week 12 task

Brief: Machines exist to fulfil functions and to carry out instructions. Machines exist to work…so what would be a leisure activity for a machine such as this? (include the code that enables you to stream tweets linked to tweet information, explored in week 12 class)

Machine at leisure – the first thought that came to my mind
Trying to determine conditions for a machine that has a hobby
Back to Design Specialism page