Author Topic: USB PC oscilloscope projects.  (Read 858 times)

0 Members and 1 Guest are viewing this topic.

Offline nigelwright7557

  • Frequent Contributor
  • **
  • Posts: 263
  • Country: gb
    • Murton-Pike Systems
USB PC oscilloscope projects.
« on: July 24, 2019, 03:11:44 am »
My first USB PC scope was PIC18F4550 460K samples / second.
Worked very well.
My next version was a PIC32MX and ran at 1Mega samples / second.
Next version was a PIC32mz and ran at 2 mega samples per second.
This was a little more difficult as I had to get involved with fine scale SMD.
With a bit of practice I managed to solder them ok.

My current version is PIC32mz with AD9200 a2d and runs at 12.5 mega samples / second.
The pic software is mostly USB interface and the rest grabbing data from the a2d.
The PC end is the clever end with data screens and an fast fourier transform display.

PCBCAD51/PCBCAD360/PCBCAD720 PCB design software https://www.murtonpikesystems.co.uk
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 9768
  • Country: my
  • reassessing directives...
Re: USB PC oscilloscope projects.
« Reply #1 on: July 24, 2019, 04:25:08 am »
Thanks for telling us how delicious your chocolate is.
It's extremely difficult to start life.. one features of nature.. physical laws are mathematical theory of great beauty... You may wonder Why? our knowledge shows that nature is so constructed. We simply have to accept it. One could describe the situation by saying that... (Paul Dirac)
 
The following users thanked this post: egonotto

Offline horo

  • Contributor
  • Posts: 49
  • Country: de
Re: USB PC oscilloscope projects.
« Reply #2 on: July 24, 2019, 08:48:47 am »
To ease your job of building the next version, please think about an EzUSB from Cypress (CY7C68013A). The processor pcb comes as "saleae clone" for some bucks from the friendly Chinese and is well documented, so you can concentrate on the analog frontend. If you look at e.g. Hantek6022 it's an easy task with much room for improvement. And you get the SW for free as a starting point for your own experiments.




 

Offline robert.rozee

  • Contributor
  • Posts: 8
  • Country: nz
Re: USB PC oscilloscope projects.
« Reply #3 on: July 28, 2020, 03:18:31 pm »
My next version was a PIC32MX and ran at 1Mega samples / second.

hi Nigel,
    i'm quite interested in this. for the past few days i've been mulling over ways to use a pic32MX170 as a low-end DSO, and this evening started looking into the Cypress device used in the saleae clones. my plans with the MX170 were to use the internal RAM to hold around 50kpts of samples, and send them back to the host over a serial-to-usb bridge.

how adaptable would your pic32 software be for use on a pic32MX270 - with the ADX MUX controlled from the host PC? this would have potential for a single-chip (in DIP package) solution, connected via USB, with switchable input scaling via the MUX using little more than a few resistors in a chain.


cheers,
rob   :-)
 

Offline nigelwright7557

  • Frequent Contributor
  • **
  • Posts: 263
  • Country: gb
    • Murton-Pike Systems
Re: USB PC oscilloscope projects.
« Reply #4 on: July 30, 2020, 07:23:58 pm »
since i started this thread i have gone onto pic32mx which runs at 200mhz
i used an analogue devices external a2d and can get up to about 25 mega samples/second.
great fun including trying to smd solder fine pitch ic's.

PCBCAD51/PCBCAD360/PCBCAD720 PCB design software https://www.murtonpikesystems.co.uk
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf