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

  • cyk: A simple google search for "free arm ide" lists CooCox on the first page: http://www.coocox.org/index.html Supports a ton of different ARM M0/3/4 micros and all...
  • Stennly: Despite the popularity of STM32s, it may not be the best place to start. As mentioned already, the Silicon Labs gecko family is cheap to...
  • Pete Juliano: Since this posting on my blog I have received an excellent suggestion on how to quickly disconnect the 48 VDC from the amp so you...
  • Helge: Silicon Labs offer a powerful, unrestricted and completely free software development kit packaged with their Simplicity Studio IDE. It's built on Eclipse, and includes hundreds...
  • Sjaak: With development kit I ment software development kit. I couldn't (easily) find one back some time. Then I asked around and finally came up with...