You can make something by fishing, see the video at https://www.bilibili.com/video/BV1N44y1E72R
The code has been open sourced, see the end of the article
Oscilloscope parameters:
AD input voltage 0-3.3V/5V (depends on the screen)
8bits@200Khz
1-2-5 time base step from 5us to 500us
Vertical magnification 1-2-5 times
Three triggering methods, 10 trigger levels from 0-90%
Waveform measurement function
The core board is based on my project https://oshwhub.com/Eltecz/stc8h1k
----------
The schematic diagram is for reference, LAYOUT is not drawn, and the TSSOP20 microcontroller will be used to make the actual object. The new version of the oscilloscope has been produced, see [Station B] / [LCEDA]
Note, please adjust the frequency to 32Mhz when downloading
Note: If you use a microcontroller with 8kb Flash space, please change the compilation level to -level 9, and the compilation option needs to be changed to favor size
Please go to stcmcudata.com to query the file creation of STC microcontroller, which will not be introduced in this article.
----------
The programming ideas and source code have been updated to station b and other platforms .
Tutorial address : [CSDN] / [Bilibili Column]
Code repository: [gitee]
*The source code uses self-written reg51.h, which has been uploaded to gitee.com, please replace it yourself.
If a bug occurs during operation, please send a message via Lichuang Kaiyuan/b site private message/comment area or email. I will modify the program and update it in time.
If you need more cooperation, please only specify the email address Defenver@foxmail.com
Direct use of this code for commercial applications is prohibited, but everyone is encouraged to learn from it and make better works.
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet