Microduio Digital Oscilloscope

From Microduino Wiki
Jump to: navigation, search


Purpose

The course will show you how to use Microduino to make a digital oscilloscope.

Source

Equipment

Module Number Function
Microduino-Core 1 Core board
Microduino-USBTTL 1 Program download
Microduino-Cube-S1 1 For OLED connection
Microduino-OLED 1 For display
  • Other Equipment
Electrolytic Condenser(100μ 25V) One
Breadboard jumper One box
micro usb cable One
Button One
Potentiometer(50k) One
Breadboard One

Introduction

Here in this example, we’ll introduce a Microduino digital oscilloscope. Main parameters:

 Frequency response:
 10Hz-50KHz
 Power:  5V
 Microduino-OLED display screen: 128x64
 Display area: 96x64
 Message display area: 32x64 (Frequency of testing signal and Vpp.)  
 Way of synchronization: Rising along the trigger  
 Scanning speed: 0.02ms/div~10ms/div (Classified by nine gears according to 1-2-5 carry.) 
 Hold Function: Freeze waveform display and parameters. 

Schematic

MicroduinoDigitalOscilloscopeSechmatic.png

Program

[MicroduinoOscilloscope]

Debugging

Step 1: Build the circuit according to the schematic, as follows:

MicroduinoDigitalOscilloscopeConnection.png

Step 2: Download the code, compile and run initial screen:

MicroduinoDigitalOscilloscope1.png
MicroduinoDigitalOscilloscope2.png

Step 3: Just use sensing point to contact signal and input circuit, you will see waveform displayed on OLED:

MicroduinoDigitalOscilloscope3.png

Step 4: The three keys in the schematic are used for enlarging and reducing the scaleplate of the displayed waveform and served as “OK” button respectively.

Result

Signal waveform can be displayed on OLED.

Video