Pages: [1]   Go Down
Author Topic: Serial Sniffer  (Read 4168 times)
0 Members and 1 Guest are viewing this topic.
Connecticut
Offline Offline
Edison Member
*
Karma: 17
Posts: 1216
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So I found two 3V devices that comunicate over some sort of serial. (maybe its one wire) I have the two devices talking to eachother, but I want to hack them with my arduino. Can someone tell/show me how to make a sniffer to listen in on the serial connection? (transfer speed is not a problem, the devices are very slow.)


Thanks!
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 639
Posts: 34725
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Use an arduino oscilloscope.
Alternativly you can use the sort of thing people use for sniffing IR remote controllers.
Logged

Newcastle, UK
Offline Offline
Full Member
***
Karma: 0
Posts: 240
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Check out the Dangerous Prototypes Bus Pirate

http://dangerousprototypes.com/bus-pirate-manual/
Logged

CT, USA
Offline Offline
Sr. Member
****
Karma: 3
Posts: 446
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Depending on whether the waveform is periodical, simple oscilloscope might not work because the trigger point will shift and the waveform won't be stable.

If you have a digital scope, you can use the single shot function which will be able to capture arbitrary waveform. Of course, you can always use a dedicated logical analyzer.
Logged

0
Offline Offline
God Member
*****
Karma: 1
Posts: 513
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

you can also use a sound card to record it to a file and analyze the waveform.
Logged

Pages: [1]   Go Up
Jump to: