SparkFun Electronics Commentsurn:uuid:214d0e4e-f1b1-d287-ce26-ac5b4c9f82492024-03-28T06:29:48-06:00SparkFun ElectronicsCustomer #1448472 on According to Pete: How RS-485 WorksCustomer #1448472urn:uuid:f56f81d8-b873-a0e2-c43e-1bb790d1af8a2018-10-08T15:40:54-06:00<p>I see plenty of places where you can buy it. It's out there if you dig for it. Educational places, Chinese servers. A few places still link to it, it's just not really easy to find it by the filename.<p>It might be helpful to know that Figure 1 is called "general 485 system configuration" and that the quotes matter if you are looking for it.</p><p>Here is a list of all of the 18 figures as well if that might be helpful to make sure you locate the right document.</p><p>FIGURE 1 - GENERAL 485 SYSTEM CONFIGURATION
FIGURE 2 - 485 BUS WITH STUB CABLES OFF A MAIN BACKBONE CABLE
FIGURE 3 - POINT - TO - POINT CONNECTION
FIGURE 4 - ONE DRIVER AND MULTIPLE RECEIVERS (MULTIDROP)
FIGURE 5 - ONE RECEIVER AND MULTIPLE DRIVERS
FIGURE 6 - STAR CONFIGURATION (NOT RECOMMENDED)
FIGURE 7 - 485 BACKPLANE EXAMPLE
FIGURE 8 - 485 BUS DC CIRCUIT MODEL
FIGURE 9 - MAXIMUM LINE LENGTH VERSUS SIGNALING RATE
FIGURE 10 - SIMPLE DIFFERENTIAL TERMINATION
FIGURE 11 - CAPACITIVE COUPLING OF THE TERMINATION RESISTOR
FIGURE 12 - LOW COMMON - MODE IMPEDANCE TERMINATION
FIGURE 13 - MAXIMUM NUMBER OF UNIT LOADS VERSUS COMMON - MODE VOLTAGE AND REQ
FIGURE 14 - DETERMINING IF LOAD REPRESENTS A LUMPED CIRCUIT TO THE 485 BUS
FIGURE 15. - NOISE MODEL FOR A 485 CIRCUIT
FIGURE 16. - IDLE - LINE FAILSAFE BIAS CIRCUIT
FIGURE 17. - OPEN - CIRCUIT FAILSAFE BIAS CIRCUIT
FIGURE 18. - SHORTED - LINE FAILSAFE BIAS CIRCUIT</p></p>
Pete-O on According to Pete: How RS-485 WorksPete-Ourn:uuid:1ca7f930-9ba4-0d4b-6429-882e78bda32d2018-10-08T08:00:19-06:00<p>Hmmm... it looks as though this is one of those docs that someone has decreed could make them some money. Meaning that the only place I can now find it, you gotta pay...or at least jump through some hoops. I'm really sorry, but I don't have a good substitute and I'm gonna have to pull the link we've got.</p>
Customer #1448472 on According to Pete: How RS-485 WorksCustomer #1448472urn:uuid:69af5c5c-b0d7-a843-eb40-7621b2aabe3a2018-10-07T00:30:31-06:00<p>FYI, your link to the TBS-89-A PDF (TSB_2D00_89_2D00_A.pdf) is now a broken link.<p>Do you have an updated link?</p></p>
Pete-O on According to Pete: How RS-485 WorksPete-Ourn:uuid:0cf47332-cebf-6030-92ca-d346e20189372018-04-03T14:25:41-06:00<p>Thanks very much!</p>
jac_goudsmit on According to Pete: How RS-485 Worksjac_goudsmiturn:uuid:9020baad-794e-d705-8a5e-fdbd15ca762f2018-04-03T14:24:15-06:00<p>Thanks! Great video by the way.</p>
Pete-O on According to Pete: How RS-485 WorksPete-Ourn:uuid:de385dc9-7afb-4ed8-4f12-65d9e94202b92018-04-03T11:21:22-06:00<p>1) It's half-duplex. If you want full, you gotta run another twisted pair. Master/slave is determined by the protocol the user decides to employ. I'd prolly do it that way.
2) What happens? Also determined by the user's code. It's not like the inverted data is electrically hazardous, it's just nonsense. But it's not like you're going to have random strangers walking up to your RS-485 bus, talking with a funny accent...
Bonus: Correct.</p>
schultdw on According to Pete: How RS-485 Worksschultdwurn:uuid:0c5ef042-7464-e4b6-9817-22e8351876f52018-04-03T10:15:56-06:00<p>RS-485 is a differential signal so +/-200mV means that the difference between the A and B signals must be greater than 200mV. So the failsafe biasing network that generates >400mV has more than 200mV of margin.<p>The article that helped me the most was "The Art and Science of RS-485" by Bob Perrin published by the Circuit Cellar magazine in July 1999. I can usually get Google to turn up a copy of that in pdf form.</p></p>
jac_goudsmit on According to Pete: How RS-485 Worksjac_goudsmiturn:uuid:3eaab677-80be-2846-8340-1c7f6a2cfbdd2018-04-03T10:00:15-06:00<p>You didn't answer 2 questions that came up in my mind:<ol>
<li><p>Is this a one-way connection so you need two wires to get bidirectional traffic? Or is it half-duplex so directions (can) change? If the latter, is there a master and slaves? Or a round robin protocol or something? I know I could just rtfm...</p></li>
<li><p>So basically line A is the positive logic line and B is inverted. What happens when some idiot mixes them up? Do the receiver chips at each end know how to recognize reversed signals (I guess not because you say it's not a protocol)</p></li>
</ol><p>Bonus question: do I understand correctly that "not a protocol" means that the standard doesn't say how the data is formatted at all? So someone could use startbit-databits-stopbit or Manchester encoding (which would solve question 2)?</p></p>
Pete-O on According to Pete: How RS-485 WorksPete-Ourn:uuid:92e27f7a-29a5-ada9-7926-9f42ecb566aa2018-04-02T14:50:53-06:00<p>Cassy makes me turn off my psychedelic-proggy stuff before recording, so it's not incidental background. But I'm unwilling to turn the volume up enough to hear whatever it is. I don't think I can handle my own voice at high volume.</p>
Pete-O on According to Pete: How RS-485 WorksPete-Ourn:uuid:61212c0b-7728-65a8-7579-8b7249e8bc7e2018-04-02T14:47:00-06:00<p>'773! Good to hear from you. 54 was Phase Locked Loops. As for any listing difficulties... dunno.</p>
Customer #134773 on According to Pete: How RS-485 WorksCustomer #134773urn:uuid:4a7fc47f-6a1f-922f-6679-052eb08dcaf12018-04-02T14:24:52-06:00<p>Minor question, but when I glanced at the <a href="https://www.sparkfun.com/videos#pete" rel="nofollow">list of According to Pete</a> videos, something caught my eye: No video #54...</p>
Customer #134773 on According to Pete: How RS-485 WorksCustomer #134773urn:uuid:5073bfff-20f5-2430-c37f-caaf7b8076982018-04-02T13:52:23-06:00<p>Another great video, Pete!<p>I have a question: Was the low level "background music" intentional? (I actually had to turn off the sound briefly to verify that it was in the video, and not coming from some place else around here.)</p><p>The one system I've worked with that actually included RS-485 used Renasas processors, though I wasn't involved in that part of the design. (I did an interesting test circuit for the LiPo battery charger on that system, but that's off on a different tangent.)</p></p>