Thursday 31 May 2012

Arduino, Processing & The Modular (Part 3)

So now we have hardware which sends out a clock pulse and a random voltage. Well, I say 'random', but it's now more of a varying voltage. At any point it can go up or down from its current value by a limited amount. If the values go above the mximum they revert to 0 and go on from there. If they fall below 0 they go to the max value and go on from there. This can all be visualized at pretty close to real time in various ways using Processing code running on the PC to which the Arduino is connected by USB.




Processing watched for an incoming serial stream and plots the points with x being time and y being voltage.

No comments:

Post a Comment