« The Coming Age of Calm Technology | Main | Types of Sensors, interfaces 01.31.06 »

January 30, 2006

Sensor and Time Assignment

It was hard to get back into the pcomp mode once again...

I did the assignment with an FSR (force sensor) and a flex sensor. Initially, I had no problem getting values using the serial communicator. I had placed a pot (variable resistor) so that I could control the resolution of the sensor values.
IMG_1454.JPG
IMG_1457.JPG

PIC code

However, in Processing Datalogging, I wasn't able to see any change in graphics.
Processing code by Tom Igoe.
processing.jpg

I had fogotten to just do serial out on the [ADCvar] in the pic code. After the error was found, I was able to see some changes in graphics, but not too evident.
Untitled-2 copy.jpg

I was able to use 2 different sensors to see the different values being output using serial communication.
IMG_1459.JPG

PIC Code.


Posted by min at January 30, 2006 11:49 PM

Comments