Categories

Arduino Uno 3 million samples per second logic analyzer

Posted on Tuesday, June 25th, 2013 in Arduino by DP

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 on Tuesday, June 25th, 2013 at 9:00 pm and is filed under Arduino. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

2 Responses to “Arduino Uno 3 million samples per second logic analyzer”

  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 Reply

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

Recent Comments

  • Dave B: Got two of them. If you let the battery run flat, they don't charge! You have to pull the battery, and get enough charge in...
  • Bill F: My turn?
  • Chris: Ok!
  • Bob: Free PCB for me!
  • Blars: Yet another meaningless comment.