This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RS232/RS485 Converter Circuit Receiving Problem

Other Parts Discussed in Thread: SN65HVD3082E

Hi,

I'm trying to make an RS232/RS485 converter circuit. I used a circuit from http://airborn.com.au/layout/232cnv/232to485.html and i changed some components on that circuit. Then i established my converter circuit that i linked the scheme.

I'm also adding PCB Layout(1)(2) and final board displays to show you. I used copper pour as ground and i connected lacking ground connections with additional wires after the board was prepared. To test my circuit, I used another RS232/RS485 converter circuit which I know that is working without a problem. I connected A and B outputs of my circuit's RS485 connector to the A and B outputs of other circuit's connector. Then i connected these two converter circuits to computer with RS232 USB cable. I tested the communication between these circuits using CuteCOM serial communication terminal. I used two terminals for my circuit and other. (Baud Rate:9600)

I observed that data is transmitting from my converter circuit to other but not receiving from other circuit to mine.

I also tested the other converter circuit with another RS232/RS485 converter circuit which I know that is working without a problem, and i realised that there is not any problem during transmitting and recieving process, so data can be sended and recieved.

These are the list of the changes that i made on original scheme in http://airborn.com.au/layout/232cnv/232cnv40.gif for my converter scheme;

1. Maxim's MAX232CWE was used instead of ICL232.

2. Texas Instruments' SN65HVD3082E was used instead of 75176.

3. As voltage regulator, Exar's SPX3819 was used instead of LM2936Z5.

4. As transistor, BC256A (pnp) was used instead of BC557 (pnp).

5. 22 uF capacitors were used instead of 2.2 uF, for the ones connected to MAX232CWE.

6. On original scheme, a 6 pin connector was used as RS485 connector and two pins were used for A,B connections, one pin was connected for ground, one pin was connected to the 9th pin (RI - Ring Indicator) of the RS232 connector with a jumper. Unlike these, in my circuit, 2 pin connector was used as RS485 connector and only A,B connecitons were made. (RI and ground connections were not used.)

7. On original circuit, A and B pins of SN65HVD3082E Transreciever were terminated with a 120 Ohm resistor and a jumper. I did not do this on my circuit.

I'm investigating about the problem which can be related with changes that i made on original circuit or another reason. I will be very happy if you share your idea about the problem of just transmitting and not recieving data on my converter circuit.

  • Bieaisar,

    RS232 is full duplex and the RS485 port is half duplex.
    The original design warns about circuit being RTS controlled. That means the RS232 device must set and reset RTS to control data direction. This is not standard operation. Special software is required.
  • Hello Bieaisar,

    The first thing that stands out to me is the termination scheme for the RS-485 transceiver. In the old design fail safe biasing was implemented with the resistor divider between the 2.2kohm resistors and the 120ohms termination: SIP A, R1, and SIP B. In the new design you are operating unterminated but you still have R3 and R8 pulling the A and B lines to Vcc and GND. My guess is that the data isn't getting received by the HVD3082E because the bus pins are high impedance when the driver is disabled and the A/B lines are getting pulled to Vcc and GND. In the case of transmitting, it may still work because the bus pins will be actively driven to a positive or negative differential. Can you try replacing the 120ohms termination and seeing if data can be received? 

    Best Regards,

    Casey McCrea