hi
can I use rpi as a logic analyzer???

sudo pigpiodhamza wrote:Thank u buja
I followed all steps..step by step...but nothing is working...
When I type sudo pigpio
The error is comnand not found...
What is the problem??
Becouse I installed it or rpi 2b
thank you but I quick solution becouse I have no time for sample delevery issue.mahjongg wrote:as long as the signals are digital, and stay below 3.3V (or you will blow up the PI which is NOT 5V tolerant).
also, there are very cheap 8-channel USB logic analyzers these day that sell for just $8 or so from Chinese sites, including windows software, they work, I have used them. They are clones of the Salea logic analyzer, but for a tenth of the price, Here is one of them: http://www.dx.com/nl/p/logic-analyzer-w ... i_GRVf4beA
Tryhamza wrote:thank u
I followed all steps,but still not working....plz advice
pi@raspberrypi ~/PIGPIO $ gcc -o foobar foobar.c -lpigpio -lrt -lpthread
gcc: error: foobar.c: No such file or directory
pi@raspberrypi ~/PIGPIO $ sudo ./foobar
sudo: ./foobar: command not found
pi@raspberrypi ~/PIGPIO $ sudo pigpiod
2015-10-28 20:07:01 initInitialise: Can't lock /var/run/pigpio.pid
Can't initialise pigpio library
pi@raspberrypi ~/PIGPIO $ cd
pi@raspberrypi ~ $ sudo pigpiod
2015-10-28 20:07:48 initInitialise: Can't lock /var/run/pigpio.pid
Can't initialise pigpio library
pi@raspberrypi ~ $

I don't know why you have funny colours.hamza wrote:sorry there is no update or any change..just pink or blue screen.![]()
![]()
Thank you but still same problem.....joan wrote:I don't know why you have funny colours.hamza wrote:sorry there is no update or any change..just pink or blue screen.![]()
![]()
You still don't seem to be starting things properly.
Try
sudo killall piscope
sudo killall pigpiod
sudo rm /var/run/pigpio.pid
Any of all of the above may return errors. Ignore them.
Then
sudo pigpiod
piscope&
(NOT sudo pigpiod & piscope).

The default sampling rate at 5µs intervals should get relative timings accurate to +/- 10µs. That is good enough for almost everything I do on the Pi.hamza wrote:Thank u joan...its working correctly now
I hope the time mesuearment is accurate.
Thank u ..you are great man.joan wrote:The default sampling rate at 5µs intervals should get relative timings accurate to +/- 10µs. That is good enough for almost everything I do on the Pi.hamza wrote:Thank u joan...its working correctly now
I hope the time mesuearment is accurate.
For anything else I'd used a Saleae 8-channel logic analyser dongle clone. They sample at up to 24 MHz.