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.
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.
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>