Instructables
loading
loading
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

----------------------------------------------------------------------------------------------------

Today 21 Nov 2014, my Instructable crossed 100000 Views!

At this Milestone I am happy to share all the source files (C, .Net & Python) at:

https://github.com/ajoyraman/USB_Matchbox_Scope

-----------------------------------------------------------------------------------------------------
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-si...

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

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

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

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

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

Two-Channel PC Based Oscilloscope USB, by Gaurav Chaudhary
http://www.circuitvalley.com/2011/07/two-channel-...

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 103Next »
kh90058 days ago

I want to make this project. I would apreciate if you could send the files to:

kh90052@gmail.com

joelp417 days ago

This is an excellent and useful diy project. Will i need a tool to program the chip? Can you please send the the gerber files to parkj315@gmail .com. Thanks.

joelp417 days ago

This is an excellent and useful diy project. Will i need a tool to program the chip? Can you please send the the gerber files to parkj315@gmail .com. Thanks.

SureshB51 month ago

i want to make this. please sent me gerber file on suresh.bhujang@gmail.com

SureshB51 month ago

I want to make this. I would apreciate if you could send the files to suresh.bhujang@gmail.com

ajoyraman (author) 1 year 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
m2k2 ajoyraman8 months ago

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

Thank you very much!

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

Dear ajoyraman,

Can you please send me the Gerber files. I would like to build one for myself. i have PM-ed you my mail ID.

Thank You!

Dear ajoyraman,

Can you please send me the Gerber files. I would like to build one for myself.

Thank You!

TiborH ajoyraman4 months ago

Dear ajoyraman,

Please send me a copy of the Gerbers to tido89 [at] gmail [dot] com.

Thank you!

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

Could you send the files to trashbin2k@gmail.com

Thank you very much!

Hello Ajoy Raman, the SMD version looks really good and it seems to be a simple soldering work.

Could you please send me the PCB layout as both copper sides and both silkscreen (if existing)? I will try to make this design since I am a student and I need an oscilloscope to keep learning and designing at home. My e-mail is Rbruno96@hotmail.com

Thank you in advance.

hpladds ajoyraman4 months ago

I wonder how the parts list of this design differs from the original one?

hpladds hpladds4 months ago

Have I located the source of my confusion about the parts? The Bill of Materials and the Gerber file labels differ: (U1=J5), (U2=J5), (U5 U30=J1 J3), (U4=J3), (Y1=J10).

Also the probe connections and the reset bottons differ from project build to another project build.

Correct?

ajoyraman (author)  hpladds4 months ago

When I built the snd version as per JHx hari. I used the component location and values as given in the gerber file. They are correct except for one component (150 Ohm to be changed to 10 Ohm which I have marked in pencil). I did not do a on-to-one comparision between the two designs. However I checked the wired circuit against my original circuits. I believe this is the best way to go about the fabrication. I am adding the top/bottom component layout from the gerber files.

Component Top.jpgComponent Bot.jpg
hpladds ajoyraman4 months ago

Thanks again, these schematics answer my questions.

JHx hari assigned different labels to the parts than your original design. For example: a dsPIC30F2020 is a "U4" on the original BOM. In schematic included here the dsPIC30F2020 is a "J3."

I was concerned that the different labels might indicate different parts -- SMD vs. DIP for example.

Thanks again -- as a noob -- I have more questions than the typical. Thanks for you understanding.

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

ajoyraman (author)  stuffdone11 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
Plz send me this project (layout and software)
Regards
Minhnghi (minhnghitang@gmail.com)
LucaS1 ajoyraman5 months ago

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/

sir please send gerber files on

ep.hobbyiest@gmail.com.

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 ajoyraman11 months ago

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

Thanks!

Kindly advise the logic to adjust the mcp6s22 and what is the data packet format sent to the PC (just to configure how to interface an Android based oscilloscope like https://play.google.com/store/apps/details?id=com.... )

I would like to use the Pinguino board which uses PIC32MX440) so iI do appreciate the algorithm flow chart of the PIC program so I could port it to the Pinguino board and interface it to the Android app Oscilloscope Pro.

Thanks and Regards

ajoyraman (author)  mohammed.shalash.772 months ago

Kindly look at the files defining the interface-control ICD_Scope2.pdf, Readme_Scope2.doc

at:

https://github.com/ajoyraman/USB_Matchbox_Scope/tree/master/MPLAB%20C30_Code/015_Scope2

Very much appreciated.

Is it possible to get the hex code file for the PIC30F2020?

Thanks

ajoyraman (author)  mohammed.shalash.772 months ago

The Hex code and documentation is at Step 13 and a link to the source code on the intro page

I'd like a copy of the Gerber files too if that is OK?

lettherebebeer@yahoo.co.uk

Thank you.

romainhuon5142 months ago

may I have te Gerbers too? r2d2montreal@gmail.com thx

Majid_Pakdel2 months ago

Dear ajoyraman,

Please also send me a copy of the Gerbers to pakdel@mail.ru

Sincerely

Dear ajoyraman,

Тhis is the best project I've ever seen!

Please send me a copy of the Gerbers to b_z_dimitrov@abv.bg

Best regards!

dacamm3 months ago

Dear sir, I do not have MCP6S22 ,can I replace it with mcp6s91 ? Thanks in advance.

ajoyraman (author)  dacamm3 months ago

A quick look at the data sheets of the two devices brings out:

1. The pin connection are identical except that Pin3 on the MCP6S91 should be connected to ground. (the MCP6S92 would be pin-for-pin).

2. The serial protocol appears to be identical for use of CH0 and should operate with what has been programmed in the micro-processor.

3. The power supply spec is OK and the Bandwidth is better.

The MCP6S91/92 should work !

dacamm ajoyraman3 months ago

Thank you very much for your prompt reply. I'll make an oscilloscope, so I'll answer how it works.

VijayC13 months ago

I am interested in making the SMD version please share PCB / Gerber, Schematic files. Thanks in advance... VijayChavan007(at)gmail.com

gylim784 months ago

I would very much like to try this Can you please send me the files to gylim78 (at) gmail.com

Hwa LengT4 months ago

Hi Ajoy,

Can you share with me?

hwaleng82@gmail.com.

Thanks

1-40 of 103Next »