Arduino Oscilloscope

Arduino Oscilloscope

Make a simple oscilloscope with Arduino MEGA 2560 and Processing

  • 14,692 views
  • 3 comments
  • 17 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

Author

Default
lucian_vdo
  • 3 projects
  • 9 followers

Additional contributors

Published on

November 3, 2017

Members who respect this project

18519647 10155731308995016 8501062504211692293 nDefaultProfile eooucbil68Doh iqzhhjifgeDefaultDefaultPhoto

and 10 others

See similar projects
you might like

Similar projects you might like

Arduino Oscilloscope (6-Channel)

by Meeker6751

  • 33,507 views
  • 12 comments
  • 106 respects

SmartGPU2 - Arduino Oscilloscope

Project showcase by Vizic Technologies

  • 15,514 views
  • 7 comments
  • 32 respects

Arduino Oscilloscope

Project showcase by wayri

  • 8,947 views
  • 6 comments
  • 25 respects

Arduino - Web Oscilloscope (Support Trigger)

Project tutorial by phpoc_man

  • 8,823 views
  • 13 comments
  • 54 respects

DIY Arduino Oscilloscope

by Ameduino

  • 8,559 views
  • 3 comments
  • 24 respects

Digital Oscilloscope Experiment Based on Arduino

Project tutorial by Andrew85

  • 6,374 views
  • 3 comments
  • 22 respects
Add projectSign up / Login