computing project 2 – week 3 – Keaney/Scotten

This week Jemilla and I had worked on a test model for the project.

As previously mentioned, the model has the outer casing, and inside is the structure, both of which have been placed on a base.

inside the structure we had been testing the mesh that we used in our last project, but the issue we had with the last one is that when the snow flew up, it would land on the edges and get stuck so the fan wouldn’t be able to blow it again. in order to combat this we had decided to build ramps on the edge of the model that would allow the snow to come back down to the fan as shown below.

as shown in the photo above, the snow when blown had collected back in the corner when bouncing off the ramps on the edges of the environment.

next we had to test the piezo. this proved to be rather difficult as the piezo reacts differently depending on what surface you place it on, whether it is hard or soft etc.

we tried using code to test if a knock would work but  this was to no success.

const int ledPin = 13;
const int knockSensor = A0;
const int threshold = 100;

int sensorReading = 0;
int ledState = LOW;

void setup() {
pinMode(ledPin, OUTPUT);
Serial.begin(9600);
}

void loop() {

sensorReading = analogRead(knockSensor);
if (sensorReading >= threshold) {

ledState = !ledState;

digitalWrite(ledPin, ledState);

Serial.println(“Knock!”);
}
delay(100);
}

we will need to test working with the piezo more as we discussed whether or not to use a secret knock sequence based on the rhythm or based on the pressure of the knock. this means we can either have a specific tune be the key to unlocking the door, or have a series of hard or soft knocks open the door. we came to the conclusion that a tune with the knocks would be more playful for the users.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s