Arduino Oscilloscope
Arduino Oscilloscope
Arduino Oscilloscope
I have created a aimple Arduino Oscilloscope as above picture shows. Here is its summary. You can build your own!
Secifications
Here is the summary of its specification.
Number of channels 2
Input voltage 0 to 5[V]
Input impedance 10kohm?, depends on AVR
VOLTS/DIV 1[V], 0.5[V], 0.2[V], 0.1[V], 50[mV]
TIME/DIV 10[s], 5[s], 2[s], 1[s], 0.5[s], 0.2[s], 0.1[s], 50[ms], 20[ms], 10[ms], 5[ms], 2.3[ms] (4.3ksps), and 1.2[ms] (8.6ksps, samples only 1 channel)
Trigger mode Auto, normal, scan, and one shot
Cirucuit diagram
The circuit is very simple:
Button interface
Operations are done with 11 switches. The following table shows how the switches are used.
Video
Downloads
The sketch depends on modified version of KS0108 Graphics Library which is introduced on Arduino: Playground. Note, you might have to change threshold voltages for switchs due
to variations of registers' values. Also you might need to change the some constants depending on the voltage of Arduino's power source. Have fun!
ks0108v2p120150711.zip(Modified KS0108 Graphics Library, tested to compile with Arduino IDE 1.0.5 and 1.5.5, not 1.6.x)
arduinooscillo0.220150711.zipArudino Oscilloscope sketch. (tested to compile with Arduino IDE 1.0.5 and 1.5.5, not 1.6.x)
old version
ks0108v2p1.zip(Modified KS0108 Graphics Library)
arduinooscillo0.2.zipArudino Oscilloscope sketch.
Links
DIY Oscilloscope by vaupell
Running on Teensy: Teensy rev.3.1 and KS0108 Graphic LCD library by Giovanni Carrera
History
2009/12/31: Updated to use version 2 of KS0108 Graphics library.
back
Comments are welcome. Email me: mnoriaki < at mark > gmail.com
Copyright (c) 2009, Noriaki Mitsunaga