Please help: Splitting HROUT


Closed Thread
Results 1 to 10 of 10
  1. #1
    Join Date
    May 2007
    Location
    Area 71
    Posts
    52

    Default Please help: Splitting HROUT

    I want to connect a HSEROUT pin to 2 PCs, is there any IC/hardware or method how to split the signal?


    Thanks

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default

    Take a look at RS485 . It is a multi-drop. You will need a level converter with HSEROUT to connect to a PC. Instead of a the typical 232 chip, get one for 485.
    http://www.lammertbies.nl/comm/info/RS-485.html
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    947

    Default

    If you just need to send data to 2 PCs, you need not bother with RS485. Just make sure you have the MAX232 on your PIC side to ensure that your RS232 level is within spec. Then take the output of the MAX232 and connect to the RXD pin of each PC. You may connect only 1 TXD pin of any one PC to your MAX232 to get commands to your PIC.

    Effectively, what will happen is that whatever your PIC sends will be received by both PCs. What you type on the 1 pc whose TXD is connected to your PIC will be received by your PIC.

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default

    Hi Jerson,
    I did not know that. Was told years ago that 485 was needed for something like this and never tried your solution.
    I will try that the next time. Thanks.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    947

    Default

    Quote Originally Posted by mackrackit View Post
    Hi Jerson,
    I did not know that. Was told years ago that 485 was needed for something like this and never tried your solution.
    This suggestion will work only one way as I explained. So, if your PIC is only sending data, it will work. Unidirectional communication.

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default

    Quote Originally Posted by Jerson View Post
    This suggestion will work only one way as I explained. So, if your PIC is only sending data, it will work. Unidirectional communication.
    Understood. A lot of times this is all I need. Thanks again.
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    May 2007
    Location
    Area 71
    Posts
    52

    Default

    Thank you Jerson & Mackrackit.
    It is a great information
    One more question :
    Can I split the PIC HSEROUT output pin to 2 MAX232 ? Or do I need some buffer IC ? Again, this is just one directional serial
    Last edited by luminas; - 30th May 2008 at 08:45.

  8. #8
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    947

    Default

    One Max232 should be enough at the PIC end.

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

    Default

    MAX232 have 2 transmitter, 2 receiver. So just connect the 2 transmitter input together and that's it, you have 2 output available.
    Steve

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

  10. #10
    Join Date
    May 2007
    Location
    Area 71
    Posts
    52

    Default

    Thank you Steve

Similar Threads

  1. splitting output from a counter
    By astouffer in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 24th September 2009, 21:21
  2. Splitting numbers and recombining them(EEPROM Error)
    By selbstdual in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 3rd June 2007, 06:40
  3. Splitting a byte?
    By Deadeye in forum General
    Replies: 3
    Last Post: - 29th May 2005, 21:58

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