tapping into RS232


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2007
    Location
    West Hollywood, CA
    Posts
    38

    Default tapping into RS232

    Odd project:

    I have two devices that speak to each other via RS232. I don't know any of the settings, but I think I can guess, ar do a trial and error until I find the baud rate.

    I want to build a device that splices into the wires that connects the two commumicating devices and reads the data that goes back and forth.

    I am using a PIC 18F4550.

    Is this possible? Any thoughts on how to do it or what problems I might face?

    Cheers,

    Sterling

  2. #2
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Google using "RS232 sniffer" and you'll find lots of links like...

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    If at least a PC software run, YES you need a COM port sniffer on this PC, unless, Hyperterminal or MicroCode studio Serial Communicator will do the trick.

    There's also protocol analyser software

    There's also auto-baud detect EUSART PIC

    I use HHD Software Serial Monitor... REALLY NICE, but not free...
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    SterlingY, You could (If you have a scope) look at the minimum width of a high period of the data signal and compute the baudrate. 1/minimum period = baudrate.

    Dave Purola,
    N8NTA

  5. #5
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Like Mister_e says, if either of the two devices is a PC, you could use a software-only solution.

    I have been very impressed with http://www.serial-port-monitor.com/index.html

    And this is *free*.

    Hope you find it as useful as what I have.

    Regards,

    Anand

Similar Threads

  1. Universal remote and Rs232
    By Michael in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 7th February 2010, 17:55
  2. UART vs software RS232
    By Michael in forum mel PIC BASIC Pro
    Replies: 27
    Last Post: - 5th September 2008, 18:27
  3. RS232 into 2 PC ports
    By manxman in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th August 2008, 13:33
  4. PIC18F4680 to PC via MAX232 (RS232 serial) no output
    By opticsteam1 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th April 2008, 20:39
  5. RS232 to Weigand
    By Stevenindon in forum Serial
    Replies: 0
    Last Post: - 6th April 2006, 04:35

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts