Logic Analyzers with Arduino
Not a member? You should Sign up.
Already have an account? Log in.
To make the experience fit your profile, pick a username and tell us what interests you.
/* * Arduino code for 8 pin analyzer * Due/Pro Micro can be Serial.begin(0); */
void setup() { Serial.begin(0); // <-- Add required speed like 2000000 while (!Serial) ; Serial.println("Connected");}
void loop() { Serial.write(PIND);}
------------------------------------------------------------------
/* * Run sigrok-cli */sigrok-cli -i /dev/cu.usbmodem411 -I binary -O ascii --continuous
Can add more params like '--config samplerate=9600' <--- set the speed
Dump raw data and import it into PulseView https://sigrok.org/wiki/PulseView
dd if=/dev/cu.usbmodem411 of=./raw bs=1 count=1m
The above can be achieved by counting 0-255
Broken USB, homeless, no more testing... :( Lewisham Council making me sleep rough
Arduino UNO serial @ 2000000Hz
If to go even faster, one could analyse anything up to @100kHz, including I2C
The lab is in storage - can no longer work
Blame DWP, Lewisham Council
View all 2 project logs
Create an account to leave a comment. Already have an account? Log In.
Have some extra Entropy on Due http://scruss.com/blog/2014/08/13/screamingly-fast-hwrng-on-arduino-due/
Are you sure? yes | no
Kimio Kosaka
Maria Carlina Hernandez
Doctor Volt
Mishel George
Become a member to follow this project and never miss any updates
Yes, delete it Cancel
You are about to report the project "GinLogic | Arduino DUE, UNO | GinLab", please tell us the reason.
Your application has been submitted.
Are you sure you want to remove yourself as a member for this project?
Project owner will be notified upon removal.
Have some extra Entropy on Due http://scruss.com/blog/2014/08/13/screamingly-fast-hwrng-on-arduino-due/