Arduino Oscilloscope

Arduino Oscilloscope

Make a simple oscilloscope with Arduino MEGA 2560 and Processing

  • 16,626 views
  • 3 comments
  • 18 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
  • 10 followers

Additional contributors

Published on

November 3, 2017

Members who respect this project

18519647 10155731308995016 8501062504211692293 nDefaultProfile eooucbil68Doh iqzhhjifgeDefaultDefaultAoh14gjmk p a1m5qvw5ig9wuavsxxbmpgtiyyo2maqgyq=s96 cE93826c2 9a64 46a5 8bc1 a25cf0a172ae

and 13 others

See similar projects
you might like

Similar projects you might like

Arduino Oscilloscope (6-Channel)

by Meeker6751

  • 54,201 views
  • 17 comments
  • 132 respects

Arduino Oscilloscope

Project showcase by wayri

  • 25,384 views
  • 8 comments
  • 34 respects

DIY Arduino Oscilloscope

by Ameduino

  • 19,181 views
  • 6 comments
  • 35 respects

SmartGPU2 - Arduino Oscilloscope

Project showcase by Vizic Technologies

  • 24,663 views
  • 8 comments
  • 37 respects

Arduino - Web Oscilloscope (Support Trigger)

Project tutorial by phpoc_man

  • 16,069 views
  • 13 comments
  • 58 respects

Digital Oscilloscope Experiment Based on Arduino

Project tutorial by Andrew85

  • 12,505 views
  • 4 comments
  • 27 respects
Add projectSign up / Login