Changes

Jump to: navigation, search

Students/SharonPtashek

3,752 bytes added, 00:50, 19 March 2010
no edit summary
I have been set on working on computer art since I was 15 years of age, but I always had an interest in electronics and the way they work. Ever since I realized that I was serious about computers and new media (as my future career) I have maintained some kind of an internship or a job in the field.
 
____________________________________________________________________________
 
FINAL PROJECT
 
Signaling Fire Truck
 
The project creates two blinking signaling arrows that are located on a Lego made toy truck. The blinkers signal if the driver wants to go to the left or the right. Each of these blinkers, or arrows, contains 1 LED and one 220 ohm resister inside. The code, which was imported into the Arduino, allows for both of the left and right arrows to continually blink. Inside the left arrow the 220 ohm resistor is soldered to the LED’s positive side on one of its sides, and on the other side it is soldered to a wire that is connected to the Arduino’s digital pin 12. The negative side of the LED is then connected to left side of the SPDT knife switch terminals. Inside the right arrow the 220 ohm resistor is soldered to the LED’s positive side on one of its sides, and on the other side it is soldered to a wire that is connected to the Arduino’s digital pin 8. The negative side of the LED is then connected to right side of the SPDT knife switch terminals. The middle part of the SPDT switch terminals is the connected to the ground (Gnd) power of the Arduino board.
 
I constructed a Lego board fire truck out of Lego pieces and parts and the attached two signaling arrows to the back of the truck. In order to create these blinking arrows, I bought two close arrow toys and inserted inside the LED and resistor, and then drilled a whole in each of the arrows that would allow the wires to exit and connect to the Arduino bored itself. These arrows will allow the truck to signal to which direction it is going. The signaling arrows will blink based on a realistic timing status with the help of the Arduino board. Thus, this project creates an interactive and constructive object that has technological means as part of it’s game or usage.
 
 
 
DIAGRAM
 
 
[[Image:Blinking1.jpg]]
 
 
CODE
 
 
// Sharon Ptashek
// This Arduino program allows for two LED’s to blink together at the same time
// declares variables
int ledPin = 12; // LED is connected to digital pin 12
int LPin = 8; // LED is connected to digital pin 8
void setup() // run once
{
pinMode(ledPin, OUTPUT); // sets the digital pin as output
pinMode(LPin, OUTPUT); // sets the digital pin as output
}
void loop() // run over and over again
{
blink(2000); //code that makes the LED blink
}
//turns the LED on
void on(){
digitalWrite(ledPin,HIGH); //sets the pin HIGH and thus turn LED on
digitalWrite(LPin,HIGH); //sets the pin HIGH and thus turn LED on
}
//turns the LED off
void off(){
digitalWrite(ledPin,LOW); //sets the pin LOW and thus turn LED off
digitalWrite(LPin,LOW); //sets the pin LOW and thus turn LED off
}
//makes the LED blink
void blink(int time){
on(); // sets the LED on
delay(time/6); // sets the delay time according to the humeral value
off(); // sets the LED off
delay(time/6); // sets the delay time according to the humeral value
}
 
 
PRODUCT
 
[[Image:truck1.jpg]]
 
 
[[Image:truck2.jpg]]
 
 
 
[[Image:truck8.jpg]]
 
 
[[Image:truck7.jpg]]
 
 
[[Image:truck5.jpg]]
 
 
 
[[Image:truck6.jpg]]
 
 
____________________________________________________________________________
Final Proposal
To create a signaling shirt that could be used by bikers at night. There will be a right and left arrows on the back of the shirt and the biker will press a button in order to inform whether they are going right or left. The arduino board will be used in order to make the button stimulate a blinking reaction that will allow others to tell whether the biker to go is going right or left.This project will use an arduino with some processing on it, wires, some type of buttons/switch, and LED's. [[Image:Shirt blink.jpg]]
____________________________________________________________________________________________________
70
edits

Navigation menu