61
edits
Changes
no edit summary
==Final Project Proposal==
For my final project, I want to create an interactive art piece that allows the viewer to approach an aesthetically pleasing several chocolatebars. The enlarged These chocolate is bars are going to be hand made, maybe out of cardboardconstructed with either sensors or open/closed circuits. Then, I want wanted to put sensors on make these chocolate pieces bars so that when the chocolate is touchedone goes up to lift one up or takes one, it a LED display will cause a show the number of LEDs child slavery within a specific nation. If I cannot get those specific statistics, i will just try to light upattain the amount of cocoa exported from the top countries producing cocoa beans. I will attach hook these LEDs in pieces to the construction of the chocolate, arduino and when someone grabs then have another wire connected to touch it, numbers a stuffed animal where the LED will be lit through the chocolatedisplayed. These numbers The stuffed animal will wear some sort of band that says "SAVE ME" or "FREE ME" which will represent the estimated count of chocolate factories and children sold into slavery to work working in these factories. I want to maybe put this chocolate in a closed off, chained box that is half opened. The chains will be made of wraps of metal or wirecocoa fields. What I want to portray through this piece is to show the slavery and bondage of children sold into chocolate industries as slaves. Many third world countries have these chocolate industries that enslave children to work in fields, chopping cocoa beans and continuing on this job until adulthood. My project is to propose an awareness of culture and slavery that still exists today. I will use multiple sensors My main concept is to portray a claim about the child slavery industry and thicker wire to create chains show that will light up LEDs in an orderly mannerwhen we consume, we don't often think about where it comes from or how it was made. I am not quite sure how all Our perceptions of this will play out ourselves and the culture we live in terms of presentation, but I am still hoping directs us to maintain a "trap-like" machine not question and instead absorb within the spaces that will allow the viewer to trigger the light up or even release of chains... (to be continued.are occupied around us.)
==Diagram==
[[Image:ChococrzeDiagramchoc.jpg]] My original idea was to include three different switches for three separate chocolate bars indicating different countries, but I did not have enough digital pins for the seven LED displays, and so I had to just use one. Final Diagram: [[Image:Diagram.jpg]] '''Arduino Code''' int LT = 7;int LB = 0;int BB = 1;int RB = 2;int MM = 4;int RT = 12;int TT = 8; int ivorycoastSwitch = 13; // The setup() method runs once, when the sketch starts void setup() { //Serial.begin(9600); // initialize the digital pin as an output: pinMode(RT, OUTPUT); pinMode(RB, OUTPUT); pinMode(BB, OUTPUT); pinMode(LB, OUTPUT); pinMode(MM, OUTPUT); pinMode(LT, OUTPUT); pinMode(TT, OUTPUT); pinMode(ivorycoastSwitch, INPUT); clearer(); } // the loop() method runs over and over again,// as long as the Arduino has power void loop() { while (digitalRead(ivorycoastSwitch) > 0) { one(); delay(1000); clearer(); five(); delay(1000); clearer(); if (digitalRead(ivorycoastSwitch) == 0) { break; } delay(3000); three(); delay(1000); clearer(); seven(); delay(1000); clearer(); eight(); delay(1000); clearer(); if (digitalRead(ivorycoastSwitch) == 0) { break; } delay(3000); one(); delay(1000); clearer(); seven(); delay(1000); clearer(); four(); delay(1000); clearer(); if (digitalRead(ivorycoastSwitch) == 0) { break; } delay(3000); two(); delay(1000); clearer(); zero(); delay(1000); clearer(); four(); delay(1000); clearer(); delay(3000); } } void zero() { digitalWrite(LT, LOW); digitalWrite(TT, LOW); digitalWrite(RT, LOW); digitalWrite(RB, LOW); digitalWrite(BB, LOW); digitalWrite(LB, LOW);} void one() { digitalWrite(RT, LOW); digitalWrite(RB, LOW); } void two() { digitalWrite(LT, LOW); digitalWrite(RT, LOW); digitalWrite(MM, LOW); digitalWrite(LB, LOW); digitalWrite(BB, LOW); } void three() { digitalWrite(LT, LOW); digitalWrite(RT, LOW); digitalWrite(MM, LOW); digitalWrite(RB, LOW); digitalWrite(BB, LOW); } void four() { digitalWrite(TT, LOW); digitalWrite(MM, LOW); digitalWrite(RT, LOW); digitalWrite(RB, LOW);} void five() { digitalWrite(TT, LOW); digitalWrite(LT, LOW); digitalWrite(MM, LOW); digitalWrite(RB, LOW); digitalWrite(BB, LOW); } void six() { digitalWrite(TT, LOW); digitalWrite(LT, LOW); digitalWrite(MM, LOW); digitalWrite(LB, LOW); digitalWrite(BB, LOW); digitalWrite(RB, LOW);} void seven() { digitalWrite(LT, LOW); digitalWrite(RT, LOW); digitalWrite(RB, LOW); } void eight() { digitalWrite(LT, LOW); digitalWrite(TT, LOW); digitalWrite(RT, LOW); digitalWrite(MM, LOW); digitalWrite(RB, LOW); digitalWrite(BB, LOW); digitalWrite(LB, LOW);} void nine() { digitalWrite(LT, LOW); digitalWrite(TT, LOW); digitalWrite(MM, LOW); digitalWrite(RT, LOW); digitalWrite(RB, LOW); digitalWrite(BB, LOW);} void clearer() { digitalWrite(RT, HIGH); digitalWrite(RB, HIGH); digitalWrite(MM, HIGH); digitalWrite(BB, HIGH); digitalWrite(TT, HIGH); digitalWrite(LB, HIGH); digitalWrite(LT, HIGH); }
==Visualization==
[[Image: Chocbear.jpg]]
[[Image: Bearchocarduino.jpg]]