3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

DPScope - Build Your Own USB/PC-Based Oscilloscope

DPScope - Build Your Own USB/PC-Based Oscilloscope

 
Remove these adsRemove these ads by Signing Up
 

Step 1Instrument Specifications

Below you see the specifications of the instruments. If you are familiar with oscilloscopes you will see that the DPScope has pretty much all the features you'd expect from a decent lower-end instrument.

If you aren't a number freak, feel free to skip this page as fast as you can :-)

On the next page I'll discuss a few of the key specifications.


Input:
      
Number of channels: 2
Analog bandwidth: > 1.3 MHz
Input impedance: 1 MOhm || 15 pF
Probe connection: BNC
Usable probe types: Standard 1:1, 1:10, 1:20 probes

Vertical (voltage) scale:

Vertical sensitivity (20 divisions):
- 5 mV/div to 1 V/div (1:1 probe)
- 50 mV/div to 10 V/div (1:10 probe)
- 100 mV/div to 20 V/div (1:20 probe)

Vertical offset: 0 - 20 divisions

Maximum voltage range   
-12V ... 20V (1:1 probe)
-120V ... +200V (1:10 probe)
-240V ... +400V (1:20 probe)

Probe compensation: yes (2 kHz calibration output)

Offset adjustment: yes

Horizontal (time) scale:
      
Max. sample rate (single shot): 1 MSample/sec
Max. sample rate (repetitive signals): 20 MSamples/sec

Timebase settings (scope mode): 0.5 usec/div ... 1 sec/div
Timebase settings (datalogger/roll mode): 0.5 sec/div ... 1 hr/div

Trigger:

Trigger source: CH1, CH2, auto (free run)
Trigger polarity: rising edge, falling edge
Trigger noise reject: yes (selectable)
Pre-trigger capability (i.e. can show what happened
before the trigger event): 0 - 20 divisions
Post-trigger delay (delayed scan, to look at the
signal long after the trigger event but with high
resolution): 0 - 200 divisions

Acquisition:

Record length (normal mode): 200 points/channel
Record length (FFT mode): 400 points/channel
Max. screen refresh rate: up to 40+ frames/sec
Datalogger mode (roll mode): yes (data can be logged to file in real time)

Display:

Real-time FFT: yes
FFT filters: Rectangular, Hanning, Hamming, Blackman
Averaging: yes (2 / 5 / 10 / 20 / 50 / 100)
X-Y mode: yes
Display styles (can be combined): Points, Vectors (Lines), Infinite Persistence

Time and level measurements: yes (using cursors)

Save & Restore:

Waveform export (e.g. to Excel):yes (CSV format)

Save/restore of scope setups: yes

PC Software:
      
PC connection: USB, 500 kbaud
PC software: Windows 2000, XP (SP3), Vista, 7
Minimum screen size: 800 x 600 pixel

Mechanical construction:

Power supply: through USB (5V / 250mA)
(external supply 7.5 - 9V / 300mA optional)

Approx. size (in enclosure): 4.5" x 2.6" x 1.2" (114 mm x 66 mm x 31 mm)
       
Component count: ~50
Solder connections to make: ~200
Required skill level for assembly: moderate; only through-hole components and DIP
packages (no surface mount or fine pitch parts)
Printed circuit board: Professional printed circuit board with corrosion-resistant, gold-plated pads and contacts (not cheap solder finish), with silkscreen
to denote component locations.

Enclosure: Sturdy ABS plastic enclosure with custom glass-fiber front- and back-panel, silkscreen. All
holes pre-drilled - no drilling required.

Microcontroller and USB interface: Fully pre-programmed; no programming required


« Previous StepDownload PDFView All StepsNext Step »
99 comments
1-40 of 99next »
Dec 27, 2011. 10:35 PMrocketman221 says:
It would be useful to me if the program was available for Linux.
Mar 7, 2012. 6:36 PMzamroni_ilyas says:
can you give me source code of VB6 for this software?
thanks before.
Dec 29, 2011. 11:28 AMrocketman221 says:
Unfortunately the program is a bit more advanced than what I could write, but maybe someone could write a cross platform (possibly java based) version eventually.
Nov 10, 2011. 2:21 AMshafiq2eng says:
Hello Friends,
i have mad this project now i need source cod for PIC30F..
please help me for this at (shafiq2eng@hotmail.com)
Jul 17, 2011. 10:59 AMrashmi1990 says:
Hi this design is bit complicated for a beginner

if some body want a easy design then check this link
http://microembeded.blogspot.com/2011/07/two-channel-pcbased-oscilloscope-usb.html
Jul 5, 2011. 9:09 AMbalaji11 says:
when will be ur AWG??
atleast send circuit diagram
Jun 21, 2011. 6:52 PMburnerjack01 says:
How do I obtain this kit?
Jun 16, 2011. 9:01 AMbatman96 says:
There should be flash storage in the scope so that when you plug it in it installs the program.
I got a question for someone who knows about osciliscopes, I saw one at a flea market, on the outside it looked good, it is about 30 years old, what are the chances of it working or being fixable?
Mar 15, 2011. 5:45 PMsaturnino says:
Most nicely explained project. Could there be another projects ?
Best wiches.

Carlos Ahumada
Santiago de Chile
Mar 14, 2011. 5:41 PMhesslerk says:
Hi there,

I am working on a PIC project right now with the PIC18F4550. Would it be possible for you to send me your C++ code for the oscillator, ADC, and SPI communication?
hesslerk@gmail.com

Thanks!
Kurt
Mar 4, 2011. 7:21 PMjumbocat says:
Wow, Im about 4 mos into building electronic projects, and I have yet to see such amazing detailed instructions for a project! You put a lot of thought into this. I will definitely be pick your self assembly up as soon as my Solder skills are better.
Feb 2, 2011. 12:24 PMrosenred says:
Although I cannot but marvel at the quality of your work, I could not bring myself to give you a good rating, or even consider buying your kit.

I have been a member of Instructables for quite some time and even before that, I would pop in to check on some project or another and trust me it's not the first time I see someone advertising their work. And believe me I am totally fine with that. As a matter of fact, I believe that if one can profit from a great design and/or personal work, it's not bad at all, as long as there are willing customers.

To be honest, I expected many more reactions in the comments so far, since I've seen people get upset for less obvious advertisement. But in most other cases, as I recall, the 'ibles were enough to complete the project without having to buy something from a specific someone.

In your case, you repeatedly refused to give the firmware and the circuit layout when asked and sometimes you did not even bother to answer.

I know that if I were more skilled in electronics and mc programming, I would work something out on my own, as you pointed out (using a proto-board for example).

Again, I am not giving you fault here, I just expected a little more honesty from your side. You could have stated in the beginning that this is an 'ible to build a very specific kit, as others have done. "Build your own" is a bit misleading don't you think? If I were to follow this 'ible, I would be building *your* USB/PC-Based Oscilloscope, not mine.

I have no intention of being offensive or anything, so I apologize beforehand if my comment upset you, I just thought I should give my two cents.

Feb 6, 2011. 1:32 PMrosenred says:
Thank you very much for taking the time to answer. I never said though, you are not contributing to this community, I assure that would be horrible on my part. I do get your point. I might have exaggerated a little and for that I must apologize.

Thank you for the link to your other project. Again (with my little experience in electronics) I cannot but admire the design.

I sincerely hope you were not offended or in any other way annoyed by my comment. I just expressed what was in my head at the time of reading.

Feb 7, 2011. 1:20 AMrosenred says:
Thanks! I was considering the Andruino, but I am sure this one would be much simpler for a beginner like me :)

Much appreciated!
Jan 4, 2011. 3:39 AMlgeorge123 says:
I use visual c# to display my scope screen , your screen is 40+ frames/sec , do you feel your screen flicker ? in my code I use timer to update my ADC data and set timer to 4ms interval , I feel my screen flicker very fast :

private void timer1_Tick(object sender, EventArgs e)
{
Graphics g = pictureBox1.CreateGraphics(); // pictureBox1 is picture that
display grid
pictureBox1.Refresh();
// function to display adc data;


}
Sep 6, 2010. 5:16 AMkalnas says:
What bandwidth I can see with this oscilloscope? from 1.3 MHz to ...?(60MHz)? Thanks for answer
Aug 26, 2010. 5:09 AMlgeorge123 says:
Can you disclose how you do the trigger level function of your scope , as I want to do a project in my college .
Jul 30, 2010. 5:03 PMtaurus123 says:
This is not much of a scope, especially when you are doing digital work. It is slow, the software freezes, the screenshots are not that great. Look around before you buy this. For a few more bucks, you can do better than this.
Apr 6, 2010. 12:07 AMiEdd says:
 I just built mine, and I'm a bit disappointed. Here's the problems I have so far:

1. The microcontroller gets pretty hot. I think hot enough to burn your finger if you leave it there for more than 10-15 seconds.

2. The waveforms in the software will be active for about 5 seconds, then freeze for about 5 seconds, then active again, etc.

3. After about 1 minute of constant operation, it freezes. The waveforms are frozen, but the software still works (I can move the sliders, etc). So I think it's a hardware/firmware problem and the microcontroller that is freezing. I have to unplug the USB cable and plug it back in to get it going again.

Is any of this normal? I've been looking, but haven't found any shorts or bridges in my soldering. Has anyone else had these problems?
Jun 16, 2010. 11:26 AMJeffrey G C says:
Womai, i bought your dpscope also, and mine does the the same thing with the software, where it will work for a little while, but then after measuring, the waveform freezes, sometimes i cant even see the waveform, i have actually put it into a modded removable hard drive case this way i have a place to put a fan that will hopefully keep it cooler, i dont remember if that fixed it or not, i havent used it in a while, but i have another question, is it possible to not use the +5 power supply from the usb? in other words, is it possible to use a wallwart power supply to supply the power to the board, i saw that there were provisions in your schematics to run on external power, but i couldnt get it to to turn it on with the wall adapter, the i put in the 5v regulator, and the capacitor as well, i just made some rough mods, i painted it, but havent finished the whole thing yet, so if anyone likes i can put pics up when i finish it, it may be a while though
Jun 17, 2010. 4:08 AMJeffrey G C says:
20E/SP 0841262 and i do have it on the ext power setting, so i know that shouldnt be an issue, the light wont blink on when the power setting is on ext, so i have no idea why its not turning on.
Apr 8, 2010. 9:00 PMiEdd says:
 Thanks for the reply. I've tried it on my Mac through VMWare and by booting into Windows, but it's the same install. I'll have to try it on another windows machine later.

Also, wrt to software for mac - you mentioned that it would be good if an individual would get it working for mac/linux.

I can get your DPScope program running on Snow Leopard with Darwine, which is easy. Just install as normal. Problem is, it doesn't recognise the scope. Are there any clever people out there that can get winehelper to emulate the COM port through the mac's USB? I don't think it should be that difficult, I'm just not that experienced with darwine or FTDI drivers.
Jul 14, 2010. 5:59 AMlgeorge123 says:
I found several c# and c++ programs about pc based oscilloscope , they have buffer size range from ten thousands to store data from adc . If you use a rectangle size said 700x500 pixel to display the waveform , a maximium of horizontal 700 pairs of data to display on this rectangle . But the buffer size is ten thousand long , how can this rectangle accommodate this large buffer size ??
1-40 of 99next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
59
Followers
3
Author:womai