Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (19)

Sign In or Sign Up now to post a comment!
  • Thanks. Sampling rate about 30ksp, wonder if you missed some package when sending data to PC using serial port?

  • Hi, I'm an italian student of electronic engineering... recently I started a project like this and I think you made an impressive project!! good job!! :)

    But I found some difficulties on the USB protocol, so I would ask you some questions:

    -what type of transfer does your oscilloscope use for transmitting data to pc? (I mean interrupt, bulk, or isochronous?)

    -did you use HID interface or a specific interface created by you?

    P.S. excuse me for my poor english :)

  • @darioshow90 Thanks for your kind words. This is from a few years back, so some of the details might be a little off...

    I captured 512, 128bit samples from the ADC and sent them as one large packet to the PC. I did all the processing (FFT, level shifts, sync) on the PC side to maximize the overall speed.

    The data was sent as ASCII through a virtual serial port through USB. I used Microchip's supplied drivers and code for communication.

  • @JacobScherer Ok, thank you!! :)

  • Is this computer engineering?

  • @poopinitup Yes, it is both a Computer and Electrical Engineering class.

  • really amazing im studying electrical engenering but i cant understand this things how can you help me : ) ?any reference please?? thank you

  • This is extremely impressive. How many man hours did it take? Was the USB stuff hard?

  • @mdmde Hey thanks for the positive comments! The hardest part was optimization with communication. The USB, graphing, triggers, etc were all building blocks with a lot of information available, but coming up with a robust method of getting the information from the PIC to the PC quickly is tricky.

  • @mdmde I really have no idea how long the project took. Between working on this and our senior design project (an Autonomous Paintball Sentry) there were many nights I was in the lab till 3 or 4am during my senior year.

  • Impressive for a 3 month project. Very minor point: you should have normalized the samples between [-2.5,2.5) or [-1, 1) so that the DC component didn't show up in the PSD. This would have been a quick change.

  • good job. Did you write the dft and fft codes in PIC or pc?

  • @iq66 To maximize speed, the only thing that the PIC does while in scope mode is grab data and send it. The DFT and FFT code slows down my Intel Core 2 Duo PC so I can't imagine what it would do the the little PIC!

  • Great job, Jake!

  • @planckscnst Thanks!

  • Sorry, I also don't know about GUI in C++ as I've done only basic C++. Thanks.

  • @Whitedarklight Hey, sorry I didn't reply. I had my settings to not email me when I got responses, but that is changed now! The best advice that I can give is get Visual Studio from Microsoft. The included help, and the links to on-line help are HUGELY powerful. It is also amazing with the errors and warnings it gives while programming and compiling. It isn't as easy as writing a Word document, but it is getting close :)

  • @JacobScherer Thanks for the reply! I've moved on now :)

  • Thanks for sharing. Nicely done. I'm actually trying to do something similar in terms of a PIC with USB and a GUI, except that I'm doing the embedded software in C18 from microchip and the GUI in C++. I'm having a hard time and don't know where to start. I know little about C18 as I've been working with assembly and GUI in C++. Could you please shed some light on where to start?

    Many thanks.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more