Low-Cost USB Oscilloscope


Closed Thread
Results 1 to 40 of 41

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    You need an FPGA to build a digital oscilloscope.

    The acquired ADC data goes from the ADC to the RAM under the
    control of the logic implemented in the FPGA. (The acquired
    data is stored into the RAM without the microcontroller).

    Best regards,

    Luciano

  2. #2
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Question Configure a PIC as a PLC

    Quote Originally Posted by Luciano View Post
    ,

    You need an FPGA to build a digital oscilloscope.

    The acquired ADC data goes from the ADC to the RAM under the
    control of the logic implemented in the FPGA. (The acquired
    data is stored into the RAM without the microcontroller).

    Best regards,

    Luciano
    Hi,
    Thanks for your feedback on this. Do you think it would make a viable alternative in configuring a fast enough PIC to fetch data from the ADC and then place it in RAM. Something running at 48MHz should handle it?

    Best regards,
    Trent Jackson

  3. #3
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    You need a microcontroller with an external memory bus.
    Even with an external memory bus, the oscilloscope will be
    slow or better said just a toy. My assumption here is
    that you need an oscilloscope for projects where
    microcontrollers are involved. If you need an oscilloscope
    for audio signals then go ahead, it will be fast enough.

    Try to calculate how fast your oscilloscope could be.

    Best regards,

    Luciano

  4. #4
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Cool If it's under $1,000 it's a toy!

    Quote Originally Posted by Luciano View Post
    Hi,

    You need a microcontroller with an external memory bus.
    Even with an external memory bus, the oscilloscope will be
    slow or better said just a toy. My assumption here is
    that you need an oscilloscope for projects where
    microcontrollers are involved. If you need an oscilloscope
    for audio signals then go ahead, it will be fast enough.

    Try to calculate how fast your oscilloscope could be.

    Best regards,

    Luciano
    For the hobby end user, most test gear is a toy. In my opinion even Bitscope falls into this category. It's not uncommon nowadays for service techs to be using 500MHz + DSOs. Of course an extreme overkill for any enthusiast and not something that you would ever really consider unless there was some considerable financial gain to be made from it from either generating new work or speeding up the process of your current service. If you don’t work with 500MHz gear then chances are you don’t need it.

    SRAM: 20nS or thereabout
    ADC: 40MSP/s

    The upper limitation is the RAM. (1 / 20nS) = 50MSP/s

    *Anything greater than this is like trying to generate free power. Or, more commonly an amplifier that supposedly puts out 200WRMS when the DC rails are only good for 100W. Like duh, did I just get ripped off or what…

    *The million dollar question I guess is this. Without using too much black magic in the software for interlacing and periodical guess work, how many samples of a waveform is considered to be sufficient analysis? Sure with 40MSP/s you could take one sample of a 40MHz sine wave every second. Won’t look like much of a sine wave on the screen though. If you allowed say 20 samples of every cycle then this might suffice. (40MSP/s / 20) = 2 MHz. Undoubtedly there must be the presence of some host software magic some where a long the line. Hmm, is my DSO really 20MHz or is there just a whole heap of black magic in the software making a lot of assumptions?

    Best Regards,
    Trent Jackson

  5. #5
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Bandwidth vs Sample Rate:
    http://www.bitscope.com/design/hardw...r/?p=bandwidth

    * * *

    High speed S-RAMs: 12 ns
    http://www.cypress.com

    Best regards,

    Luciano

  6. #6
    Join Date
    Jan 2006
    Location
    Toronto
    Posts
    109


    Did you find this post helpful? Yes | No

    Default

    Here is a very simple one I found that uses a 18F4550.

    http://ostry.w.szu.pl/miniscope.php?lang=en

    They also have some more complex models as well but this one includes everything and its free.

  7. #7
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by PJALM View Post
    Here is a very simple one I found that uses a 18F4550.

    http://ostry.w.szu.pl/miniscope.php?lang=en

    They also have some more complex models as well but this one includes everything and its free.
    OK downloaded the exe, browsed the files etc... but there is no scematic. It states on the website
    Project of digital storage oscilloscope, hardware is just PIC18F4550 and few passive components.
    Browsing the site there is an updated miniscope2 which shows a PCB which has a bit more than a few descrete components but the chips look too small to be a 18F4550 (assuming its a 40 pin device)



    Do you still have the schematic and can you post it here or provide a link to where it can be downloaded from ?

    EDIT - just re-read the bit about the ver2 -Based on AT91SAM7S64 microcontroller. - Doh !
    Last edited by malc-c; - 25th February 2007 at 22:30.

  8. #8
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Thumbs down Too slow!

    Quote Originally Posted by PJALM View Post
    Here is a very simple one I found that uses a 18F4550.

    http://ostry.w.szu.pl/miniscope.php?lang=en

    They also have some more complex models as well but this one includes everything and its free.
    Hi

    The sample rate of 25kSPS won't allow for much. Won't even cover the audio spectrum. (25kSPS / 10) = 2.5KHz. For some half-decent performance, at least half a dozen or so chips are required. Analog front-end using an OPAMP, discrete ADC (at least capable of 2MSP/s), SRAM - 32KB, address counter IC, micro controller to shuffle the sampled data to the host - (PC in this case), calibrated time base’s - micro controller won't be fast enough to set sample rate or address the SRAM. Big job to come up with some decent goods. Doubt I’ll bother if I can’t get at least 1MHz of solid bandwidth.

    Best Regards,

    Trent Jackson

Similar Threads

  1. Old and beyond help ?
    By DavidFMarks in forum mel PIC BASIC Pro
    Replies: 46
    Last Post: - 11th December 2008, 16:23
  2. Pic16f84 and RC5 kode
    By terminator in forum Bluetooth
    Replies: 5
    Last Post: - 18th June 2007, 22:40
  3. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 18:27
  4. Problems with RC2 and RC3
    By Christopher4187 in forum General
    Replies: 11
    Last Post: - 29th May 2006, 18:19
  5. 4-line LCD Help - using PortA instead of B
    By Tom Gonser in forum mel PIC BASIC Pro
    Replies: 28
    Last Post: - 31st March 2005, 04:14

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts