Comp150 TUI - Tangible User Interfaces

Tangible user interfaces are emerging as a new interaction style which gives physical form to digital information, making bits directly manipulable and perceptible by people. TUI extends beyond the limitations of the computer mouse, keyboard and monitor, TUI offer the promise of interfaces that will make bits accessible through augmented physical surfaces, graspable objects and ambient media within physical environments. Course Website: www.cs.tufts.edu/~jacob/150tui

Name: David Kuo
Location: Medford, Massachusetts, United States

Monday, April 11, 2005

Query Table Project

Haven't really post much since last project. Here is a quick run down of Query Table Project.

Members:
Andrea Blackwell
Mike Horn
Wenzea David Kuo
Mike Saji
Zinger Yang
Shoaib Zahoori

Discussion:
Our brainstorming and discussion are posted on Mike Horn's Wiki

Storyboard:
Story 1
Story 2

Group work:
Andrea - Crane
Mike H. - Spot Code
David - Java Media Framework
Mike S. - Visual Design
Zinger - Canned Database
Shoaib - Vision

Monday, March 14, 2005

HandyCricket Setup

Software
1. Cricket Logo
2. Java 1.4.2 SDK
3. Java Communications API Need this for Java to communicate thru serial port
4. Handy Cricket Demo Zipped File
5. Apache Ant

Procedure
1. Install Cricket Logo
2. Install Java SDK
3. Install Apache Ant
4. Unzip Java Comm API (Make sure you follow the Installation Instruction in Readme.html)
5. Unzip HandyCricket.zip (assumed it is unzipped to c:\HandyCricket)

Running Demo file - HandyCricket.zip
(assme there are two HandyCricket already programmed)
If you are connecting the serial cable on port other than com1, you need to make the following modification.
1. go into c:\HandyCricket\src2. edit SerialReader.java
3. look for CommPortIdentifier.getPortIdentifier("COM2") and change it accordingly
(ie. if you are connected on COM1, rename COM2 to COM1) and save the file
4. open command prompt
5. c:\> cd HandyCricket
6. c:\HandyCricket> ant
7. c:\HandyCricket> cricket

Programming HandyCricket using Logo
1. Run Cricket Logo from your Start Menu
2. Sample logo codes are available in c:\HandyCricket\logo codes folder
3. Handy Cricket Programming Reference Useful when programming your own crickets

Tuesday, February 22, 2005

HandyCricket Codes

All codes related to HandyCricket is available at http://www.cs.tufts.edu/~wkuo/comp150tui/HandyCricket/

Saturday, February 19, 2005

02-19-2005 Meeting

Tasks Completed:
1) Make 2 crickets communicate with each other.
2) Make 2 crickets communicate with each other via Java GUI
3) Write/Modify codes to use with the Tablet

Cricket 1 (Receive commands from Java GUI and sends commands to Cricket 2)
to sender
send 76
send sensora
send 83
send switchb
waituntil [newir?]
if ir = 1 [send 3]
if ir = 2 [send 4]
when [switchb] [send 5]
sender
end

Cricket2 (Receive commands from Cricket1)
to doit
waituntil [newir?]
beep
if ir = 3 [a, onfor 10]
if ir = 4 [b, onfor 10]
if ir = 5 [ab, onfor 10]
doit
end

For more information about Tablet, please visit Zinger's Blog

Sunday, February 13, 2005

Forgot username and password

Always write down username and password to some place safe. Took me days to figure out my username and password to my blog..........

Our group members for project 1
Ajahne Santa Ana
Lynda Bayas
David Kuo
Zinger Yang
Shoaib Zahoori

Cricket and Tablet - Project Tasks (also available on course website)
Create a SerialReaderWriter class that receive input from the cricket and send it commands. Make two crickets communicating; implement a simple responsive environment scenario using two crickets, digital and analogue input (sensors) as well as output (motors and LEDs). Learn how to use the tablet to recognize a variety of gestures. Combine input from the tablet in your responsive environment.

Our First Meeting (02-10-2005 @ 19:00)
Ajahne and Zinger were trying to get the Tablet to work while Lynda, Shoaib and I were playing with the HandyCricket.

Minor Problem with Cricket Logo
the usage of 'on' vs. 'onfor' seems a bit unclear
for example:
when typed the following codes into the "Command Center"
a, on // turn on a -- the motor
off
onfor 20
b, on // turn on b -- the lamp
the above codes works and everything works (motor and lamp)

Now when we typed the following codes into the "Cricket Logo Programs"
to demo
a, on // turn on a -- the motor
off
onfor 20
b, on // turn on b -- the lamp BUT it DID NOT light up
end
the motor works but lamp didn't light up.
So we replaced the line "b, on" with "b, onfor 10" and it works
We will have to play more with Cricket Logo to get a better understanding on this programming language.

Ajahne and Zinger got the Tablet to work.
Our next meeting is schedule on 02-15-2005

Sunday, January 30, 2005

Testing

Test Posting (01-30-2005)