Make Your Own Oscilloscope(Mini DSO) With STC MCU Easily Using Atmega

OscilloscopeMini DSO

OscilloscopeMini DSO

This is a simple oscilloscope made with STC MCU.

You can use this Mini DSO to observe waveform.

Time Interval: 100us-500ms

Voltage Range: 0-30V

Draw Mode: Vector or Dots.

Step 1: Watch the Video!

In this video, I will show you how to assembly this Mini DSO step by step.

Step 2: Prepare Your Parts!


Material List:

Step 3: Scheme and Circuit!

Scheme and Circuit 1

The circuit is very simple.

The final circuit is a little different from the video.

I add two capacitors as MCU power filter. Add a resistor as voltage dividing for voltage sampling of battery.

Move the switch to Battery+ and power module to avoid the drain current during stand by.

Step 4: Download the Code!

Download the Code 1

Use a USB to TTL downloader to download the code to MCU

Connect TXD, RXD and GND to the Mini DSO.

Download STC-ISP software here:

If the interface of STC-ISP is Chinese, you could click upper left icon to change language to English.

The detail configuration of STC-ISP please refer my video above.

The code was written in C. Use Keil software to edit and compile.

Step 5: Success!


Here you could observe waveform easily with this Mini DSO.

It also could be used to measure voltage.

Add a probe to the terminal, it could be easily working in hand.

Step 6: Issue


Since this Mini DSO could not measure negative voltage, the waveform will stop at 0V.

Step 7: Related Topic

Related Topic

I also made a Function Generator with STC MCU. The waveform shown on the Mini DSO is just generated by my DIY Function Generator. If you are interested in it, you could watch my video now. I will create the instruction later.

Step 8: Update in the Future

The new functions for the Mini DSO is being developed. They are Normal Sweep and Single Sweep. With these functions you could observe the waveform mutation. In the picture, it is the waveform mutation of the switching power supply during power on. We catch the wave rising just same as the oscilloscope DS1052E.

Read more: Make Your Own Oscilloscope(Mini DSO) With STC MCU Easily

Leave a Comment

Your email address will not be published. Required fields are marked *