warning: Creating default object from empty value in /courses/i262/public_html/s13/modules/taxonomy/taxonomy.pages.inc on line 33.

Sensing Part 2: Force Sensitive Resistors and Photocells

lab4 submission - FSR with Processing

Submitted by wendy.xue on Sat, 02/23/2013 - 19:08

 

The program I created in Processing colors a portion of a half circle based on the amount of force exerted on the FSR. The FSR voltage was read in via the Serial port, and the reading was mapped to a range between 0 degree and 180 degree. The larger the voltage reading of the FSR, the larger the portion of the half circle is colored. The program decreases the colored portion when the reading decreases. 

screenshot of output of processing code
0
Your rating: None
Syndicate content
Drupal theme by Kiwi Themes.