Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

RS232 - RS 485 converter

Status
Not open for further replies.

pic_me

Newbie level 1
Newbie level 1
Joined
May 27, 2008
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,286
application note 75176

i'm trying to communicate pic16f877 from the pc via an adam232/485 converter and 75176. but there seems to be a problem somewhere. i've connected pin1 of 75176 to rx of pic, pin4 to tx, shorted pins 2&3 of 75176 and connected it to rc4 for dataflow controlling purpose. is any termination resistor is necessary at A&B? also can u tell me whether the pins of 75176 are open collectors?
 

sherazi

Banned
Full Member level 6
Joined
Feb 15, 2010
Messages
388
Helped
61
Reputation
126
Reaction score
61
Trophy points
1,318
Location
Muscat, Oman, Oman
Activity points
0
Re: isolated rs485 schematic

ljmnunes said:
Hi, Proton!

I have a schematic of a RS232-485 converter.
I always used without troubles.

It is in PCad 2002 format.

Good luck

Laercio

can u give the jpeg format or pic sort of thing
 

gunta

Newbie level 4
Newbie level 4
Joined
Dec 6, 2008
Messages
7
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
1,330
Re: isolated rs485 schematic

We have designed and assembled USB to RS485 Isolated Adapter. The adapter schematic is attached. We are using FTDI FT232. It is used for motor induction control from RS485 bus of motor inverter. The test configuration is also attached.

We have tested the adapter and it works fine in regular environment with desktop PC and also with laptop. It is also work fine when it is connected to the inverter with the motor is not running and the laptop charger is not plugged to main power supply. However when it is connected to the inverter we found problem with the adapter. The problem is occurred the motor which is connected to the inverter is running. The problem is the USB and FT232 is erronous and disconnected. The RX and TX LED are blinking without pattern. We need to plug and unplug the USB connector to get the FT232 connected again.

For the desktop PC, which is connected to the main power supply trough power supply cable, we also found the same problem.

Anyone, please help us solving the problem. Thanks
 

Attachments

  • USB-to-RS485-CNV-Half-Duplex-isolated RevA.pdf
    24.4 KB · Views: 69
  • motor_con_conf.pdf
    167.4 KB · Views: 66

7rots51

Advanced Member level 4
Advanced Member level 4
Joined
May 17, 2002
Messages
1,183
Helped
25
Reputation
50
Reaction score
12
Trophy points
1,318
Activity points
9,635
Re: isolated rs485 schematic

I find this problem in FT232R ,please contact FDTI for the problem,I think with better driver for FTDI chip the problem can be removed.

Sometimes we need to re-plug the USB connection!!!!The pcb dos not recognize FT232R
 

grid

Newbie level 4
Newbie level 4
Joined
Dec 2, 2010
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,319
Re: isolated rs485 schematic

Hi, Lercio!
Interesting schematics of rs232-485 converter.
Disadvantage is that modification is needed when transfer speed is need to be change. That can be help with set of jumpers of course.
Does anybody know how works those commercial converters like Adam's etc. with automatic data flow control?
-grid
 

gunta

Newbie level 4
Newbie level 4
Joined
Dec 6, 2008
Messages
7
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
1,330
Re: isolated rs485 schematic

Thank you for your feedback 7rots51.

We have found the problem, it is about a defect in PCB manufacturing which causes the USB ground (0 V) connected to isolated ground. Removing the shorted grounds, we could remove the problem.

The next problem is how about non-isolated FT232R devices? How to remove the non-isolated USB problem? Optically isolated should help, off-course, but is there other simpler solution? Is connecting the USB shield to the PCB ground, as suggested by FTDI support, will help? Is it good to connect the USB shield to PCB ground directly?


I find this problem in FT232R ,please contact FDTI for the problem,I think with better driver for FTDI chip the problem can be removed.

Sometimes we need to re-plug the USB connection!!!!The pcb dos not recognize FT232R
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top