Visualizing distance sensor data with Arduino and Processing
By mounting an infra-red distance sensor on an inexpensive hobby servo, measuring the distance reported by the sensor as it is rotated by the servo and feeding this to a processing sketch, enthusiast Cory Barton has created a simple radar solution using an Arduino. The distance data and also the servo motion distance is sent via serial to the host PC running processing, which then generates a visual display of the output, for example:
Simple, something different and also useful when making autonomous robots or vehicles. Click here to get started with the Arduino sketch, processing code and so on. And for more, we're on twitter and Google+, so follow us for news and product updates as well.