Progress…

Material…
Helmet: plastic dome (too expensive), fabrics with wires
Wood board: to mount the motor
Motor: DC or Stepper motor? and with Bike Chain??
Projector: LG Mini PF1500
Angle Sensors: rotary sensor??
Connection between motor to angle sensor: using Bluetooth/wifi
Things to hang: fish wire ?? or something stronger


Concerns…
1. what should be the min distance away from the projector to the surface
2. projectable surface

Project Structure…

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Video Sketch…
Reference

Final Project Proposal

Concept…
One of my previous projects was exploring how the brain perceives and obtains info based on our ingrained belief systems. How our senses can sometimes lead us away from what’s true. This project requires an enclosed room that creates an intimate experience. I know this will be the biggest challenge for our limited space on the floor. So, I decided to go with a different approach.
View here
Go for the different approach…

I’m thinking to make a giant head cap that hangs on the wall and users have to wear it in order to experience it. Inside the giant head cap, I’m thinking to have a little lantern (carved with shapes on the surface) on top of user’s head. When the user wears the cap, the light will turn on and rotate (install servo) and project the patterns on the surface inside the head cap. On the surface, I would like to install face detection sensors, so if the sensors move around inside the head cap, the servo follows user’s eye vision.

The pattern will transform based on the timer depends on how only the user is wearing the head cap. After the experience, I would like to ask the user to write down what they see inside the head cap and write it down on the paper I provide and stick it on the outside of head cap (will continue to collect).

Challenges might come up…

I can already think of some problems and challenge for this project. For example, the position of the lantern might not perfectly project the shadows right in front of user’s vision. The angle might need to be reconsidered. Also, every user is of different height, I might have to adjust the height of the head cap in order to fit for each user.

Midterm: Smart Candy Vending Machine

Working Finally with the demo audio files…3am on the floor…

Another video to show (and make sure I have it proved in case it’s not working later)…

Both ultrasonic sensors received the same values….(Found out it was the problem of ordering the codes)

One sensor is not working…(Spent more than four hours to debug the problems of not receiving values from both sensors…)

Prototype of my Smart Candy Vending Machine

 

Arduino Code:

/*
* Ultrasonic Sensor HC-SR04 and Arduino Tutorial
*
* Crated by Dejan Nedelkovski,
* www.HowToMechatronics.com
*
*/
// defines pins numbers
const int trigPin = 13;
const int echoPin = 12;
const int trigPin2 = 4;
const int echoPin2 = 7;

// defines variables
long duration;
long duration2;
int distance;
int distance2;

void setup() {
pinMode(trigPin, OUTPUT); // Sets the trigPin as an Output
pinMode(echoPin, INPUT); // Sets the echoPin as an Input
pinMode(trigPin2, OUTPUT);
pinMode(trigPin2, INPUT);
Serial.begin(9600); // Starts the serial communication
}
void loop() {

// Clears the trigPin
digitalWrite(trigPin, LOW);
delayMicroseconds(10);
digitalWrite(trigPin, HIGH);
// Sets the trigPin on HIGH state for 10 micro seconds

delayMicroseconds(10);
digitalWrite(trigPin, LOW);
duration = pulseIn(echoPin, HIGH);

digitalWrite(trigPin2, LOW);
delayMicroseconds(10);

// Sets the trigPin on HIGH state for 10 micro seconds
digitalWrite(trigPin2, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin2, LOW);
duration2 = pulseIn(echoPin2, HIGH);

// Calculating the distance
distance= duration*0.034/2;
distance2= duration2*0.034/2;

// Prints the distance on the Serial Monitor
//Serial.print(“Distance1: “);
Serial.print(distance);
Serial.print(“, “);
//Serial.print(“Distance2: “);
Serial.print(distance2);
Serial.println();

}

 

 

Serial inport from Arduino to P5 Codes
Controlling the height of the wave and trigger the audio files according to the distances..

Overall…I spent hours and hours to just troubleshooting not receiving values from the sensors and unable to detect the port from my Arduino UNO…which is the simplest problem but you never know how long that can take up to…

Week 6: Serial Communications

First challenge…
So, this week I spent a lot of time to understand the material and coming up the project…but..I faced to a lot of challenges…
First, the pulse sensor that I have is not working (LED light broke) and I tried to solder a new LED light…but did not work. Then, I borrowed from someone’s pulse sensor to test it…but the value flickers CRAZY! Also, the values flicker itself even I’m not pressing it…I used tape to create a wrap but the changes wasn’t significant…Finally, I gave up on the pulse sensor…

Second challenge…
After trying pulse sensor, I decided to use the photoresistor and the result it’s a lot better than the pulse sensor but somehow the values will jump from really high to really low…something weird going on…

Third Challenge…
Then, I decided to go back to the basic…which is the potentiometer and it does make it better! However, the potentiometer could not fully control the pattern in P5..so, I went back to p5 to check with my codes…and tried to map the value down so it will have better control…

AND

Finally, it works…

On the side..
I have two different P5 sketches which I would like to build the communication between Arduino & p5. One is the wheel, like a radar which the potentiometer will be able to control the speed of its rotation. Another sketch is the heart which I initially would like to have user’s pulse to control the moving speed of the heart, but the result was not significant…

Sketch 1: Radar

Sketch 2: Heartbeat

Week 5: Piano Keyboard

Process…
I made my little instrument with 8 buttons in order to create a musical scale from C to C.

Then, I replaced the wires with LED light and I found out it’s hardly visible. So, I turned off the room light and tested out again. It worked; however, the blue LED light is super bright and no tone will not play.


Codes…

int speaker = 13;
int dt[8] = {4, 5, 6, 7, 8, 9, 10, 11};
int frequency[8] = {523, 587, 659, 694, 784, 880, 988, 1046};
int in;
int val;

void setup() {

Serial.begin(9600);
for (in = 0; in < 8; in++) {
pinMode(dt[in], INPUT_PULLUP);

}
}
void loop () {
for (in = 0; in < 8; in++){
val = digitalRead(dt[in]);
Serial.println(val);

if (val == 0){
tone(speaker, frequency[in], 100);
}
}
}

Week 3: Observation & Practice of the Lab

Observation: Bank Security Door
So, I was observing the door of the bank. When you go after banks’ business hour or during the weekend, customers will have to insert their ATM card in order to unlock the door. I have experienced it before, which I think it’s not sensitive enough. Also, I watched people tried several times to insert the card to unlock the door. Some people have more patient, so they will insert the card and pull it out immediately, then wait for the beep in order to pull the door. I found that this is the most efficient way to open the door. Be patient and let the machine detect it!

The problem is that not everyone is following the rule, people from other side of the door will open the door for people who are outside. Therefore, the security door does not function as what it suppose to be.

Also, I wonder what would happen if I insert different bank card to the machine.

Practice from the Lab

Digital input..

Analog Input

What’s Interaction?

The first thing that came up to mind explains interactivity is breathing. When we breath in the chemistry in our surrounding environment, it will slowly/quickly interact with our body’s immune system. Then, our body responses. I see this as a most organic and natural interaction. According to Crawford, this would not be interaction, it would be reaction. “A stronger and stronger reaction does not transcend its nature and become an interaction, ” said Crawford. However, I am more agree on Crawford Scale of Interactivity that measures interactivity in the levels as high, moderate, low, or even zero.

Crawford pointed out that certain things and activities are not counted as interactivity. I would still say it is categorized in the focus of spiritual interactivity. Also, we can apply Crawford Scale of Interactivity in different approach of interactivity. The levels of interactivity has different measurement scales. For example, reading a book can be classified to either high or low levels of spiritual interactivity. It’s depends how people absorb and learn out from the content.

On the other hand, physical interactivity will be focus on the input and output, physical stimulation and response. It also incorporates with Crawford Scale of Interactivity, depending on both of the levels of stimulators and recipient’s response. Like what Victor states, our hands are designed for several movements which also respond differently. For instance, hair dryers are designed for our fingers to move up and down in order to have levels of air. Today, a lot of machines or products are relied on our hands as a tool to interact in order to receive the responses. So, I love and totally agree with Victor stating that “hands are our future.”

According to my argument, I believe there are always an interaction as long as at least two objects are involved in the situation. It is just depends on the categories and the scale of interactivity.