AMAZING DIY DIGITAL OSCILLOSCOPE

by ahsanbilal0309 in Circuits > Electronics

106 Views, 2 Favorites, 0 Comments

AMAZING DIY DIGITAL OSCILLOSCOPE

TSscCXYeDfrGcn8E0iZRR2eynVWQ2IW2JWcSVKHm.jpeg
HOW TO MAKE DIGITAL OSCILLOSCOPE

Welcome to this Instructable on creating a mini oscilloscope! If you are an audio enthusiast or electronics hobbyist looking for a compact, user-friendly device to measure and display electrical waveforms, this project is for you. Our mini oscilloscope project aims to help you analyze circuit behaviors, diagnose issues, and learn more about microcontroller programming and PCB design.

In this project, we will use a GD32 microcontroller to handle signal processing and user interface operations, and a display module to visualize the waveforms. The oscilloscope captures input signals through probes, processes them using the microcontroller, and displays the real-time waveform on the screen.

This project was part of the Lichuang Training Camp, where we delved into oscilloscope principles, PCB design, and GD32 microcontroller programming. We also explored Lichuang EDA for designing enclosures and panels, ensuring our device is both practical and efficient.

Key features of our design include input probes on the left for left-hand operation and function buttons and knobs on the right for right-hand operation, aligning with common usage habits. Our enclosure was designed using Lichuang EDA, showcasing its powerful and user-friendly capabilities.

Throughout this Instructable, we will guide you through the design and development process, from concept and initial design to assembly and testing. By the end, you will have a fully functional mini oscilloscope and a deeper understanding of the tools and techniques used in its creation. Let's get started on this exciting journey!

Supplies

LC-GD32E230C8T6

  • Quantity: 1
  • Footprint: DIP-40_L53.3-W22.9-P2.54-LS15.24
  • Supplier Part: C20068939
  • Supplier: LCSC

KH-TYPE-C-2P

  • Quantity: 1
  • Footprint: USB-SMD_KH-TYPE-C-2P
  • Supplier Part: C2919656
  • Supplier: LCSC

SK-12E12-G5

  • Quantity: 3
  • Footprint: SW-TH_SK-12E12-G5
  • Supplier Part: C136720
  • Supplier: LCSC

0603WAF1001T5E

  • Quantity: 4
  • Footprint: R0603
  • Value: 1kΩ
  • Supplier Part: C21190
  • Supplier: LCSC

XL-302SURD

  • Quantity: 1
  • Footprint: LED-TH_BD3.8-P2.54-RD
  • Supplier Part: C2895470
  • Supplier: LCSC

XD7660

  • Quantity: 1
  • Footprint: SOP-8
  • Supplier Part: C521200
  • Supplier: LCSC

LL4148

  • Quantity: 1
  • Footprint: DO-35
  • Supplier Part: C2891733
  • Supplier: LCSC

CC0805KRX7R9BB104

  • Quantity: 11
  • Footprint: 0805
  • Value: 0.1uF
  • Supplier Part: C49678
  • Supplier: LCSC

KH-BNC50-3511

  • Quantity: 1
  • Footprint: BNC
  • Supplier Part: C2837587
  • Supplier: LCSC

0805W8F5103T5E

  • Quantity: 2
  • Footprint: 0805
  • Value: 51kΩ
  • Supplier Part: C17733
  • Supplier: LCSC

0805W8F4703T5E

  • Quantity: 1
  • Footprint: 0805
  • Value: 470kΩ
  • Supplier Part: C17709
  • Supplier: LCSC

0805W8F2002T5E

  • Quantity: 4
  • Footprint: 0805
  • Value: 20kΩ
  • Supplier Part: C4328
  • Supplier: LCSC

0805W8F1002T5E

  • Quantity: 4
  • Footprint: 0805
  • Value: 10kΩ
  • Supplier Part: C17414
  • Supplier: LCSC

CC0805JRNPO9BN681

  • Quantity: 1
  • Footprint: 0805
  • Value: 680pF
  • Supplier Part: C107121
  • Supplier: LCSC

CC0805JRNPO9BN100

  • Quantity: 1
  • Footprint: 0805
  • Value: 10pF
  • Supplier Part: C107107
  • Supplier: LCSC

0805W8F0000T5E

  • Quantity: 1
  • Footprint: 0805
  • Value: 0Ω
  • Supplier Part: C17477
  • Supplier: LCSC

EC11L1525G01

  • Quantity: 1
  • Footprint: SW-TH
  • Supplier Part: C2991196
  • Supplier: LCSC

TC-6610-9-260G

  • Quantity: 3
  • Footprint: SW-TH
  • Supplier Part: C2845257
  • Supplier: LCSC

XL-304UGD

  • Quantity: 2
  • Footprint: LED-TH
  • Supplier Part: C2895477
  • Supplier: LCSC

B-2100S02P-A110

  • Quantity: 2
  • Footprint: HDR-TH
  • Supplier Part: C124375
  • Supplier: LCSC

1.8 TFT 128RGB160

  • Quantity: 1
  • Footprint: LCD-TH
  • Supplier Part: C9900080251
  • Supplier: LCSC

M3 Screw

  • Quantity: 4
  • Footprint: M3 Screw
  • Supplier: Not listed

01EC1809SHC10UF50V

  • Quantity: 3
  • Footprint: CAP-TH
  • Value: 10uF
  • Supplier Part: C503219
  • Supplier: LCSC

TP-Yellow Test Point

  • Quantity: 9
  • Footprint: TESTPOINT-TH
  • Supplier Part: C9900007422
  • Supplier: LCSC

TL072IDR

  • Quantity: 1
  • Footprint: SOIC-8
  • Supplier Part: C6962
  • Supplier: LCSC

LM393

  • Quantity: 1
  • Footprint: SOP-8
  • Supplier Part: C400839
  • Supplier: LCS

Design and Development Process

  • Concept and Initial Design:
  • Understanding the basic requirements of a mini oscilloscope.
  • Designing the schematic using Lichuang EDA.
  • PCB Layout and Prototyping:
  • Creating the PCB layout in Lichuang EDA.
  • Making adjustments for practicality and ease of use (left-hand probe operation, right-hand function control).
  • Microcontroller Programming:
  • Using the GD32 microcontroller, programming it to process input signals and control the display.
  • Replicating and improving the default training camp program.
  • Enclosure Design:
  • Designing the enclosure using Lichuang EDA.
  • Focusing on familiarizing with software features and order process.
  • Planning to integrate the circuit board for a thinner design in future iterations.
  • Assembly and Testing:
  • Assembling the components and enclosure.
  • Testing the device to ensure proper functionality and making necessary adjustments.

3D DESIGN AND ENCLOSURE

J2zX2SPae7Um7ELHiO74ub0q3Y1CE46eSfhGNYzB.png
PgYa7HdR7YkXYElxOeR4r3Ce1IM53eIcncJzH4uE.png
WjFqkttRMLasIseVUN0PUxS7h1WAIAciCaOy2FtG.png
SCDHGnDj8sSOZTJdnzXnjvq1ysYj3bEpvUOAlcSg.png

SCHEMATIC

SCH_示波器_1-P1_2024-06-11.png

Downloads

PCB LAYOUT

Screenshot 2024-06-11 170259.png
Screenshot 2024-06-11 170321.png

Practical Use and Benefits

The mini oscilloscope provides a convenient and compact solution for audio enthusiasts and electronics hobbyists. It allows users to:

Visualize and analyze electrical waveforms.

Diagnose and troubleshoot circuit issues.

Learn and experiment with microcontroller programming and PCB design.

Conclusion

This mini oscilloscope project showcases the power and versatility of Lichuang EDA for PCB design and enclosure creation. It’s a testament to PCBWAY commitment to providing valuable resources and training to the community, enabling enthusiasts to bring their innovative ideas to life.