2007年7月12日 星期四

progress 02

Dear Keith,

The following video is my progress until now:



(setup)
I have created the mobile phone signal detector from some reference from
the web. The setup is now have a computer that connect to the signal detector
with 1.5V AAx2 power supply. And the screen will display the visual which
according to the signal input into the computer through the microphone input.

(_one)
This scene display squares randomly. When it have signal detected,
the size of the square will change.

(_two)
This is similar to _one but this only one circle in there.

(_three)
This scene show a running man that run left and right in the screen. If it have detect the signal, it will run faster.

(_four)
This scene is not very success right now cos I want it can change the color according
to the signal, but mostly it have changed to different level of gray. I will make it more better.

I have several questions:
1. What do you think that if I put this work in the form of some Kiosk instead of installation that I said before?

2. With the current work, what things should need to do that I have missed?

And sorry that I need to have a business trip from 15-25 July, is that possible arrange a meeting with you that about 26 July?

Many thanks.

Regards,
Ming

2007年6月25日 星期一

Progress

Dear all,

Sorry that I have finished less then 70% of the project, and attached PDF is my progress until now, please kindly have a look and provide any comments. Sorry again that I will not join the meeting tomorrow that I want to make the mobile phone detector at home.

Progress PDF

Many thanks and Regards,
Ming

Meeting

Dear guys,

after few weeks development, i hope you have around 70% finish of your project, is time for us to meet up to see the progress.

Let's meet tomorrow at 7pm, venue is 1705.

Keith

2007年6月20日 星期三

How to use a webcam to capture the vister's position as the cursor controlled by mouse

hello, Keith,

As discussed last meeting, in my installation, i will use a webcam to capture the vister's position as the cursor controlled by mouse (the moving of mouse will become the moving of vister). Is there any ways to achieve that in processing? Can you suggest some ways for me to do that? Thanks.

Below is my source code about how to move the mouse to change the position and size of each image.

/**
* Moving the mouse changes the position and size of each image.
*/

void setup()
{
size(750, 750);
noStroke();
}

void draw()
{
background(255,255,255);



PImage b;
b = loadImage("er.gif");
image(b, width/1.1-mouseX, height/3, ((height-mouseY)/2)-100, ((height-mouseY)/2)-100);

PImage c;
c = loadImage("bu.gif");
image(c, mouseY/2, width/2-120, mouseX/2+10, mouseX/2+10);

PImage a;
a = loadImage("he.gif");
image(a, mouseX/2, height/3+120, mouseY/2+10, mouseY/2+10);

PImage d;
d = loadImage("tong.gif");
image(d, width/2.5, height-mouseY, ((height-mouseX)/2)+10, ((height-mouseX)/2)+10);

PImage e;
e = loadImage("junzi.gif");
image(e, width/2, height-mouseX, ((height-mouseX)/2)+10, ((height-mouseX)/2)+10);

}

2007年6月12日 星期二

hello, Keith,

As discussed last meeting, in my installation, i will use a webcam to capture the vister's position as the cursor controlled by mouse (the moving of mouse will become the moving of vister). Is there any ways to achieve that in processing? Can you suggest some ways for me to do that? Thanks.

Below is my source code about how to move the mouse to change the position and size of each image.

/**
* Moving the mouse changes the position and size of each image.
*/

void setup()
{
size(750, 750);
noStroke();
}

void draw()
{
background(255,255,255);



PImage b;
b = loadImage("er.gif");
image(b, width/1.1-mouseX, height/3, ((height-mouseY)/2)-100, ((height-mouseY)/2)-100);

PImage c;
c = loadImage("bu.gif");
image(c, mouseY/2, width/2-120, mouseX/2+10, mouseX/2+10);

PImage a;
a = loadImage("he.gif");
image(a, mouseX/2, height/3+120, mouseY/2+10, mouseY/2+10);

PImage d;
d = loadImage("tong.gif");
image(d, width/2.5, height-mouseY, ((height-mouseX)/2)+10, ((height-mouseX)/2)+10);

PImage e;
e = loadImage("junzi.gif");
image(e, width/2, height-mouseX, ((height-mouseX)/2)+10, ((height-mouseX)/2)+10);

}

GPS data acquiring method

Mobile processing may be a bit difficult for you at this stage as it need you to setup many things like Wireless toolkits, etc.

You do it in Processing!

The step should be:
First, connect your bluetooth GPS device to your computer. The GPS device should be communicate with computer via COM port.

In processing, communicating with COM port is simple:
http://www.processing.org/reference/libraries/serial/index.html
It has good example. After you can connect GPS, you can then communicate with GPS and receive the data.

You no need to "request" the GPS to send you data, but it will keep sending you data. What you need to do is just analysis the data, and get the useful data.

Here is the link:
http://www.tigoe.net/pcomp/code/archives/processing/000766.shtml
It show you how to analysis the GPS data.

The GPS data format is NMEA 0183. It is one of the standard of GPS data. But there are different kind of format even in NMEA 0183: GGA, RMC, RMB.

This example is using GGA.

This example is very cool that even show which one is latitude and longitude .

You can get the whole data format here:
http://www.kh-gps.de/nmea-faq.htm

2007年6月11日 星期一

Processing

Hi Keith

I got a blue tooth GPS receiver, i downloaded processing and mobile processing, do you know which one should i use, when i use mobile processing, it ask to "location the wireless toolkit" what it means??

BTW, do you have any example which about blueTooth works in processing?

thxthx

Chris