diy usb oscilloscope in a matchbox

Upload: sub-zero

Post on 08-Jul-2018

275 views

Category:

Documents


4 download

TRANSCRIPT

  • 8/19/2019 Diy Usb Oscilloscope in a Matchbox

    1/21

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/ 

    technology  workshop  craft  home  food  play  outside  costumes 

    DIY - USB OSCILLOSCOPE IN A MATCHBOXby ajoyraman on October 7, 2013

    Table of Contents

    DIY - USB OSCILLOSCOPE IN A MATCHBOX  .......................................................................................

    Intro: DIY - USB OSCILLOSCOPE IN A MATCHBOX  ...............................................................................

    Step 1: Specifications  .......................................................................................................

    Step 2: Block Schematic and Function Description  ..................................................................................

    Step 3: Software on the PC Host  ...............................................................................................

    Step 4: GUI VB.Net 2.0  ......................................................................................................

    Step 5: GUI Software on Debian Linux "Lenny"  ....................................................................................

    Step 6: The Aj_Scope2 Unit  ..................................................................................................

    Step 7: Circuit Diagrams 1: USB Interface  ........................................................................................

    Step 8: Circuit Diagrams 2: Analog Interface  ......................................................................................

    Step 9: Circuit Diagrams 3: Processor Circuit  ......................................................................................

    Step 10: Bill of materials  ..................................................................................................... 1

    Step 11: Double Sided PCB "HOW-TO"  .......................................................................................... 1

    Step 12: Construction  ....................................................................................................... 1

    Step 13: Software and Documentation  ........................................................................................... 1

    File Downloads  ........................................................................................................... 1

    Step 14: Important  .......................................................................................................... 1

    Related Instructables  ........................................................................................................ 1

    Advertisements  ............................................................................................................... 1

    Comments  ................................................................................................................ 1

    http://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=titlehttp://www.instructables.com/tag/type-id/category-costumes/http://www.instructables.com/tag/type-id/category-outside/http://www.instructables.com/tag/type-id/category-play/http://www.instructables.com/tag/type-id/category-food/http://www.instructables.com/tag/type-id/category-home/http://www.instructables.com/tag/type-id/category-craft/http://www.instructables.com/tag/type-id/category-workshop/http://www.instructables.com/tag/type-id/category-technology/

  • 8/19/2019 Diy Usb Oscilloscope in a Matchbox

    2/21

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/ 

    Author:ajoyraman  Ajoy Raman

    I am a retired Electronic Systems Engineer now pursuing my hobbies full time. I share what I do especially with the world wide student community.

    Intro:  DIY - USB OSCILLOSCOPE IN A MATCHBOXI 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 womaihttp://www.instructables.com/id/DPScope-Build-You...

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

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

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

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

    Two-Channel PC Based Oscilloscope USB, by Gaurav Chaudharyhttp://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 Linplatforms.

    http://www.circuitvalley.com/2011/07/two-channel-pcbased-oscilloscope-usb.htmlhttp://www.instructables.com/id/Analog-Experiments-Anywhere/http://www.instructables.com/id/Universal-Analog-Hardware-Testbench/http://www.instructables.com/id/PC-SOUND-CARD-SCOPE-INTERFACE-FACILITATES-DC-RESTO/http://www.instructables.com/id/LCS-1M-A-Full-Featured-Low-Cost-Hobby-Oscillosc/http://www.instructables.com/id/DPScope-Build-Your-Own-USBPC-Based-Oscilloscope/http://www.instructables.com/id/DPScope-SE-the-simplest-real-oscilloscopelogic-/https://github.com/ajoyraman/USB_Matchbox_Scopehttp://www.ajoyraman.in/http://member/ajoyraman/http://member/ajoyraman/

  • 8/19/2019 Diy Usb Oscilloscope in a Matchbox

    3/21

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/ 

    Step 1: SpecificationsInputNo of Channels TwoAnalog bandwidth (Large Signal), 0.30/0.30/0.70 MHz ,For Gain 1/2/5Analog bandwidth (Small Signal), 12/6/7 MHz ,For Gain 1/2/5Input impedance 1 Meg OhmInput connection 3 mm Audio JackVertical Scale+12.5V to -12.5V , Gain 1+6.25V to - 6.25V, Gain 2+2.50V to -2.50V, Gain 5Offset-12.5V to +7.50V , Gain 1-6.25V to +13.75V, Gain 2

    -2.50V to +17.50V, Gain 5Sampling Rate1 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 ModeTriggerCh1 / Ch2 / Auto

    Trigger PolarityRising / Falling edge

    Trigger Range+12.5V to -12.5V, Gain 1+6.25V to - 6.25V, Gain 2+2.50V to -2.50V, Gain 5Display ModesCh1 + Ch2 vs. time 200 Samples eachCh1 vs. time 200 Samples

    Ch2 vs. time 200 SamplesXY Ch1 + Ch2 vs. time 200 Samples eachDFT Ch1 400 SamplesDFT Ch2 400 SamplesCapture ModesSingle / Repeat / StoreSave ModesData to CSV Fig to multiple formatsPC SoftwareVB.Net 2.0 / Python 2.6/2.7 Virtual Com Port 115200 bpsPower SupplyUSB +5V , 150 mA

    Step 2: Block Schematic and Function DescriptionFigure 1 shows the simplified block schematic of the system.

    For ease of portability the unit is powered and controlled from the USB port of a PC.

    The configuration is optimized so that only f ive integrated circuits all operating on a single +5V supply are required to provide the full functionality of this Digital StorageOscilloscope.

    The FT232R from FDTI is a USB to serial UART interface with advanced features providing:

    • A single chip USB to asynchronous serial data transfer interface.• With the entire USB protocol handled on the chip.• A fully integrated 1024 bit EEPROM storing device descriptors and CBUS I/O configuration.• With fully integrated USB termination resistors.• A fully integrated clock generation wi th no external crystal required

  • 8/19/2019 Diy Usb Oscilloscope in a Matchbox

    4/21

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/ 

    • Output selection enabling glue-less interface to external MCU or FPGA.• And data transfer rates f rom 300 baud to 3 Mega baud

    This chip provides a minimum component count USB-Serial interface and is used to communicate with the host PC for enumeration as a USB to UART device setting the Aj_Scope2 as a 200mA device and acts as the USB communication interface.

    The MCP6S22 devices are digitally controlled Programmable Gain Amplifiers (PGA) with high bandwidth and high input impedance controlled through a Serial-Peripheral-Interface (SPI). These devices provide the input interface between the dsPIC18F14K50 and dsPIC30F2020 and the external analog signals being monitore

    The dsPIC30F2020 micro-controller implements the main Oscilloscope Functions.

    • Analog to Digital conversion of the CH1 and CH2 signal conditioned inputs at the required sampling rates• Trigger interrupt handling

    • Responding to serial commands from PC and sending back the acquired data.• A Busy signal is also generated

    The dsPIC30F2020 micro-controller is ideally suited to this task as it permits simultaneous 2-channel A/D conversion at rates up to 1Msps, has internal comparatorswhich can handle the trigger functionality, provide PWM outputs which are used to set the input offset voltages and a SPI interface for controlling the PGAs.

    A LM1117 3.3V regulator provides a Voltage reference which is used to compensate for the gain changes with varying USB +5V.

    Step 3: Software on the PC HostBoth Microsoft Windows and Linux based GUI software have been developed to interface with the Aj_Scope2 via the USB port of a PC.

    Visual Basic .Net Microsoft Windows Application Code

    A Visual Basic .Net 2.0 based GUI program is used to control the functions of the Aj_Scope2.

    The Aj_Scope.exe along with associated ZedGraph.dll and FTDI USB driver files have been tested for compatibility with Windows XP and Windows 7 with .Net 2.0.

    * The FDTI VCP drivers can be downloaded from www.ftdichip.com/

    Open Source Python Cross-Platform Application Code

    Alternatively a Python based GUI program can be used to control the functions of the Aj_Scope2.

    The Aj_Scope.pyc python executable bit code provides a cross-platform application which has been tested using Python 2.7 on Windows XP and Windows 7 and onDebian 6.0 (“squeeze”) and Debian 7.0 (“wheezy”) using Python 2.6 and Python 2.7 respectively.

    The Python installation requires the following packages:Tkinter, ttk, serial, glob, math, time, csv, numpy and matplotlib

    *On Linux systems appropriate ‘chmod’ commands need to be executed as root for giving users permission to access the VCP port which is typically /dev/ttyUSB0

  • 8/19/2019 Diy Usb Oscilloscope in a Matchbox

    5/21

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/ 

    Step 4: GUI VB.Net 2.0The GUI based Windows software on the Host PC permits checking for available COM ports and connecting to the port on which the hardware is connected. Onceconnected the hardware unit responds with a ready signal.

    Display and trigger modes, sampling rate, channel gains, channel offset trigger offset and number of samples can be set using the simple controls.

    The RUN button initiates the signal capture single, repetitive or over-plotted.

    Initially signals can be acquired in auto / single mode after with suitable changes can be made in the gain and offsets and a trigger level set. Repeat mode can now beused for continuous display of the signals. Display of Ch1/Ch2 is possible with trigger by either Ch1 or Ch2.

    Finally an EXIT button is provided to close the program and exit.

    Figure 3, Shows the VB.Net 2.0 based GUI

    Figure 4, Shows the Mouse cursor data display

    Figure 5, Shows the Image zoom, copy, print and save modes

    Figure 6, Shows the Plot in EXCEL based on saved data

    Figure 7, Shows the Spectrum Display

  • 8/19/2019 Diy Usb Oscilloscope in a Matchbox

    6/21

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/ 

  • 8/19/2019 Diy Usb Oscilloscope in a Matchbox

    7/21

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/ 

    Step 5: GUI Software on Debian Linux "Lenny"The Python based GUI software runs on Windows Python or on Linux Systems. The following GUI screens were captured with the Python software running on Debian'Lenny':

    Figure 8, GUI Python

    Figure 9, Cursor Display

    Figure 10 Image zoom, pan and save modes provided by the Python Tkinter Toolbar.

    Figure 11, Plot in Debian Gnumeric based on saved .csv data

    Figure 12, XY Plot

    Figure 13, DFT Spectrum Plot

  • 8/19/2019 Diy Usb Oscilloscope in a Matchbox

    8/21

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/ 

    Step 6: The Aj_Scope2 UnitIn order to economize on the cost of an enclosure while still providing an aesthetic unit the Aj_Scope2 is enclosed in a large size cardboard matchbox enclosure.

    The USB connection to the PC is on one end while the Audio-Jack for the signals to be monitored is on the other.

    A ‘Busy’ LED is provided on one corner at the top and a ‘Reset’ switch is provided diagonally opposite.

    The ‘Reset’ switch provides a restart of the micro-controller is the worst-case of hang-up. This typically occurs when the operator selects a trigger threshold which is oof limits with respect to the waveform being observed. If the Aj_Scope2 is operated correctly this switch is seldom used.

    Step 7: Circuit Diagrams 1: USB InterfaceFigure 15, Shows the USB Interface.

    The FDTI FT232R forms a single chip minimum component count interface between the PC USB port and the micro-controller serial-link Rx-Data and Tx-Data pins. Athe circuitry in self contained only one capacitor C8 needs to be added for the 3.3V generation.

    Power to the rest of the circuitry is fed from the USB connector.

    On connection to the PC USB port , the device is enumerated as a Virtual Com Port (VCP) and the corresponding drivers are loaded by the OS. As the Aj_Scope2 draapproximately 150mA the device has been programmed to indicate a 200mA device.

  • 8/19/2019 Diy Usb Oscilloscope in a Matchbox

    9/21

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/ 

    Step 8: Circuit Diagrams 2: Analog InterfaceFigure 16, Shows the Analog Input Interface for Ch1 (this is duplicated for Ch2)

    An input potential divider with a ratio 4:1 is formed by resistors R2: (R3+R7+R8+R9), 820k: 205k. The input impedance of this divider is therefore 1.025 Meg Ohm.Capacitors C9 and C10 are added so as to compensate for any input capacitance of the MCP6S22.

    OC1 a PWM output of the micro-controller is filtered in two stages by R9/C15 and R8/C14 and produces a DC offset voltage at the junction of R7/R8 based on the dutcycle of the PWM. This offset voltage is initialized to produce a f ixed VDD/2 voltage at the output of the MCP6S22 which is then changed by the Ch1 offset voltage slidaround this value. The PWM voltage is suitably adjusted for different gain settings.

    The MCP6S22 is connected to the micro-controller through an SPI interface in order to setup the gain values 1/2/5.

    VOUT at Pin 1 of the MCP6S22 is fed as an analog input to the microcontroller within a working range 0-VDD. This output is potential divided by 2 using R1/R4 and feas an input to the internal comparator CMP3 of the microcontroller. This voltage is used for the trigger function.

    Step 9: Circuit Diagrams 3: Processor CircuitFigure 16a, Shows the Processor Circuit

    The dsPic30F2020 is powered from the USB bus.

    A reset switch is provided at the MCLR pin.

    A 16MHz crystal is connected across OSC1/OSC2 and sets up the processor clock.

    RE0 to RE3 form the SPI interface to the two PGAs.

    OC1 and OC2 for the PWM signals setting the offset voltages for Ch1 and Ch2. U1ARX and U1ATX are connected to the USB to Serial converter FT232R.

    A Vref of 3.3V is connected to the analog inputs AN2/AN3 and is used to compensate for ADC scale-factor change with variation in VDD.

    Finally the PGA outputs are connected to AN0/AN1 and CMP3A/CMP3B.

    Under software control the microcontroller A/D converts the Ch1/Ch2 inputs at fixed intervals and stores them in internal memory before transferring them to the host

    When not in auto mode the start of the conversion sequence is determined by comparing an internally generated tr igger reference voltage with the voltages atCMP3A/CMP3B.

    LED D1 flashes during the initialization and acquisition process indicating that the processor is busy. No commands are initiated during this phase.

    Figure 17 shows the overall circuit.

  • 8/19/2019 Diy Usb Oscilloscope in a Matchbox

    10/21

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/ 

    Step 10: Bill of materialsThe USB Oscilloscope is a highly optimized design and uses only five Integrated circuits to achieve the total functionality.

    U4 the dsPic30F2020 is the micro-controller

    U3 & U5 are the Programmable gain amplifiers MCP6S22

    U2 is the USB to serial converter FT232R

    and U1 is a 3.3 V , LM1117 regulator used as a voltage reference

    42 other components make up the connectors , switch and passive components.

    The overall cost of the BOM is 940 Indian Rupees or an equivalent of $ 15.

  • 8/19/2019 Diy Usb Oscilloscope in a Matchbox

    11/21

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/ 

    Step 11: Double Sided PCB "HOW-TO"Follow this procedure to fabricate the double sided PCB using the toner transfer method.

    1. In fabricating the double sided PCB by the toner transfer method the top of the CAD layout needs to be mirrored. Print the files on A4 size on Photo-paper and use iron on the toner to the copper clad sheet.

    2. The trick in alignment is take a print of top or bottom on normal paper, cut the paper to the approximate size of the PCB and use this as a template to drill the four(paper pin diameter) locating holes at the center of mounting holes in the copper clad sheet.

    3. Use the TOP+BOT file to check your placement

    4. Now pierce 4 paper-pins through the TOP print and pass through the 4 holes in the copper clad sheet, this aligns the Top.

    5 .Pierce the BOT 4 mounting holes and then exactly place them on the 4 pins which are jutting out of the bottom side of the copper clad sheet.

    6. Now flatten everything and then stick the paper edges with 3M tape.

    7. Remove the pins and proceed with the toner transfer ironing.

    8. Two tricks

    a) Do the ironing between a few folds of newspaper

    b) To save on photo-paper first print on normal paper, stick slightly larger than PCB size piece of photo paper over the area where the PCB was printed and feed thesame paper back into the laser printer.9. Soak the ironed PCB in water for some time and gently peel off the paper.

    10. Gently rub off any paper sticking on the copper sheet.

    11. Etch with a Ferric-Chloride solution.

    12. Drill the component holes and then clean out the toner from the card.The double sided PCB used in this Instrructable has been prepared using this method.

    The Hole registration was good.

    Figure 18, shows the component layout and Fig 19, the wired PCB.

    Step 12: ConstructionIn order to be a 'Truly-DIY' Instructable a work around is presented to handle the FT232R device which comes in a 28 Pin SSOP package.

    Step 1 & Step 2 show that the double sided PCB track widths are suited for the 'Toner-Transfer' method of PCB fabrication.

    However, to handle the 28 Pin SSOP package a larger artificial footprint has been created and only the 12 pins which are required for the operation of the chip areextended carefully using thin copper wire to the pads of this artificial footprint. This is relatively easy to do while wearing spectacles with a +ive power or using amagnifying glass.Step 3

    As this is a DIY double sided PCB there are no plated through holes. It is necessary to connect the thru-hole-vias by soldering a through wire on both sides.

    Step 4In this step the IC bases and connectors are soldered on the PCB.

    It is necessary to check that pads on the top layer are soldered on top and if necessary at the bottom also in order to handle the non availability of plated through holefor component pins.

    Additionally some pads for the connectors on the top layer are inaccessible because they are covered by the connector body. In this case small holes need to be drillenear these pins and the pad connection extended to the bottom by soldering a thin copper wire through the board. This needs to be done carefully so as not to create accidental connection to neighboring tracks.

    A thin piece of paper or any insulating material needs to be placed under the USB connector so that the body does not short with tracks on the top of the board.Step 5Soldering the passive components and insert the ICs.

    Note how the MCP6S22 which comes in a Small 8-pin MSOP Package is handled.

    In this case cut pieces from the other component leads are inserted into the base and soldered carefully to the MCP6S22 pins. This helps in taking care of these devicwhich come both in the Small 8-pin MSOP Package or the 8-pin DIP package.

  • 8/19/2019 Diy Usb Oscilloscope in a Matchbox

    12/21

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/ 

    Step 6

    Conformal CoatingIf the dsPIC30F2020 has been programmed with the .Hex fuse file and the pads checked once more for proper soldering on both sides wherever necessary, the circuican be powered up and checked for operation.

    Once the basic operation is checked along with the Host PC loaded with appropriate Windows/Linux software the board needs to be cleaned of excess solder flux usinISO-Propyl Alcohol or Spirit and dried.

    After covering the IC base locations with insulating tape the board is sprayed on both sides with a conformal coating for protection.Step 7,8 & 9Assembling inside the Matchbox Inner Cardboard Container. Sliding into the outer cover and sticking the legs.

    Holes need to be cut for the connectors and reset switch using a sharp knife and the board carefully fitted into the inner cardboard container of the matchbox.

    Next, this can be slid into the outer cover with a hole for the LED and legs stuck onto the bottomStep 10Are we now ready ? No !

    While practically operating the system it was noticed that the dsPIC30F2020 runs hot to the touch. This is particularly so because of operating at a clock frequency jusoutside specifications, the enclosure and when the USB 5V is slightly on the 5+ side.

    This could lead to intermittent communication between the PIC and Host PC.

    A heat-sink is added to eliminate this problem.Step 11 & 12The heat sink uses 0.8 mm aluminum fabricated with openings for the taller components.

    The reset switch is turned to the vertical position.

    Heat sink compound is added over the processor IC.

    And the heat sink plate fixed using the screws through the mounting holes.

    This compound unit is now fitted back into the inner cardboard and slid into the top cover.

    We are done and the DIY-USB-Oscilloscope is ready to use.

  • 8/19/2019 Diy Usb Oscilloscope in a Matchbox

    13/21

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/ 

  • 8/19/2019 Diy Usb Oscilloscope in a Matchbox

    14/21

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/ 

    Step 13: Software and DocumentationThe Scope2.rar file contains the technical documentation and software required for this Instructable.

    Folder dsPIC30F2020 contains the fuse .Hex file

    Scope2.hexFolder Python contains the Python V2.6 and V2.7 .pyc fi les to be used with Debian 'Lenny"/'Wheezy'

    Aj_Scope2_V2.6.pycAj_Scope2_V2.7.pycFolder Visual Basic contains the Visual Basic .NET 2.0 executive and associated files

    Aj_Scope.pdbAj_Scope.xmlAj_Scope2.exeZedGraph.dllAj_Scope2_Tech-Manual.pdf is the Technical Manual V 1.0

    email any feedback to [email protected]

    visit my website www.ajoyraman.in for other projects

  • 8/19/2019 Diy Usb Oscilloscope in a Matchbox

    15/21

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/ 

    File Downloads

    Scope2.rar (1 MB)[NOTE: When saving, if you see .tmp as the file ext, rename it to 'Scope2.rar']

    Step 14: ImportantIntegrated Circuits

    The Integrated Circuits were sourced from element14 as per the following details

    Manufacturer: FTDIOrder Code: 1146032Manufacturer Part No: FT232RLFTDI - FT232RL - IC, USB TO UART, SMD, 28SSOP

    Manufacturer: MICROCHIPOrder Code: 1439475Manufacturer Part No: MCP6S22-I/SNMICROCHIP - MCP6S22-I/SN - PGA, 2CH, 12MHZ, SPI, SMD, SOIC8

    Manufacturer: MICROCHIPOrder Code: 1297281Manufacturer Part No: DSPIC30F2020-30I/SPMICROCHIP- 16BIT DSP12K FLASH, 512B RAM, DIP28

    Manufacturer: TEXAS INSTRUMENTSOrder Code: 2148396Manufacturer Part No: LM1117MPX-3.3/NOPB.TEXAS INSTRUMENTS - LM1117MPX-3.3/NOPB. - VOLTAGE REGULATOR IC

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

    Warning & Disclaimer:

    All content provided here is for informational purposes only. I make no representations as to the accuracy or completeness of any information. I will not bliable for any errors or omissions in this information. I will not be liable for any losses, injuries, or damages from the display or use of this informationincluding software.

    http://www.instructables.com/files/orig/FT1/6291/HMF6RWQ0/FT16291HMF6RWQ0.rar?utm_source=pdf&utm_campaign=fileshttp://www.instructables.com/files/orig/FT1/6291/HMF6RWQ0/FT16291HMF6RWQ0.rar?utm_source=pdf&utm_campaign=fileshttp://www.instructables.com/files/orig/FT1/6291/HMF6RWQ0/FT16291HMF6RWQ0.rar?utm_source=pdf&utm_campaign=fileshttp://www.instructables.com/files/orig/FT1/6291/HMF6RWQ0/FT16291HMF6RWQ0.rar?utm_source=pdf&utm_campaign=files

  • 8/19/2019 Diy Usb Oscilloscope in a Matchbox

    16/21

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/ 

    Related Instructables

    PiScope(Raspberry PibasedOscilloscope)

    by taifur

    Brain-Controlled RC

    Helicopter by

    puzzlebox

    Use YourLaptop as

    Oscilloscope by

    saftari

    How to bootLinux from USB

    by dkhan7

    Cross PlatformRS485Communicationbetween a x86PC and amicrocontroller

    using C# by

    xanthium-enterprises

    WaveForms™AnalogDiscovery™ on

    Zybo by Laszlo

    AttilaK

    Advertisements

    Comments

    50 commentsAdd Comment view all 151 commen

     bgowland says:  Mar 10, 2016. 1:08 PM REPHello Ajoy, I have nearly all of the parts I need for this project except the electrolytic capacitors which I will buy tomorrow. My question is about programminthe dsPIC chip. I see you mention you use a PICKit but even the clones available are expensive in comparison to the project i tself (at least they are in theUK). I notice from the dsPIC datasheet, it has an ICSP (In Circuit Serial Programming) option but I can't find details of how to use it. It simply needs power the chip then uses the MCLR pin to clear the flash memory ( I think) then the PGC (program clock) and PGD (program data) pins. I assume I would providesteady square wave clock to PGC and toggle PGD between 1 & 0 to send the program in serial form. Do you know anything further to clarify this? Is itpossible to program the dsPIC with your software in this way? Many thanks. Br ian

     ajoyraman says:  Mar 10, 2016. 9:24 PM REPHi Brian,

    The dsPic needs a dedicated programmer. The external programmers use the ICSP interface. Check around for any technical schools hobbyists in youarea for assistance in programming the chip.

    I have updated the card firmware and windows software:https://sites.google.com/site/ramanajoy/home/my-zip-rar-files/Scope2.rar?attredirects=0&d=1Regards, Ajoy

     bgowland says:  Mar 11, 2016. 2:59 PM REPHi Ajoy,

    I was hoping I could develop a programmer using an ESP8266 module I have. I can easily programme the ESP's GPIO pins to switch for PGD, PGand MCLR although it works at 3.3V so I'd need a few extra components to switch for 5V. The ESP module came wi th a daughterboard with aCH340G USB/UART chip so I can talk to it from my Linux PC using ESPlorer in order to program it. I also intended using the daughterboard in placof the FT232R section of your circuit. I just need to work out timing and serial data format for PDC / PGC of the PIC. I think I've found some usefulweb pages which may help - I think I can make it work. Thanks for the link to the updated firmware and software.

    Regards, Brian

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/bgowland/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/bgowland/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/bgowland/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/bgowland/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#commentshttp://www.instructables.com/member/Laszlo%20AttilaK/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/member/Laszlo%20AttilaK/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/WaveForms-Analog-Discovery-on-Zybo/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/WaveForms-Analog-Discovery-on-Zybo/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/WaveForms-Analog-Discovery-on-Zybo/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/WaveForms-Analog-Discovery-on-Zybo/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/WaveForms-Analog-Discovery-on-Zybo/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/member/xanthium-enterprises/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/member/xanthium-enterprises/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/Cross-Platform-RS485-Communication-between-a-x86-P/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/Cross-Platform-RS485-Communication-between-a-x86-P/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/Cross-Platform-RS485-Communication-between-a-x86-P/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/Cross-Platform-RS485-Communication-between-a-x86-P/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/Cross-Platform-RS485-Communication-between-a-x86-P/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/Cross-Platform-RS485-Communication-between-a-x86-P/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/Cross-Platform-RS485-Communication-between-a-x86-P/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/Cross-Platform-RS485-Communication-between-a-x86-P/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/member/dkhan7/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/How-to-boot-Linux-from-USB/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/How-to-boot-Linux-from-USB/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/How-to-boot-Linux-from-USB/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/member/saftari/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/Use-Your-Laptop-as-Oscilloscope/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/Use-Your-Laptop-as-Oscilloscope/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/Use-Your-Laptop-as-Oscilloscope/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/Use-Your-Laptop-as-Oscilloscope/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/member/puzzlebox/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/Brain-Controlled-RC-Helicopter/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/Brain-Controlled-RC-Helicopter/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/Brain-Controlled-RC-Helicopter/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/Brain-Controlled-RC-Helicopter/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/member/taifur/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/PiScope-Raspberry-Pi-based-Oscilloscope/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/PiScope-Raspberry-Pi-based-Oscilloscope/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/PiScope-Raspberry-Pi-based-Oscilloscope/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/PiScope-Raspberry-Pi-based-Oscilloscope/?utm_source=pdf&utm_campaign=relatedhttp://www.instructables.com/id/PiScope-Raspberry-Pi-based-Oscilloscope/?utm_source=pdf&utm_campaign=related

  • 8/19/2019 Diy Usb Oscilloscope in a Matchbox

    17/21

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/ 

     ajoyraman says:  Mar 12, 2016. 1:27 AM REPIf this works it would benefit several others who would then be able to manage without a dedicated programmer. Wish you all success in yourefforts!

     maxwell_30 says:  Mar 11, 2016. 6:25 PM REPsir how are u getting the analog B.W. to be 0.3 MHz? According to me, as the maximum tx rate supported by uart is 115200 bps and adc used it a 10 bit adso each sample requires 10 bits. Thus, the actual tx rate will be 115200/10=11.5 ksps. Now by nyquist criteria the max freq that we can sample with thissampling rate will be around 11.5/2=5.75 Khz only :/ 

     ajoyraman says:  Mar 12, 2016. 1:25 AM REP

    There are two bit/sampling rates we need to look at. 200 samples of CH1 & Ch2 analog data are sampled at rates up to 1 mega-sample-per-sec usingthe normal modes. These 200+200 data samples are then then transferred to the PC using the USB-Serial converter at 115200 bps.

     ajoyraman says:  Mar 1, 2016. 10:18 PM REPI made another version with the TMSF28027 which is also a good chip to use. It has the advantage of not needing a dedicated programmer and can beprogrammed using a freeware using the serial port. Also we can go to 2Mbps simultaneous sampling.

    Check out: http://e2e.ti.com/group/launchyourdesign/m/c2000mi...

    and http://ajoyraman.in/My_USB_Student_Scope.html

     AmirM27 says:  Mar 1, 2016. 9:52 PM REPHello, good job!

    Can you recommend another micro controller that I can use instead of dsPIC30F2020?

     bgowland says:  Feb 28, 2016. 11:47 AM REPIn "Step 9: Circuit Diagrams 3: Processor Circuit" there is a 16MHz crystal between pins 9 & 10 along with some 22pf capacitors. Is the frequency of thecrystal important as I don't have one of that frequency. Can I vary it perhaps with different capacitor values?

     ajoyraman says:  Feb 29, 2016. 3:31 AM REPThe oscilloscope timebase has been calculated with the 16 Mhz crystal (higher values are not permitted) and if you use a lower value they will getchanged. Suggest you use what you have without changing the 22pf capacitors til l you get the correct crystal. 12 Mhz should work temporarily.

     bgowland says:  Feb 29, 2016. 1:37 PM REPThank you for your quick reply. I've managed to f ind a source of 16MHz crystals at reasonable price - I have a few already but none suitable so Ithink I'll stick to your original specification.

     maxwell_30 says:  Feb 14, 2016. 6:28 AM REPSir why havent you used MATLAB to make the GUI ?

     ajoyraman says:  Feb 14, 2016. 10:24 PM REPI used VS2013 and Python which are available free and building the scope GUI was easy. Why don't you try using Matlab? I can help!

     maxwell_30 says:  Feb 17, 2016. 6:34 AM REPoh great!! I'll go ahead with matlab then. thanks a lot :)

     yonatan24 says:  Jan 31, 2016. 5:28 AM REP

    Hi, I've added your project to the "Make Your Own Oscilloscope!"  Collection

    This is the link If you are interested:

    http://www.instructables.com/id/Make-Your-Own-Osci...

     ajoyraman says:  Feb 1, 2016. 5:02 AM REPThanks, that's good!

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/Make-Your-Own-Oscilloscope/http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/yonatan24/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/yonatan24/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/maxwell_30/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/maxwell_30/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/maxwell_30/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/maxwell_30/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/bgowland/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/bgowland/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/bgowland/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/bgowland/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/AmirM27/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/AmirM27/?utm_source=pdf&utm_campaign=commentshttp://ajoyraman.in/My_USB_Student_Scope.htmlhttp://e2e.ti.com/group/launchyourdesign/m/c2000microcontrollerprojects/665559http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/maxwell_30/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/maxwell_30/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=comments

  • 8/19/2019 Diy Usb Oscilloscope in a Matchbox

    18/21

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/ 

     fonsdavid says:  Jan 29, 2016. 12:06 PM REPThis looks really chill! Could I use it with a TV?

     ajoyraman says:  Jan 30, 2016. 8:02 AM REPNot likely! You need a windows computer with a spare usb port. Single computer dongles are now available which convert a TV to a computer but I havno experience of these. If someone can work out a scheme it would be wonderful.

     jamesthequack says:  Jan 27, 2016. 3:31 AM REPExcellent, well-written article; a great engineering project. However, for most hobbyist I might suggest Gabotronics, who markets pre-made USBoscilloscopes, some for under $100 USD.

     Raphango says:  Jan 14, 2016. 12:46 PM REPGreat! :D

     pinheadBE says:  Jan 14, 2016. 7:26 AM REPImpressive work! Big thumbs up!

     EEGeek123 says:  Jan 11, 2016. 4:37 AM REPHi,

    I understand that your performed FFT on the Aj_Scope2 app itself. Do you mind to share the fft code? Thank you

     ajoyraman says:  Jan 11, 2016. 5:49 AM REPThe code is based on:

    'THE DISCRETE FOURIER TRANSFORM

    'copyright © 1997-1999 by California Technical Publishing

    'published with permission from Steven W Smith, www.dspguide.com

    Search for the code I used within the vb file:

    https://github.com/ajoyraman/USB_Matchbox_Scope/bl...

     grtyvr says:  Dec 20, 2015. 8:38 PM REP

    Hi,

    I am working on adding ICSP to the circuit. I am also working on a reconfigured circuit board for a case that I have on hand. Do you have any concerns if Iplace my modified schematics and KiCad files on github?

    I am working on

     ajoyraman says:  Dec 21, 2015. 2:36 AM REPGo ahead! the ICSP will definately be useful for programming the chip. I am sure many DIY enthusiasts will benefit. Please provide the github link andmark as 'I made it!'.

     grtyvr says:  Dec 21, 2015. 2:44 PM REPIt is a simple addition. Just a pin header, and a diode to protect the Vcc from the programming voltage. As soon as I have a working prototype I willpost a link. Thanks again!

     cbgslide says:  Dec 19, 2015. 8:07 AM REPFYI for Linux users. I was able to get the windows software to run on Wine very easily. This might be a better option than installing all of the mentionedpackages here.

     ajoyraman says:  Dec 20, 2015. 1:48 AM REPThanks, I will try this.

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/cbgslide/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/cbgslide/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/grtyvr/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/grtyvr/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/grtyvr/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/grtyvr/?utm_source=pdf&utm_campaign=commentshttps://github.com/ajoyraman/USB_Matchbox_Scope/blob/master/VB.Net2-Code/Aj_Scope/Aj_Scope2.vbhttp://www.dspguide.com/http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/EEGeek123/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/EEGeek123/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/pinheadBE/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/pinheadBE/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/Raphango/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/Raphango/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/jamesthequack/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/jamesthequack/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/fonsdavid/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/fonsdavid/?utm_source=pdf&utm_campaign=comments

  • 8/19/2019 Diy Usb Oscilloscope in a Matchbox

    19/21

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/ 

     cbgslide says:  Dec 20, 2015. 7:05 AM REPI haven't built this yet, but I plan on building one or maybe something like it that is AVR based. It would be nice to use for my audio projects at homeam a field service technician and it would be great to analyze a customers control signal with a laptop as well when needed.

     Heinrich321 says:  Dec 10, 2015. 1:39 PM REPHi

    Please send me the schematic I want to design my own PCB thank you.

    [email protected]

    Regards

    Heinrich

     ajoyraman says:  Dec 10, 2015. 8:23 PM REPHi Heinrich, Pl download the scope2.rar file from step 13 it contains all the data.

    http://www.instructables.com/files/orig/FT1/6291/H...

     balywin says:  Nov 24, 2015. 7:48 AM REPHi Ajoy,

    Could you please send me the gerber files, I'd like to make my copy of this amazing project. My email is [email protected]

    Regards and thanks in advance,

    Andrey

     PuigT says:  Sep 29, 2015. 1:45 PM REPHello

    I AJscope your factory with the help of HeartyGFXthank you for your work, congratulations for this assembly

    best regards

    Thierry

     ajoyraman says:  Sep 25, 2015. 10:38 PM REPI have recently updated the firmware on the dsPic and the corresponding windows GUI software. The updated software WinXp up-words is available at

    https://sites.google.com/site/ramanajoy/home/my-zi...

    This update permits recovering from several conditions such as trigger-level-out-of-limits, need-to-abort-long-sample-times, file-not-given-on-save etc.

    I have also passed on the improved GUI version of HeartGfx for him to check out. This version works from WinXP up-words. It should be available on hisblog subsequently.

     Goodiescoza says:  Sep 25, 2015. 4:44 AM REPHi Ajoy, I want to know if you can send me all the details, schematics and programming for this oscilloscope project, I want to build it for myself.

    Also what other chip can replace the Dispic30f2020-301/sp as my system doesn't allow me to use smd chips

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/Goodiescoza/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/Goodiescoza/?utm_source=pdf&utm_campaign=commentshttps://sites.google.com/site/ramanajoy/home/my-zip-rar-files/Scope2.2_0x874.rar?attredirects=0&d=1http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://cdn.instructables.com/F7N/W2CS/IF4NA5VC/F7NW2CSIF4NA5VC.LARGE.jpghttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/PuigT/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/PuigT/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/balywin/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/balywin/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/files/orig/FT1/6291/HMF6RWQ0/FT16291HMF6RWQ0.rarhttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/Heinrich321/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/Heinrich321/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/cbgslide/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/cbgslide/?utm_source=pdf&utm_campaign=comments

  • 8/19/2019 Diy Usb Oscilloscope in a Matchbox

    20/21

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/ 

     ajoyraman says:  Sep 25, 2015. 9:55 PM REPThanks to heartygfx there is non smd version which he has posted on his blog page at http://heartygfx.blogspot.in/2014/07/pic-usb-oscil...

    This version is quite popular.

    We have collaborated on improving the gui and removing small bugs in the software. The files for his version are available athttp://heartygfx.free.fr/BlogImg/25072014/DSPicosc...

    I suggest you make this version and use it with a FTDI usb-serial converter with 5V output.

     LZHV says:  Aug 27, 2015. 7:19 AM REPHi ajoyraman, i stumbled across your wonderful project! I am just a little curious about the sampling rate. I've checked on-line and found out that

    dsPIC30F2020 has a conversion rate of 2000 kbps, and your project is able to sample 2 channels at 1M samples/s. Does it mean that this oscilloscope isable to produce the waveform for input signals of 1Mhz ?

     ajoyraman says:  Aug 27, 2015. 9:11 PM REPTo display a sampled-signal 15-20 samples are typically requires. So the 1M samples/s means we can comfortably view sine-waves at 75 kHz andsquare waves at 50 kHz.

     jdchristensen says:  Aug 23, 2015. 6:07 PM REPI was thinking of building this, but I don't have a PIC programmer, and I'm also worried about the surface mount components and needing to make a circuitboard. Has anyone come up with a kit based on this design? Or is anyone willing to sell a pre-made version?

     ajoyraman says:  Aug 23, 2015. 8:51 PM REPI suggest you build the board as done by heartyGfx which avoids the smd components.

    http://heartygfx.blogspot.in/2014/07/pic-usb-oscil...

    However, you need to solve the progremmer requirement.

     1dum2dum says:  Aug 15, 2015. 11:12 AM REPscam

     Crispin24 says:  Jul 18, 2015. 12:16 AM REPHi,

    I really like your project and would like to build it . Could you please send me the additional designs to crispin (at) gmx.net ?

    Thank you

     francisdc says:  Jun 5, 2015. 6:53 PM REPDear Ajoy, what an amazing circuit ! A scope is magic - makes you see the invisible

    I still remember begging my dad for a scope ... the cost was like an Apollo mission

    He politely told me "why don't you build one - it'll save you a lot of money !"

    And so good to see the responses from all over the world. Hope many people make it. There's something amazing about seeing signals on screen !

    May I request you for gerber files too - I'm going to get my daughter to build it

    Please send to [email protected] - Cheers Francis da Cunha

     NickO7 says:  May 13, 2015. 10:43 AM REPI would love to start to this project. could you send me the program files @ [email protected]

     PakosP says:  Apr 18, 2015. 4:56 PM REPHiI would like to make this project.. Pls sent me the files email([email protected])

    Thank you

    http://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/PakosP/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/PakosP/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/NickO7/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/NickO7/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/francisdc/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/francisdc/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/Crispin24/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/Crispin24/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/1dum2dum/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/1dum2dum/?utm_source=pdf&utm_campaign=commentshttp://heartygfx.blogspot.in/2014/07/pic-usb-oscilloscope-double-trace.html#morehttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/jdchristensen/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/jdchristensen/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/LZHV/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/LZHV/?utm_source=pdf&utm_campaign=commentshttp://heartygfx.free.fr/BlogImg/25072014/DSPicoscope.ziphttp://heartygfx.blogspot.in/2014/07/pic-usb-oscilloscope-double-trace.htmlhttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/ajoyraman/?utm_source=pdf&utm_campaign=comments

  • 8/19/2019 Diy Usb Oscilloscope in a Matchbox

    21/21

     kh9005 says:  Mar 20, 2015. 10:56 AM REPI want to make this project. I would apreciate if you could send the files to:

    [email protected]

     joelp4 says:  Mar 10, 2015. 8:31 PM REPThis 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. Thank

     joelp4 says:  Mar 10, 2015. 8:31 PM REPThis 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. Thank

     SureshB5 says:  Feb 16, 2015. 11:38 PM REPi want to make this. please sent me gerber file on [email protected]

     SureshB5 says:  Feb 16, 2015. 11:33 PM REPI want to make this. I would apreciate if you could send the files to [email protected]

    view all 148 comments

    http://id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?comments=all&sort=OLDEST#commentshttp://id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?comments=all&sort=OLDEST#commentshttp://id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?comments=all&sort=OLDEST#commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/SureshB5/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/SureshB5/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/SureshB5/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/SureshB5/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/joelp4/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/joelp4/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/joelp4/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/joelp4/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/id/DIY-USB-OSCILLOSCOPE-IN-A-MATCHBOX/?utm_source=pdf&utm_campaign=comments#DISCUSShttp://www.instructables.com/member/kh9005/?utm_source=pdf&utm_campaign=commentshttp://www.instructables.com/member/kh9005/?utm_source=pdf&utm_campaign=comments