Serial Part Deux-plex

Posted in physical computing | No Comments »

In this lab, we are further exploring serial communication by using multiple sensors as opposed to just one from the previous week.  The initial part of the lab was simply setting up our breadboard with two sensors.  In this case, I am using a force sensor and a potentiometer for my analog in and a switch for my digital.  The reading of my first sensor (the potentiometer) was successful as I received values from 0 to 1023. 

and than afterwards told Arduino to read me numbers with various types of data formats:

moving on…using the punctuation method to separate our sensor data:

and using the handshake/call-and-response method:

to bring it into processing.  i had to adjust the mapping values in processing in order to correctly get a range of my potentiometer and force sensor values.  i also had some problems with the background.  i couldn’t see my ellipse because of the background (bg color). 

Leave a Reply

  •  
  • categories

    • art
    • communications lab
    • computational cameras
    • data visualization
    • extra
    • fabricating information
    • ICM
    • installation
    • mechanisms
    • Nature of Code
    • photography
    • physical computing
    • processing
    • reading
    • thesis
    • Uncategorized
    • video sculpture
    • wishlist