Arduino Oscilloscope

Arduino Oscilloscope

Make a simple oscilloscope with Arduino MEGA 2560 and Processing

  • 6,726 views
  • 2 comments
  • 8 respects

Components and supplies

About this project

Every electronics enthusiastic or student need a useful tool like an Oscilloscope in order to build and debug his projects.

A Digital Storage Oscilloscope is the most common configuration for this type of device. The Youtube is full with beginners build oscilloscopes that sweep signal from the right to the left or use some chart plotting. But a true DSO need to have the following features:

  • A stable imagine or a signal capture which is refreshed
  • A trigger in order to make a stable signal capture
  • Buttons to change deflection on X and Y axis
  • Some measurements tools.

Therefore with these specification I started to build a friendly interface with Processing 3 for what I will measure.

On the other side with measure principle I build the following flow chart:

It use DSO principle, a memory which store the recorded samples.

After I write the code for this flow diagram, I moved on graphic interface in Processing 3. And it look like:

Now the last element was to make transmission between PC and Arduino board and vice versa. The only option was USB.

Finally I test with a sinusoidal wave and the results was:

And it looks like a real DSO only it has poor features:

  • 5 kHz maximum input frequency
  • 0-5 V input signal voltage

But, the good points are:

  • Posedge and negedge trigger
  • Some measurement tools
  • Some display options

For more info you can read here.

Code

Interfata_test_AVR.rarC/C++
No preview (download only).

Comments

Similar projects you might like

Arduino Oscilloscope (6-Channel)

by Meeker6751

  • 23,774 views
  • 12 comments
  • 93 respects

SmartGPU2 - Arduino Oscilloscope

Project showcase by Vizic Technologies

  • 10,618 views
  • 6 comments
  • 25 respects

DIY Arduino Oscilloscope

by Ameduino

  • 3,539 views
  • 3 comments
  • 19 respects

Arduino - Web Oscilloscope (Support Trigger)

Project tutorial by phpoc_man

  • 6,563 views
  • 13 comments
  • 52 respects

Arduino Environmental Monitoring

Project showcase by Prajay Basu

  • 14,488 views
  • 1 comment
  • 28 respects

SCADA Control of a Water Pumping Station

Project showcase by Muntadhar Jafar

  • 5,598 views
  • 1 comment
  • 16 respects
Add projectSign up / Login