Physical Computing, Uncategorized

Serial Communication

A great milestone has passed – Processing & Arduino are finally on speaking terms.  What does this mean?  One can finally have something they physically constructed control software, and therefor control a computer, or have an intricate piece of software control something physical.

To graph the input voltage of a sensor, we change the type of serial communication from decimal to byte.  While this renders the Arduino information useless, we get a much more useful graph in Processing.

this is your byte on drugs

this is your byte on drugs

Real-time graphs are much better at understanding your sensor

Real-time graphs are much better at understanding your sensor

In this instance my ultrasonic sensor (essentially cheap sonar) isn’t giving me a very broad range of results, but we can always use the map() function for dem apples.

step off me dawg

step off me dawg

speak up

Add your comment below, or trackback from your own site.

Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*Required Fields