Arduino Logic Analyzer

Recently, I have been helping a friend debug her 3D printer. We came across the need for a logic analyzer, so I put a simple one together.

I am using an Arduino Nano v3.0 for it and am capturing ~10 KSa/Sec. I have it setup to generate a postscript output and display using ghostscript by just running make view .

Note: Pins 5, 6, and 7 are not connected. SOURCE
Example Output (Converted to PNG)

Makefile to link everything together:

Ruby Capture Script:

Code Running on the Arduino Diecimila:

Code running on the Arduino Nano:

Code running on the Digispark:

GNU Plot Script:

Check back. I'll be updating the Gists. Also, I might put them all in one repo. We'll see.

No comments:

Post a Comment