Technology
AVR oscilloscope

md_scope.jpg
This is an amazing DIY oscilloscope that is controlled by a WinAVR microprocessor. The source code, schematic and PCB are all well documented and available for download. If you try this one out, don’t forget to post it in the MAKE flickr photo poolLink

32 thoughts on “AVR oscilloscope

  1. Interesting and nice design… but having a max signal freq of 1khz for sinewaves sorta defeats the purpose. I’m wondering what the price was on this, maybe if it was real cheap it’d be worth it.

  2. @Anthony
    Lets see… $10 for the microcontroller, $20 for the display, probably $5 for the PCB (if you etch it yourself) and $10 for the rest of the components.

    So a rough estimate for a single unit would be about $45. YMMV – I took the prices for the display and controller from SparkFun Electronics.

  3. WinAVR is in fact the compiler he used, not the microcontroller. It’s simply GCC configured as a cross compiler targeting the AVR chip, plus the linker and other tools. The chip is an Atmel ATmega32, one of the larger AVRs. Nice design!

  4. really great design,

    An inexpensive (less than $100) and portable mini-scope like this should be on the market just for quick verifications.

    You could replace the 8bit AVR with a $5 dsPIC33 that is 40mips, single instruction cycle 16 bit multiplies, and has 12 bit ADCs. definitely get better performance at no extra cost. I think they have dip versions of the 28 pin chips.

  5. i have a question. how good is this at catching very sharp transients? i.e. very, very sharp (almost completely vertical) quick spikes, pulsations of a very short duration?

  6. To esaruoho:
    >>i have a question. how good is this at catching very sharp transients? i.e. very, very sharp (almost completely vertical) quick spikes, pulsations of a very short duration?

    You can watch the demonstration video on my web site. The last waveform in the video is a triangle waveform. In this case you can watch only the upper and lower horizontal lines of the signal.

    This oscilloscope can measure up to 5kHz signals due to the low speed internal ADC (Analog to Digital Converter).

  7. The ATmega32 microcontroller has an internal ADC (Analog to Digital Converter) that can measure up to 15kSPS (kilo samples per second). That means it can measure up to 7.5kHz because it needs at least 2 samples for one Hz.

    I don’t know how did these Students succeed to measure 15kHz with internal ADC of ATmega32.

  8. Whoops, sorry, didn’t look too closely when I was quoting the sampling frequency vs sampling bandwidth. You’re right, of course, the maximum recoverable frequency is 7.5 kHz, unless you start playing around with bandpass sampling. :)

    Cheers,
    Adrian

Comments are closed.

Tagged