Interface &
Application
Programming

Week 11
Processing
Serial Connection


FROM SENSOR TO PROCESSING

I begin this week with the sensor that worked for me last week, that being the Ultra Sonic Sensor. The high frequency sound (typically 40KHz is used). A short burst of wave is sent out by the speaker. The microphone listens for an echo and the data is recorded.


This was the first time I used processing so I took an online training session and read the book by Casey reas and Benjamin Fry. The program is really fascinating - I was able to write a code that took the serial input in from the Sonar Sensor I made the weeks prior - the input gave a set of of numbers - those numbers were used live to map an image on the screen - the image being that of a plant.