Arduino Uno 3 million samples per second logic analyzer

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


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

  • Stephen Tinius: Thank you.
  • KH: Ah, the site sells boards, that's the reason. At least it's a XC6SL9 board that does not cost an arm and a leg, though it...
  • Max: While I understand this is more educational than practical in nature, I prefer my edutainment a lot more firmly grounded in economic reality. Sure, you...
  • KH: Using an alkaline coin cell down to 1.0V or under is a very bad idea anyway, unless you as the designer or manufacturer don't care...
  • KH: Farnell says TS1001 is no longer stocked. Not on RS. Digikey says it's obsolete. That said, there are a lot of nanoamp-class parts on sale...