A digital oscilloscope Based on MCU: Difference between revisions

From PC5214 wiki
Jump to navigation Jump to search
Diandian (talk | contribs)
No edit summary
Diandian (talk | contribs)
Line 9: Line 9:
===Step 1:Preparation ===
===Step 1:Preparation ===
Material List:
Material List:
* MCU: STC8A8K64S4A12 x 1
* MCU: STC8A8K64S4A12  
* Display: SSD OLED(with 7-Pin SPI Interface) x 1
* Display: SSD OLED with 7-Pin SPI Interface
* Resistor:1W 11k x 1, 1/4W 22k x 2, 1/4W 11k x 1
* Resistor:1W 11k, 1/4W 2k, 1/4W 11k  
* Capacitor:47uF x 1, 0.01uF x 1
* Capacitor:47uF, 0.01uF
* EC11 Encoder x 1,Toggle Switch x 1,2-Pin Terminal x 1
* EC11 Encoder,Toggle Switch,2-Pin Terminal(for input of the oscilloscope)
* IC Socket 40-Pin x 1,Row Pin (7-Pin&12-Pin)
* IC Socket 40-Pin,Row Pin
* 3.7V Li-ion Battery x 1
* 3.7V Li-ion Battery  
* 5V Booster Module x 1
* 5V Booster Module  
* USB-TTL Downloader x 1
* USB-TTL Downloader  
* Circuit Board x 1
* Circuit Board


===Step 2:PCB board design===
===Step 2:PCB board design===

Revision as of 08:47, 29 April 2022

Introduction

We design a digital oscilloscope with STC8A8K64S4A12 chip as the control core, which mainly consists of two modules: hardware circuit and software program. The hardware module mainly includes OLED screen, voltage sampling circuit, clock system, power supply and management module and so on. The software module mainly includes A/D sampling, OLED display, interrupt timing and some necessary data processing. its measurable bandwidth is 0-3000Hz, the measured range is 0-30V. After many tests and comparisons, the design achieves the amplification and reduction of waveform and the measurement of different frequency waveform in the experimental process, so as to achieve the desired goal.

Methodology

Schematic diagram

Experimental setup

Step 1:Preparation

Material List:

  • MCU: STC8A8K64S4A12
  • Display: SSD OLED with 7-Pin SPI Interface
  • Resistor:1W 11k, 1/4W 2k, 1/4W 11k
  • Capacitor:47uF, 0.01uF
  • EC11 Encoder,Toggle Switch,2-Pin Terminal(for input of the oscilloscope)
  • IC Socket 40-Pin,Row Pin
  • 3.7V Li-ion Battery
  • 5V Booster Module
  • USB-TTL Downloader
  • Circuit Board

Step 2:PCB board design