IPB


Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Rs-485 And Rs-232
Digg this topic · Save to del.icio.us · Slashdot It · Post to Technorati · Post to Furl · Submit to Reddit · Share on Facebook · Fark It · Googlize This Post · Add to ma.gnolia · Tag to Wink · Add to MyWeb · Add to Netscape
transfomer
post Apr 25 2008, 05:18 AM
Post #1


Junior Member
**

Group: Full Member
Posts: 6
Joined: 18-April 08
Member No.: 4,502





i found this circuit in a site ,just carrying out it ,i use RS232 before ,will rs485 the same to it ,is there a differ in program

TL750L05,SN75LBC184
Go to the top of the page
 
+Quote Post
marke
post Apr 25 2008, 05:27 AM
Post #2


Posting Freak
******

Group: Moderator
Posts: 2,118
Joined: 24-April 02
From: Christchurch, New Zealand
Member No.: 1



Hello transformer

When you use RS485, you are using the same circuit between your master and slave for TX and RX. With RS232, you have a TX line and an RX line.

For RS485, you need to switch the transceiver, in your circuit SN75LBC184, between transmit and receive.
This is done by controlling the direction pin and in your diagram, this is controlled by P16 on the micro.

You leave the transceiver in RX mode until you want to send data. Then you switch to transmit mode and wait until the data has been sent and then switch back to receive mode. The timing is critical as if you switch too soon, you will block some data from going out, and if you switch too late, you may miss some data from coming in.

Best regards


--------------------
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 





RSS Lo-Fi Version Time is now: 8th January 2009 - 08:15 PM
hosted by : L M Photonics Ltd