GMU:Dataflow I WS12/Li Lingling: Difference between revisions

From Medien Wiki
mNo edit summary
mNo edit summary
Line 2: Line 2:
[[File:touch sensor3.jpg|thumb|Maze]]
[[File:touch sensor3.jpg|thumb|Maze]]
I work on the interaction between object and sound. I will connect the object with arduino and turn arduino into a touch sensor.  
I work on the interaction between object and sound. I will connect the object with arduino and turn arduino into a touch sensor.  
First I will sammeln the information to processing. Then the message will be sent to puredata through OSC.
First I will collect the information to Processing. Then the message will be sent to puredata through OSC.


=== Description ===
=== Description ===
My concept come from one project online,it is called "Touche for Arduino: Advanced touch sensing'. In my project I make a combination between processing and pure data, using processing as a medium to send data from Arduino to pure data. In terms of processing, the information from Arduino is classified.Then I use the classified information in pure data define different actions. In pure data I will create a gem and then using the data to move it. At the end it will like a game “maze”.
My concept come from one project online,it is called "Touche for Arduino: Advanced touch sensing'. In my project I make a combination between processing and pure data, using processing as a medium to send data from Arduino to pure data. In terms of processing, the information from Arduino is classified. Then I use the classified information in [[Pure Data]] define different actions. In Pd I will create a gem and then using the data to move it. At the end it will like a game maze.


==Working Process==
==Implementation==
First I build a circuit on breadboard by myself to change the Arduino to be a touch sensor.
First I build a circuit on breadboard by myself to change the Arduino to be a touch sensor.
<gallery>
<gallery>
Line 14: Line 14:
File:touch sensor4.jpg|Different gestures
File:touch sensor4.jpg|Different gestures
</gallery>
</gallery>
In my project I can get different data from Arduino to processing, when I touching the “Touch Sensor” . Then I will define different gestures. In my case I have four gestures.  
In my project I can get different data from Arduino to Processing, when I touching the “Touch Sensor” . Then I will define different gestures. In my case I have four gestures.  
# Gesture: No touching.
# Gesture: No touching.
# Gesture: One finger touching.
# Gesture: One finger touching.
Line 20: Line 20:
# Gesture: Put the finger in the water.
# Gesture: Put the finger in the water.


Because I want to use the different gestures to control the Gem object in pure data. So I name them "Go right"、“Go up”、“Go left”、“Go down”.
Because I want to use the different gestures to control the Gem object in Pure Data. So I name them "Go right"、“Go up”、“Go left”、“Go down”.


<videoflash type="vimeo">63046775|450|260</videoflash>  
<videoflash type="vimeo">63046775|450|260</videoflash>  

Revision as of 17:38, 25 May 2013

Touch Sensor

Maze

I work on the interaction between object and sound. I will connect the object with arduino and turn arduino into a touch sensor. First I will collect the information to Processing. Then the message will be sent to puredata through OSC.

Description

My concept come from one project online,it is called "Touche for Arduino: Advanced touch sensing'. In my project I make a combination between processing and pure data, using processing as a medium to send data from Arduino to pure data. In terms of processing, the information from Arduino is classified. Then I use the classified information in Pure Data define different actions. In Pd I will create a gem and then using the data to move it. At the end it will like a game maze.

Implementation

First I build a circuit on breadboard by myself to change the Arduino to be a touch sensor.

In my project I can get different data from Arduino to Processing, when I touching the “Touch Sensor” . Then I will define different gestures. In my case I have four gestures.

  1. Gesture: No touching.
  2. Gesture: One finger touching.
  3. Gesture: Grab.
  4. Gesture: Put the finger in the water.

Because I want to use the different gestures to control the Gem object in Pure Data. So I name them "Go right"、“Go up”、“Go left”、“Go down”.

<videoflash type="vimeo">63046775|450|260</videoflash>

In processing the gesture data is remembered as numbers.

  1. Gesture is "0".
  2. Gesture is "1".
  3. Gesture is "2".
  4. Gesture is "3".

Then I send the gesture data to pure data through OSC. So in pure data I define the numbers with different movement.

"0" is "Go Left".
"1" is "Go up".
"2" is "Go right".
"3" is "Go down".

<videoflash type="vimeo">63048325|450|330</videoflash>

Media:processing+puredata.zip