Hi All
I have been working on the following circuit which as per the title is a 5v TTL serial to RS485 converter. It features opto signal & ~150mA 12V power isolation and auto direction switching.
This is used at the end of a long cable and interfaces to a device emitting TTL serial on a command and response basis. The baud 9600.
While this device works in that it sends and receives - my problem is that when the device outputs a serial signal this converter returns a couple of characters of hash which triggers the device to emit an error message which is a continuous loop of error messages. i.e the error message then triggers more hash and another error message.
I believe the issue to be related to the auto direction switching around Q1. When there is a signal on the TX line this switches the MAX485 chip from RX to TX. My thoughts are that any serial string which consists of 0 and 5V is banging TX RX on and off. I can improve/rectify this by reducing the baud rate from 9600 to 4800 but this is not ideal due to the device sampling at specific rates. Also I need to confirm this is a MAX manufacture chip.
I thought about adding an RC timer for about 0.3 seconds using R2 at 100K and adding a 1-10uF cap to ground between R2 and Q1.
Anyone have any thoughts?
Cheers
Alex
I have been working on the following circuit which as per the title is a 5v TTL serial to RS485 converter. It features opto signal & ~150mA 12V power isolation and auto direction switching.

This is used at the end of a long cable and interfaces to a device emitting TTL serial on a command and response basis. The baud 9600.
While this device works in that it sends and receives - my problem is that when the device outputs a serial signal this converter returns a couple of characters of hash which triggers the device to emit an error message which is a continuous loop of error messages. i.e the error message then triggers more hash and another error message.
I believe the issue to be related to the auto direction switching around Q1. When there is a signal on the TX line this switches the MAX485 chip from RX to TX. My thoughts are that any serial string which consists of 0 and 5V is banging TX RX on and off. I can improve/rectify this by reducing the baud rate from 9600 to 4800 but this is not ideal due to the device sampling at specific rates. Also I need to confirm this is a MAX manufacture chip.
I thought about adding an RC timer for about 0.3 seconds using R2 at 100K and adding a 1-10uF cap to ground between R2 and Q1.
Anyone have any thoughts?
Cheers
Alex