This software allows you to get a visual representation of an analog signal using Arduino and Processing. The resolution is 10 bits, which is good, but the frequency is a lot lower than that of a real oscilloscope but it is still pretty useful.
It works by sending values read from the Arduino board (pin 0) to Processing through serial communication.
Alternative Arduino oscilloscope projects
Nice! This project has been referenced in the book Practical Arduino by Jonathan Oxer and Hugh Blemings.
Sometimes, you don't want to just scope the analog input: you want to scope a modified version of it, for instance. In that case, you can use include the oscilloscope.h file and send any value you want to the Processing program by using the writeOscilloscope(int) function.
|Original Processing code||1.88 KB|
|Arduino code as an include file||2.92 KB|
|Processing code with zoom option||2.64 KB|