Changes

Students/Tung Mach

577 bytes added, 21:27, 22 September 2011
Field Research
{{Infobox student
}}
 
'''Tung Mach''' (January 15, 1989), better known by his preferred name '''Lance''', is a 3rd year undergraduate student at the [http://en.wikipedia.org/wiki/UCSD University of California, San Diego], currently majoring in both Interdisciplinary Computing and the Arts and Computer Science and Engineering.
== Electronic Technologies for Art I ==
In the quarter of Winter 2010, Lance registered for a class called Electronic Technologies for the Art with Robert Twomey, due to his passion for electronics. Lance finds the class intriguing because he likes the work behind electricity and the process of assembling. Though, Lance doesn't have any knowledge nor previous experience with electronics, he hopes to gain the intelligence to strengthen his creative mind in the art and perhaps acquire a new hobby.
 
== Field Research ==
http://hphotos-snc3.fbcdn.net/hs421.snc3/24329_1288334601720_1030830148_30803241_4864940_n.jpg
http://photos-d.ak.fbcdn.net/hphotos-ak-snc3/hs421.snc3/24329_1288334681722_1030830148_30803243_6817497_n.jpg
http://photos-f.ak.fbcdn.net/hphotos-ak-snc3/hs401.snc3/24329_1288334641721_1030830148_30803242_4305363_n.jpg
http://photos-a.ak.fbcdn.net/hphotos-ak-ash1/hs441.ash1/24329_1288334721723_1030830148_30803244_6507300_n.jpg
http://hphotos-snc3.fbcdn.net/hs401.snc3/24329_1288334561719_1030830148_30803240_533241_n.jpg
== Midterm Project Proposal ==
== Final Project Documentation ==
This section is going under constructionPresented on March 11 (Thursday), 2010. For my final project, I made a bionic puppet. Instead of controlling a puppet with your hands, you can now control your puppet using a controller. Using the Nintendo Wii Nunchuck as a 3-axis accelerometer, you control the puppet by tilting, rotating, and pushing buttons. Tilting down and up controls the Y-axis, moving the head up and down, and rotating it left and right controls the X-axis, moving the head left and right. Pressing the "C" button will make the puppet beep, pressing the "Z" button will hold the head in its place. I would like to name him Spazzy, because he likes to twitch a lot.
Five pictures will be posted uphttp://hphotos-snc3.fbcdn.net/hs482.snc3/26393_1294431994151_1030830148_30814980_6621906_n.jpghttp://hphotos-snc3.fbcdn.net/hs482.snc3/26393_1294432034152_1030830148_30814981_863787_n.jpghttp://photos-b.ak.fbcdn.net/hphotos-ak-ash1/hs482.ash1/26393_1294432074153_1030830148_30814982_2379686_n.jpghttp://hphotos-snc3.fbcdn.net/hs502.snc3/26393_1294432114154_1030830148_30814983_5056626_n.jpghttp://hphotos-snc3.fbcdn.net/hs502.snc3/26393_1294432154155_1030830148_30814984_2240416_n.jpgSpazzy: BEEP! BEEP!
Arduino Sketch
int cnt = 0;
int ledPin = 13;
int servoPin = 7; // Control pin 7 for servo motorint servoPin2 = 6; // Control pin 6 for servo motor
int pulseWidth = 0; // Amount to pulse the servo
int pulseWidth2 = 0;
Wire.begin ();
nunchuck_init ();
pinMode(servoPin, OUTPUT); // Set servo pin servoPin as an output pin pinMode(servoPin2, OUTPUT);// Set servoPin2 as an output pin
pulseWidth = minPulse; // Set the motor position to the minimum
pulseWidth2 = minPulse2;
int t = 0;
 
void loop()
{
if (cnt >= 5) {
 
// printNunchuckData();
 
int z_button = 0;
int c_button = 0;
 
if ((outbuf[5] >> 0) & 1)
z_button = 1;
}
}
 
cnt = 0;
send_zero();
 
} // if(t==)
 
updateServo // Update servo position
 
delay(dtime);
}
47
edits