+ Post New Thread
Results 1 to 7 of 7
  1. #1
    Full Member level 1
    Points: 1,097, Level: 7

    Join Date
    Jul 2013
    Location
    LAHORE,PAKISTAN
    Posts
    101
    Helped
    5 / 5
    Points
    1,097
    Level
    7

    Incremental Encoder RI 76TD with output rs422 (conversion from rs422 to rs232)

    I have Incremental Encoder RI 76TD with output rs422
    in rs422 we have rx+ rx- tx+ tx-

    SO how can i get data from it using arduino??
    can i use MAX485 to convert rs422 to rs232 if yes then what whould be the wiring diagram .
    pinout of encoder
    Click image for larger version. 

Name:	data.png 
Views:	3 
Size:	67.9 KB 
ID:	128565
    Last edited by ANS HAFEEZ; 28th April 2016 at 09:01.

    •   Alt28th April 2016, 08:55

      advertising

        
       

  2. #2
    Super Moderator
    Points: 229,007, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    39,483
    Helped
    12071 / 12071
    Points
    229,007
    Level
    100

    Re: rs422 to rs232 using MAX485

    I guess you don't understand yet how the incremental encoder interface works. It's not a digital data output that can be connected to a serial interface. Instead it has quadrature signals A/B and an index pulse channel that have to be processed by a special quadrature encoder interface. https://en.wikipedia.org/wiki/Rotary...rotary_encoder

    Converting the A/B signals to RS232 levels makes no sense. You'll use a RS422 receiver to convert it to logic level and feed it e.g. to microcontroller with hardware or software (suitable for slow speed only) quadrature encoder interface.



    •   Alt28th April 2016, 09:02

      advertising

        
       

  3. #3
    Full Member level 1
    Points: 1,097, Level: 7

    Join Date
    Jul 2013
    Location
    LAHORE,PAKISTAN
    Posts
    101
    Helped
    5 / 5
    Points
    1,097
    Level
    7

    Re: rs422 to rs232 using MAX485

    i have good idea of incremental encoder and interfaced encoder like that before https://www.pololu.com/product/1440
    but i am confused with output circuit rs422 in the data sheet of that encoder as you can see it in picture attched in the main question



    •   Alt28th April 2016, 09:57

      advertising

        
       

  4. #4
    Super Moderator
    Points: 229,007, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    39,483
    Helped
    12071 / 12071
    Points
    229,007
    Level
    100

    Re: rs422 to rs232 using MAX485

    RS-422 is a popular interface standard for interference-free connection incremental encoder signals. It has nothing to do with serial data transmission in this case.



  5. #5
    Full Member level 4
    Points: 1,949, Level: 10

    Join Date
    Oct 2012
    Posts
    230
    Helped
    58 / 58
    Points
    1,949
    Level
    10

    Re: rs422 to rs232 using MAX485

    As encoders are usually used with motors and often in a electrically noisy environment, some encoders can be purchased that have RS-422 (or other type of differential outputs) to be more immune to noise. All you need on the other end is the matching receiver circuit to convert the differential signals back to digital signals.



    •   Alt28th April 2016, 12:39

      advertising

        
       

  6. #6
    Full Member level 1
    Points: 1,097, Level: 7

    Join Date
    Jul 2013
    Location
    LAHORE,PAKISTAN
    Posts
    101
    Helped
    5 / 5
    Points
    1,097
    Level
    7

    Re: rs422 to rs232 using MAX485

    Can you give examples of such receiving circuits?



  7. #7
    Full Member level 4
    Points: 1,949, Level: 10

    Join Date
    Oct 2012
    Posts
    230
    Helped
    58 / 58
    Points
    1,949
    Level
    10

    Re: rs422 to rs232 using MAX485

    Download this PDF http://www.ics-as.dk/images/File/Hen...catalog_en.pdf

    On page 6 is an example circuit. You have to replicate it 3 time (Chan A, B, and N)

    Look at Digikey (for example) for the receivers

    http://www.digikey.com/product-searc...0&pageSize=500


    1 members found this post helpful.

--[[ ]]--