Personal tools
User menu

Difference between revisions of "Simple USB Oscilloscope"

From Francois Louw

Jump to: navigation, search
m (A Simple USB Oscilloscope)
Line 71: Line 71:
 
'''NOTE: The USB VID and PID that I use are Microchip VID and an arbitrary chosen PID to differentiate between my other projects. I am not licensed to use that PID. Do not use that PID! I have requested a PID from Microchip, but have not yet received a response.'''
 
'''NOTE: The USB VID and PID that I use are Microchip VID and an arbitrary chosen PID to differentiate between my other projects. I am not licensed to use that PID. Do not use that PID! I have requested a PID from Microchip, but have not yet received a response.'''
  
The firmware is very simple. There arae two 3kB circular buffers, each for one channel. The PIC samples the A2D every 4000 cpu ticks. The PIC is running at 50MHz, meaning every tick is 0.02uS and 4000 ticks are 80uS. This gives a sampling rate of 12500 samples per second, or 12.5KHz. Every read gives a value for both channels.  
+
The firmware is very simple. There are two 3kB circular buffers, each for one channel. The PIC samples the A2D every 4000 cpu ticks. The PIC is running at 50MHz, meaning every tick is 0.02uS and 4000 ticks are 80uS. This gives a sampling rate of 12500 samples per second, or 12.5KHz. Every read gives a value for both channels.  
  
 
The LED is used as an indicator of when the buffers are full. (Used to show if your computer is reading it too slow)
 
The LED is used as an indicator of when the buffers are full. (Used to show if your computer is reading it too slow)
Line 123: Line 123:
  
 
==Download==
 
==Download==
'''Everything here is provided under the [Gplv3] licence. Do not claim this as your own, do not make money from this, release your version also as open source. Give back to the community.'''
+
'''Everything here is provided under the [[Gplv3]] licence. Do not claim this as your own, do not make money from this, release your version also as open source. Give back to the community.'''
  
 
[http://aeif.info/files/usbscope/binaries.zip Precompiled Firmware, drivers and Windows software.] This is the complete binary package, you don't have to install Qt, QWT, MinGW or compile anything.
 
[http://aeif.info/files/usbscope/binaries.zip Precompiled Firmware, drivers and Windows software.] This is the complete binary package, you don't have to install Qt, QWT, MinGW or compile anything.

Revision as of 15:19, 13 January 2014