PC-Based Oscilloscope Building: Get Started Now!

  • Thread starter Thread starter rehman
  • Start date Start date
  • Tags Tags
    Oscilloscope pc
Click For Summary
SUMMARY

This discussion focuses on building a PC-based oscilloscope using a microcontroller, specifically recommending Microchip's microcontrollers due to their built-in ADC capabilities. Key specifications to define include bandwidth, sampling rate, input impedance, and power supply type. The design approach varies based on whether the oscilloscope will analyze digital or analog signals, with methods for data sampling and mathematical waveform representation discussed. Resources for further guidance include links to Microchip's website and relevant blogs.

PREREQUISITES
  • Understanding of microcontroller architecture, specifically Microchip microcontrollers.
  • Knowledge of analog and digital signal processing techniques.
  • Familiarity with ADC (Analog-to-Digital Converter) functionality.
  • Basic circuit design principles, including bandwidth and sampling rate considerations.
NEXT STEPS
  • Research Microchip microcontrollers with built-in ADC capabilities.
  • Learn about bandwidth and sampling rate calculations for oscilloscope design.
  • Explore analog and digital signal processing methods for waveform analysis.
  • Investigate fast Fourier analysis techniques for mathematical waveform representation.
USEFUL FOR

Electronics hobbyists, engineers, and students interested in building custom oscilloscopes and enhancing their understanding of signal analysis and microcontroller applications.

rehman
Messages
1
Reaction score
0

Homework Statement


I Want to Build an oscilloscope using microcontroller.I do not how to get started.


Homework Equations


Is there any internet resource that provide full schematic and circuit discription.


The Attempt at a Solution


 
Physics news on Phys.org
I think someone has already asked a similar question. I just can't find this thread again. The approach is like this:
-Define specifications of you scope
Bandwidth, Sampling Rate
Input impedance, Attenuator/Amplifier stage
Power supply (dual or single)

Since you want to start with a uC-design I would recommend any of Microchips uC's, since they have a built in ADC, so you can start right away.

http://zedomax.com/blog/tag/microchip/"

http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=64"

http://www.semifluid.com/?p=15"
 
Last edited by a moderator:
First question,

1) What are you going to use it for?

Possible answers: Digital (ttl etc) circuit analysis, Analogue (e.g audio signals).

Depending upon which type will define the design strategy, for example if using it for digital signals having only two possible values you need only detect whether the level is above/below a threshold and for how long that state is maintained. THis is simply stored as a few bytes/sample.

For an analoge system you can either successivly sample a waveform and save the data or (a faster method) sample the delta change from the suceeding sample.

A third method involves a mathematical description of the waveform using fast Fourier analysis.

Need to know: Analogue or digital?
Max frequency to be analysed.

Suppose you want to look at a 1000 hz sinewave - draw a single cycle out on a sheet of paper, now how accuate do you want it displayed? sketch the minimum number of points then multiply this by 1000 - that's how many samples per second you require. - must go possibly more later..
 

Similar threads

Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
24
Views
6K
  • · Replies 9 ·
Replies
9
Views
5K