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 pool - Link


Recent Entries

Comments

Oldest comments listed first.

Posted by: Anthony on February 16, 2008 at 3:56 AM

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.


Posted by: Mats Engstrom on February 16, 2008 at 4:32 AM

@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.


Posted by: John Honniball on February 16, 2008 at 5:05 AM

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!


Posted by: MikeDC on February 16, 2008 at 7:00 AM

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.


Posted by: scoper on February 16, 2008 at 8:30 AM

Responding to the comment about the 1kHz frequency limitation... at what frequencies does this become useful?


Posted by: Serasidis on February 16, 2008 at 8:51 AM

Hello to everyone. I am the designer of this oscilloscope.
Any question about this project is welcome.


Posted by: esaruoho on February 16, 2008 at 9:22 AM

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?


Posted by: DF on February 16, 2008 at 10:43 AM

Something like this would be a good topic for a multi-weekend PODCAST.


Posted by: Stan on February 16, 2008 at 10:52 AM

Nice design. Saw this on instructables a while back.

To MikeDC - Someone already built it!
http://www.instructables.com/id/Build-a-dsPIC-Oscilloscope-and-Spectrum-Analyzer-/
It looks like it can display things up to a couple hundred khz and it has fft.


Posted by: Gilad on February 16, 2008 at 12:01 PM

This AVR oscilloscope also has instructable:
http://www.instructables.com/id/Low-speed-AVR-oscilloscope/

Nice project!


Posted by: Serasidis on February 16, 2008 at 1:16 PM

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).


Posted by: adrian on February 17, 2008 at 7:55 AM

Students in Cornell's ECE 476 microcontrollers course implement a 15 kHz oscilloscope that outputs NTSC, so you can use your TV as the display. It is one of their weekly labs.

http://instruct1.cit.cornell.edu/courses/ee476/labs/s2007/lab4.html


Posted by: Serasidis on February 18, 2008 at 9:16 AM

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.


Posted by: adrian on February 19, 2008 at 5:47 PM

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


Leave a comment


Subscribe to MAKE!Subscribe to MAKE Magazine!

Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.

$34.95 / 1 year
(4 Quarterly Issues)

Subscribe now


Void your warranty, violate a user agreement, fry a circuit, blow a fuse, poke an eye out. Make: The risk-takers, the doers, the makers of things... Welcome to Make: Online!


CRAFT Maker Shed Maker Faire MAKE television
Holiday Gift Guides from MAKE
Gifts for Dads
Science and Chemistry
Gifts Under $20
More guides: Santa Claus Machines, Geek Toys for Grown Up Girls & Boys


Check out all of the episodes of Make: television

Alex Rider Dream Gadget Contest
Make: Science Room

Connect with MAKE

Be a MAKE fan on Facebook MAKE on Facebook
Visit our Facebook page and become a fan of MAKE!
MAKE on Twitter MAKE on Twitter
Follow our MAKE tweets!
MAKE Flickr Pool MAKE on Flickr
Join our MAKE Flickr Pool!
    make_tips on Twitter




    Maker SHED

    Advertise here with FM.

    Why advertise on MAKE?
    Read what folks are saying about us!

    Click here to advertise on MAKE!



    Subscribe to MAKE Magazine!

    Make: Online authors!

    Gareth BranwynGareth Branwyn
    Senior Editor


    Phillip TorronePhillip Torrone
    Senior Editor
    | AIM | Twitter


    Becky SternBecky Stern
    Associate Editor
    | AIM | Twitter


    Marc de VinckMarc de Vinck
    Contributing Writer
    | AIM | Twitter


    John ParkJohn Park
    Contributing Writer
    | Twitter


    Sean RaganSean Ragan
    Contributing Writer
    | Twitter


    Matt MetsMatt Mets
    Contributing Writer
    | AIM | Twitter


    Dale DoughertyDale Dougherty
    Editor & Publisher
    | Twitter


    Shawn ConnallyShawn Connally
    Managing Editor
    | Twitter


    Goli MohammadiGoli Mohammadi
    Associate Managing Editor

    Kip KayKip Kay
    Weekend Projects
    | AIM | Twitter


    Collin CunninghamCollin Cunningham
    Contributing Writer
    | AIM | Twitter

    Adam FlahertyAdam Flaherty
    Contributing Writer
    | AIM | Twitter



    More contributors: Mark Frauenfelder (Editor-in-Chief, MAKE magazine), Kipp Bradford (Technical Consultant/Writer), Chris Connors (Education), Diana Eng (Guest Author), Peter Horvath (Intern), Brian Jepson (O'Reilly Media), Robert Bruce Thompson (Science Room)

    Suggest a Site!

    Current Podcast

    itunesdl.gif Weekend Project: Beetlebot Simple robot from your parts bin that avoids obstacles. Thanks go to Jerome Demers for the original article in MAKE, Volume 12. To download the Beetlebot video, click here or subscribe in iTunes. Check out the complete Beetlebot article... More...

    Get the Make: Online sent via email
    Enter your email to receive Make: Online each day:



    MAKE Fascination video series brought to you by Dow

    Make: Education
    MAKE: en EspaƱol MAKE: Japan
    Important please read


    Subscribe to MAKE Magazine!

    Recent Posts from the Craft: Blog