alex - finished the basic lab without any issues. played with the code a little, just to mess around with color, hopefully posting something later in the week with cool visuals. When i connect to my powerbook via usb/serial, i get an error in processing... not the usual one. guess ill keep working on it.

mluck-On a mac you have to make sure that the correct port is selected and I think that if you look in the processing folder-libraries-serial there is a macosx serial setup thingy that you should try running

min

Lisa- finally had a week where the lab didn't make me want to hide under the table. I think that being able to see how you can apply pcomp to ICM and vice versa helped solidify a couple of concepts in my head. My pic code was taken directly from Dan O'Sullivan and I merged some of his processing code into previous weeks' ICM assignments. I successfully did what I wanted to do (generate a sound wave when the square controlled by the potentiometers passed over some squares), and my processing code is here. I keep forgetting to take pictures or video. Maybe later.

KATE

JOO YOUN -I could do only basic lab this week. Eventually, I made my sensors to move the ball in the applet. I used three different sensors, potentiometer, flex, and photocell. It was very interesting to see the different range of values from each sensor through processing applet. Two different ways to make those value ranges even, fake it in the pic code or fake it in the processing code. Since the pic code was simpler, I made little change on my photocell range.

During the lab, I had two simple issues. First, I had to run the pic first and then open the processing. If I open the processing first, I could not see anything in the applet. Second, I checked everything perfectly but no ball on the screen. I should have checked the color control sensor, which was potentiometer for me, to make sure that the value was not zero. Having invisible ball was testing my patience with pcomp. These two little problems bothered me so much that I spend so much time to figure out. I hope next week lab to be much more productive.

I am thinking about an idea on processing code that will make the users to feel more fun and reasonable using my sensors instead of mouse.

mluck- using a potentiometer first before another sensor with an unknown range is a good idea

Catherine's Lab

Chris- (just realized that what I uploaded last week wasn't here. here it is again -- much shorter.) Spent a lot of time working on my PWM again, but still was lost. Thanks for the help again, Michael. As for serial to PIC and back, I ended up being pretty lost in what data type did what and which side of the connection needed DEC and what not.

MLUCK- ASCII is fun, terminal programs like hyperterm and zterm communicate using ASCII (the DEC thing) which is an interpretation of raw numbers into letters and numbers that we are familiar with processing can either interpret the raw numbers into ASCII if you read the serial as a string or it can read it just as the raw numbers that are being sent which is if you read it as a byte. In the other direction if you are in HYPERTERM and you send an "A" it will get sent out as a 65 in processing if you send a 65 it is a 65 and you probably can send an "A" which will also get sent as a 65.

Rebecca - the problems I had were about HyperTerminal? and my photocell and flex sensors not giving consistent numbers, but all in all it worked out. ===========================================

Jury Hahn

Jury Hahn


Page last modified February 14, 2006, at 09:56 PM