Instructables
Picture of DIY - USB OSCILLOSCOPE IN A MATCHBOX
I present a "BEST OF CLASS", "Full-Featured"  DIY-USB OSCILLOSCOPE which is  "Truly DIY".

My aim is to provide a cheap  Digital-Storage-Oscilloscope for Students,  Budding Engineers and the Hobbyist.

This USB-Oscilloscope could be part of the laboratory equipment in educational establishments.

Build this DIY-Oscilloscope for just $15

I wish to acknowledge the inputs from the following designs which have led to this optimized solution:

DPScope SE - the simplest real oscilloscope/logic analyzer on the planet, by womai, http://www.instructables.com/id/DPScope-SE-the-simplest-real-oscilloscopelogic-/

DPScope - Build Your Own USB/PC-Based Oscilloscope,by womai
http://www.instructables.com/id/DPScope-Build-Your-Own-USBPC-Based-Oscilloscope/

LCS-1M - A Full-Featured, Low-Cost Hobby Oscilloscope,by womai
http://www.instructables.com/id/LCS-1M-A-Full-Featured-Low-Cost-Hobby-Oscillosc/

PC SOUND-CARD SCOPE INTERFACE FACILITATES DC RESTORATION, by me
http://www.instructables.com/id/PC-SOUND-CARD-SCOPE-INTERFACE-FACILITATES-DC-RESTO/

Universal Analog Hardware Testbench, by me
http://www.instructables.com/id/Universal-Analog-Hardware-Testbench/

Analog Experiments Anywhere,by me
http://www.instructables.com/id/Analog-Experiments-Anywhere/

Two-Channel PC Based Oscilloscope USB, by Gaurav Chaudhary
http://www.circuitvalley.com/2011/07/two-channel-pcbased-oscilloscope-usb.html
 
Responding to comments and suggestions from many members :
 
I am sharing the micro-controller fuse .Hex file for the dsPIC30F2020.
 
The Host PC software has been written in both 'Visual Basic.Net' and open source 'Python' providing a cross-platform GUI based solution for both  Windows and Linux platforms.

 
Remove these adsRemove these ads by Signing Up

Step 1: Specifications

Picture of Specifications
Input
No of Channels Two
Analog bandwidth (Large Signal), 0.30/0.30/0.70 MHz ,For Gain 1/2/5
Analog bandwidth (Small Signal), 12/6/7 MHz ,For Gain 1/2/5
Input impedance 1 Meg Ohm
Input connection  3 mm Audio Jack
 
Vertical Scale 
+12.5V to -12.5V , Gain 1
+6.25V to - 6.25V, Gain 2
+2.50V to -2.50V,  Gain 5
 
Offset
 -12.5V to +7.50V ,  Gain 1
 -6.25V to +13.75V, Gain 2
-2.50V to +17.50V,  Gain 5
 
Sampling Rate  
1 Mbps to 20  Mbps ,1 uses/sample to 0.05usec/sample ,ETS  Mode (repetitive signals)
10bps to 500 kbps, 100ms/sample to 2uses/sample , Normal Mode
 
Trigger
Ch1 / Ch2 / Auto

Trigger Polarity
Rising / Falling edge

Trigger Range
+12.5V to -12.5V, Gain 1
+6.25V to - 6.25V, Gain 2
+2.50V to -2.50V,  Gain 5
 
Display Modes
Ch1 + Ch2  vs. time 200 Samples each
Ch1 vs. time 200 Samples
Ch2 vs. time 200 Samples
XY Ch1 + Ch2 vs. time 200 Samples each
DFT Ch1 400 Samples
DFT Ch2  400 Samples
 
Capture Modes 
Single / Repeat / Store
 
Save Modes
Data to CSV Fig to multiple formats
 
PC Software
VB.Net 2.0  / Python 2.6/2.7 Virtual Com Port 115200 bps
 
Power Supply
USB +5V , 150 mA
1-40 of 66Next »
ajoyraman (author) 7 months ago

JHx who has built a smd version of this scope says:

"i build your matchbox osciloscope and it worked ok from the begining. thank you."

He uses it as a automotive diagnostic tool.

The Gerber files are available on request.

Thanks JHx.

IMG_20140318_093612.jpgIMG_20140318_093844.jpg

I would love a copy of your GBL files! paul@paulkruger.us

ajoyraman (author)  stuffdone6 months ago

I have sent you the Gerber files. Both my design and those kindly shared by JHx for the SMD version.

This project has now been successfully built by several members!!

dear sir,

May you send me gerber files of both version?

Regards

Luca (luca.schenato.it@gmail.com)

Just in case someone needs to view gerber give this open source viewer a try.

http://sourceforge.net/projects/gerbv/

m2k2 ajoyraman2 months ago

I'd appreciate if you could send those files to m2k2@raz-dva.cz.

Thank you very much!

ajoyraman (author)  m2k22 months ago
Great ! You would be the 9th to build this scope. Files sent. Best wishes.

Hi id also like to give it a try...

Could you send the files to trashbin2k@gmail.com

Thank you very much!

Hi, can I also give it a try?
I'd appreciate if you could send those files to sabotenboy_london@goo.jp.

Thank you very much!

w_ingel ajoyraman6 months ago

I would love too a copy of your GBL files! willy1142@gmail.com

Thanks!

trevwhite3 days ago
Hi. Is the Python script available or is this closed source?

Thanks

Trev
ajoyraman (author)  trevwhite3 days ago
Dear Trev,

I have for the first time shared all my code for my recent Instructable USB-ZRLC-TWEEZERS at GitHub and am watching the popularity of this.

Yes, the USB Oscilloscope is probably the most popular Instructable done by me and all the code C-Source, VB.Net2 and Python .py files would shortly be posted on GitHub.

I'll give you a tinkle when that is done.

All the best,

Ajoy Raman
gandalfit made it!7 months ago

I built a mostly SMD version of the scope. As can be seen from the image I made a few rookie mistakes. Apart from this the scope is working very well.

I use it for debugging other test setups and I am collaborating with some students that might use it for their projects.

If anyone are interested in the diagram in Eagle format or the gerber files I am happy to share them.

Thank you very much for the project.

board.jpg

I would apreciate if you could send the files to tatoee@gmail.com

I have sent them to you. Have fun with the project.

hi,I would very much appreciate your files for the neat scope version if you could send to gary.meadows@ntlworld.com. Thank you in advance. Gary
ajoyraman (author)  gmeadows32 months ago

I have also sent you versions from JHx hari & Heartman!

prasha9201 month ago

really a must do mini project which have great use in minilab for hobbysts like me....

sir kindly send the required files to build this project., prasha920@gmail.com

thanks and regards Prashant...

High interest about Gerber pcb files smd version... Many thanks!

seniorpuchov@gmail.com

florentin1 month ago

Hi,

Can you share JHx hari pcb files.

Thank you,

Florentin (florentin.andreescu@yahoo.ro)

nirdla282 months ago

Hi! I have read about your project and it is amazing! I wanted to make one of these too so if you have time, maybe you could send me an email along with the necessary information needed to create this project. My email is aldrinsagum18@yahoo.com Thanks! Have a nice day!

gmeadows32 months ago

Hi again,

Ajoy, you kindly sent the files for your scope, I wonder if you could also send the gandafit files as I would like to build an SMD version if possible.

Thank you

gary.meadows@ntlworld.com

ajoyraman (author)  gmeadows32 months ago

Gmeadows3, Sorry I do not have the files from gandafit.

While considering an SMD version it is still important to keep the PIC micro-controller as a DIP package because it needs a heat-sink.

I would recommend the version from JHx hari who has created a wonderful PCB with the PIC and some minimum non SMD components on the Top and all possible SMD components on the bottom. This appears an ideal allocation.

I built this version and am attaching two representative images. The only small change done is locating the reset switch in some spare space on the Top.

Many thanks to JHx hari who has kindly shared his design files.

Dsc00127.jpgDsc00128.jpg
Hi Ajoy,
thanks once again for the response. I agree that this version seems to be the best. It was just that I thought I could get a one sided board solution which I feel more confident in making, and the pic could still remain a DIP package.
I will first have a go at trying to create a single side PCB from the schematics but will attempt this version if I am unsuccessful.
Thank you for all your help and the files, I have been in the electronics business as a test and repair eng for many years and have used some very high end scopes in that time, yet I have never had one of my own. Now I am retired with time on my hands (but little money) I am eager to rectify the situation. This will be a very pleasing project for me.

Best wishes

Gary
yaly2 months ago

how much is its resolution ?

ajoyraman (author)  yaly2 months ago

The resolution id 8-Bits.

DougM12 months ago

I am very interested in building this oscilloscope. Would you be able to send me the plans? Thank you! dougamosher (at) gmail.com

ajoyraman (author)  DougM12 months ago

Done and thanks for the interest!

aaaaoooo2 months ago

Very good build for low cost , will help many engineers alike

Heartman2 months ago

Hi,

some news about this awesome project.
I worked in collaboration with Ajoy to design a new interface.
In the same time, he added some improvements also to polish the project,
and make it as a professionnal tool.

You will find an archive including the PCB, the Windows software, and the PIC firmware files, on my blog, HeartyGFX.
It's a French blog, but you have a translation button that will help you to follow, in your native language.

Here is some screen captures showing the new interface, and the AJScope in the 3D printed box.

Ajoy, again many thanks for this great tool very useful for the electro-hobbyist community.

Boitier_dspicoscope_2.pngDSPICoscope_Windows_Software_01.pngDSPICoscope_Windows_Software_02.pngDSPICoscope_Windows_Software_03.pngDSPICoscope_Windows_Software_04.png
ajoyraman (author)  Heartman2 months ago

Thank You! Heartman for the fantastic GUI and your help in ironing out the scope functionality. Collaborating with you has been a wonderful experience.

dhmarkley2 months ago

I would love to build your matchbox oscilloscope! Can you please forward me the plans? dhmarkley (at) gmail.com

ajoyraman (author)  dhmarkley2 months ago

Sent two additional PCB deigns that are more professional courtesy JHx Hari & Heartman Heartygfx.

Hi Ajoy,

I would like to build matchbox oscilloscope. Can you please forward the design files to naidu.smartprojects(at)gmail.com.

Thanks

Naidu

mariocaptain2 months ago

Dear Ajoy, may I have the SMD version of the PCB please? I really want to make one. My email is: d.q.a.nguyen (at) gmail.com

Thanks so much and best wishes!

Dave

ajoyraman (author)  mariocaptain2 months ago

Sent the files, enjoy!

Ajoy, it's very kind of you. I really appreciate the advice & guidance.

Dave

GChoules2 months ago

Ajoyraman: Thank you for this very interesting project. I am a hobbyist, just learning electronics, and I think this could be very useful next project for me. But can you tell me the difference between this oscilloscope and the "USB Student Oscilloscope" I saw on your website? The other appears to be more recent, but is it more capable?

Heartman2 months ago

Hi,

I made it!

Ajoy, you did an awesome work.
I redesigned the PCB, double side, easy to do with the toner transfert methode.

It use an external TTL>USB converter,
I tried different converters, all works as well. the PCB size is as a credit card.

The project files to make the PCB, will be available on my blog, soon.

Regards,

DSPICoscope_Final.pngDSPICoscope_plugged.pngDSPICoscope_PCB_01.png
piotreeek3 months ago

First of all I'd like to congratulate on a wonderful and simple project.

I have a question, though - how do you program your dsPICs? I have been using AVRs so far, so I don't have experience and knowledge needed and I can't find a suitable programmer and a decent piece of software. Please help or at least point out where to search.

I have designed a nice 5x10cm board with mostly SMD parts in Eagle that I can share if anyone wants it.

1-40 of 66Next »