Arduino Uno 3 million samples per second logic analyzer

in Arduino by DP | 2 comments

Arduino-Uno

Bob Davis has built an Arduino powered three Million samples per second six channel logic analyzer:

In the video below you can see what the live display looks like. He is using a 74 series decade counter to divide down a 10Mhz crystal so that he has some nice fast stuff to sample. He experimented with the coding style and found that by being a bit verbose with the instructions he was able to speed up the data collection by over 50%. This technique requires a bit more code space and doesn’t look as elegant as a nice tight loop but execution efficiency is the name of the game here.

Via Hacked Gadgets.

Check out the video after the break.

This entry was posted in Arduino and tagged , .

Comments

  1. jaromir says:

    Logic analyzer with internal timing dependant on compiler optimizations…
    Usual Arduino stuff :-(

  2. Bob Davis says:

    It can do 5 million samples per second by replacing int sample[128] with byte sample[128]

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.