Turn-key PCB assembly services in prototype quantities or low-volume to mid-volume production runs

Programming trick makes it possible to reach 3MSPS on Arduino logic analyzer

You can find tons of Arduino based measurements tools including logic analyzers. Logic analyzer is pretty easy to build as it requires only to detect high and low signal levels. The other problem is to to capture fast signals. Signal sampling heavily depends on firmware optimization and clock speed. Anyway Bob Davis has managed to reach nice goal – 3 Million samples per second. He noticed that using loop in sampling process reduces sampling time more than twice. So instead of cycling through samples he typed each line that stores individual samples. Of course it takes code space and time to do this. But 3MSPS pays off. And this is not only single channel, but 6. Results are displayed on graphical LCD where all 6 channels are displayed. In his demo he uses 74LS390 decade counter to scale down 10MHz signal in to six to be tested. Continue reading