RS422 to RS232 converter.

Discussion in 'General Electronics Chat' started by HellasTechn, Sep 13, 2017.

  1. HellasTechn

    HellasTechn

    Joined:
    Apr 14, 2013
    Messages:
    1,188
    Likes Received:
    177
    Good day !

    I have been searching the net for some cheap RS422 to RS232 converter. While i have found tons of RS232 to RS422 converters, i have found none to do the opposite.

    Anyone have an idea where i can find one or a circuit diagram i could use to build one ?

    Thank You !
     
    HellasTechn, Sep 13, 2017
    #1
    1. Advertisements

  2. HellasTechn

    kellys_eye

    Joined:
    Jun 25, 2010
    Messages:
    1,186
    Likes Received:
    279
    Location:
    West Coast, Scotland
    There isn't one because you'd have to 'choke' the RS422 signal (10Mb/s) back to under 1Mb/s for the RS232 to work. Not to mention the multi-drop facility.....

    If you wanted one I suspect you'd have to use opto-couplers to maintain the system balance and the opto-couplers outputs simply switch at RS232 levels (real or 'fake') with a ground reference.
     
    kellys_eye, Sep 13, 2017
    #2
    1. Advertisements

  3. HellasTechn

    HellasTechn

    Joined:
    Apr 14, 2013
    Messages:
    1,188
    Likes Received:
    177
    What do you mean switch ar rs232 levels ? could you explain more please ? or could you make a diagram ?
     
    HellasTechn, Sep 13, 2017
    #3
  4. HellasTechn

    HellasTechn

    Joined:
    Apr 14, 2013
    Messages:
    1,188
    Likes Received:
    177
    Here i should say that i can use either TTL level rs232 like the one used by UART or hardware rs232 signals that are then converted to TTL level with the transistor inverter circuit.
     
    HellasTechn, Sep 13, 2017
    #4
  5. HellasTechn

    kellys_eye

    Joined:
    Jun 25, 2010
    Messages:
    1,186
    Likes Received:
    279
    Location:
    West Coast, Scotland
    you answered yourself....

    'True' RS232 uses a ± supply (generally 12V) but that's quite rare these days - note the legacy -12V supply line on some PC power supplies - but TTL level is more prevalent now.
     
    kellys_eye, Sep 13, 2017
    #5
  6. HellasTechn

    Minder

    Joined:
    Apr 24, 2015
    Messages:
    2,103
    Likes Received:
    438
    Location:
    Canadian Midwest
    I built one for for converting bi directional RS244-RS232 to a Mitsubishi PLC, it is based on the Beijer cable version, The IC's used are a couple of 75179 and a MAX202.
    M.

    upload_2017-9-13_11-16-27.jpeg
     
    Minder, Sep 13, 2017
    #6
    kellys_eye likes this.
  7. HellasTechn

    HellasTechn

    Joined:
    Apr 14, 2013
    Messages:
    1,188
    Likes Received:
    177
    HellasTechn, Sep 13, 2017
    #7
  8. HellasTechn

    Minder

    Joined:
    Apr 24, 2015
    Messages:
    2,103
    Likes Received:
    438
    Location:
    Canadian Midwest
    The Beijer one no good? 3 ic's
    M.
     
    Minder, Sep 13, 2017
    #8
  9. HellasTechn

    dorke

    Joined:
    Jun 20, 2015
    Messages:
    2,050
    Likes Received:
    546
    Well,
    Apart of the powering issue these devices are bidirectional!
    i.e they perform both ways, so they are basically doing 2 ways conversions.

    1. Use an externally powered device.
    2. Think about the RS-422 termination issue.
    3. Like Kelly said,assumption of low enough baud rate to be comparable with both standards.
     
    dorke, Sep 13, 2017
    #9
  10. HellasTechn

    Minder

    Joined:
    Apr 24, 2015
    Messages:
    2,103
    Likes Received:
    438
    Location:
    Canadian Midwest
    Just use half the circuit if only one direction needed!
    Worked for me.
    M.
     
    Minder, Sep 13, 2017
    #10
    HellasTechn likes this.
  11. HellasTechn

    HellasTechn

    Joined:
    Apr 14, 2013
    Messages:
    1,188
    Likes Received:
    177
    Iam not sure... i can not read the picture. its too small.

    I dont understand the bi directional.
     
    HellasTechn, Sep 13, 2017
    #11
  12. HellasTechn

    HellasTechn

    Joined:
    Apr 14, 2013
    Messages:
    1,188
    Likes Received:
    177
    OK. i have an rs232 transmitter and an rs232receiver. The receiver is not supposed to send anything back to the transmitter. Only "listen"...
     
    HellasTechn, Sep 13, 2017
    #12
  13. HellasTechn

    dorke

    Joined:
    Jun 20, 2015
    Messages:
    2,050
    Likes Received:
    546
    Is this for the same last project that was uploaded here?
    Why do you need RS-422?
    It is(was) usually used for long distance,high speed (relative to RS-232).
     
    dorke, Sep 13, 2017
    #13
  14. HellasTechn

    Minder

    Joined:
    Apr 24, 2015
    Messages:
    2,103
    Likes Received:
    438
    Location:
    Canadian Midwest
    I will see if i can find my own print I made,
    M.
     
    Minder, Sep 13, 2017
    #14
  15. HellasTechn

    Minder

    Joined:
    Apr 24, 2015
    Messages:
    2,103
    Likes Received:
    438
    Location:
    Canadian Midwest
    Minder, Sep 13, 2017
    #15
  16. HellasTechn

    HellasTechn

    Joined:
    Apr 14, 2013
    Messages:
    1,188
    Likes Received:
    177
    The concept is the same but the project is different.

    I had an rs232 transmitter that i needed converted to TTL to supply a Microcontroller.
    Now i have an rs422 transmitter that i need to convert it to TTL to supply the same type microcontroller. Only in this case the problem is that the Microcontroller only supports 2 wire comm (data and gnd like the rs232).
     
    HellasTechn, Sep 13, 2017
    #16
  17. HellasTechn

    HellasTechn

    Joined:
    Apr 14, 2013
    Messages:
    1,188
    Likes Received:
    177

    My concern is that since i need TTL signals in the first place then why not just use the signal on line B instead of building the circuit that will give me a -5V to +5v rs232 ?

    First chance i get, i will use the Oscope and check the rs422 lines to see if they really are as shown in the picture and then if they are... i will try to beed line B to the microcontroller to see if it can read it.
     
    HellasTechn, Sep 13, 2017
    #17
  18. HellasTechn

    dorke

    Joined:
    Jun 20, 2015
    Messages:
    2,050
    Likes Received:
    546
    In this case (listen only).
    Use a receiver IC like the AM26C32 ,MC3486 or DS3486 ,you actually need a single receiver (of the 4 in the IC).
    There are also dual receiver ICs like the uA/MC9637
    These are ICs requiring a single +5v p.s for operation.

    Using a single line(unbalanced, like RS-423) is possible,but highly not recommended !
    You can not directly connect it to TTL!
    In any case you should have a dedicated receiver to translate the levels.

    If the output is RS-422 it should have a spec. defining the speed,range etc.
    Using an unbalanced receiver will limit the range and speed possible,
    as well as noise immunity and ESD capability.

    The receiver end should have a termination resistor.
    Typically a single 100 ohm at the furthest receiver point.

    In any case you should use 2 wires(422 or 423).

    What is the operating speed?
    What is the range?
    How many receivers listening on the line?
     
    dorke, Sep 14, 2017
    #18
    HellasTechn likes this.
  19. HellasTechn

    HellasTechn

    Joined:
    Apr 14, 2013
    Messages:
    1,188
    Likes Received:
    177
    Do they provide rs232 (-12V - +12V) ? or TTL (0V - +5V) ?

    I understand...

    I am not sure.

    4800 BPS
    about 30 meters.
    one rs422 and one rs232 (microcontroller).

    I think i should have provided the diagram in post 1. Sorry !


    In the diagram below, the red line is what i was thinking to try.

    P.S.
    The microcontroller will use two different inputs to read each transmitter and only write to the LCD. The rs422 receiver has two different inputs, will "listen only" and will not send back anything to the transmitters.

    There is really nothing more than that. in other words the receivers work
    independently and use the transmitter only to obtain certain information.
     

    Attached Files:

    Last edited: Sep 14, 2017
    HellasTechn, Sep 14, 2017
    #19
  20. HellasTechn

    dorke

    Joined:
    Jun 20, 2015
    Messages:
    2,050
    Likes Received:
    546
    You have low speed and short distance.
    But,
    Actually you have 2 transmitters feeding 2 receivers .
    Is the uC for just monitoring the the "working line"?

    The ICs would be perfect for you,you can get one for about 1$.

    Place them on the uC board power them with 5V.
    They provide TTL level signals at their output to be used by the uC.
    You will gain nothing by working un-balanced,stick to the balanced RS-422.
     
    dorke, Sep 14, 2017
    #20
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. Quack

    rs422 device - must fake master

    Quack, Jan 27, 2004, in forum: General Electronics
    Replies:
    7
    Views:
    920
    Tim Dicus
    Jan 28, 2004
  2. Reginald Jean Louis

    Detecting short wires ou open wires on RS422/485

    Reginald Jean Louis, Sep 27, 2004, in forum: Electronic Basics
    Replies:
    0
    Views:
    954
    Reginald Jean Louis
    Sep 27, 2004
  3. martin griffith

    Power over Ethernet Vs RS422

    martin griffith, Aug 17, 2005, in forum: Electronic Design
    Replies:
    4
    Views:
    1,348
    Richard H.
    Aug 18, 2005
  4. amnw14545

    RS485 -> RS232 -> V34 -> RS232 -> RS485

    amnw14545, Nov 11, 2005, in forum: Electronic Design
    Replies:
    9
    Views:
    1,563
    amnw14545
    Nov 14, 2005
  5. Peter
    Replies:
    4
    Views:
    2,314
    martin griffith
    Oct 5, 2006
  6. mike7411@gmail.com

    RS422

    mike7411@gmail.com, Oct 9, 2006, in forum: Electronic Basics
    Replies:
    9
    Views:
    896
    jpopelish@rica.net
    Oct 10, 2006
  7. dave.bryan@gmail.com

    Isolated logic/RS422 requirement

    dave.bryan@gmail.com, Oct 12, 2006, in forum: Electronic Design
    Replies:
    0
    Views:
    377
    dave.bryan@gmail.com
    Oct 12, 2006
  8. Matt

    RS232/RS422/RS485 Isolation

    Matt, Oct 11, 2007, in forum: Electronic Design
    Replies:
    4
    Views:
    2,031
    Spehro Pefhany
    Oct 11, 2007
Loading...