<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>SparkFun Electronics Comments</title>
<link href="https://www.sparkfun.com/"></link>
<id>urn:uuid:214d0e4e-f1b1-d287-ce26-ac5b4c9f8249</id>
<updated>2017-07-16T09:01:45-06:00</updated>
<author><name>SparkFun Electronics</name>
</author>
<link href="https://www.sparkfun.com/feeds/comments" rel="self" type="application/atom+xml"></link>
<entry>
<title>CF on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>CF</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-58d8828dfa2a50be4b8b4567"></link>
<id>urn:uuid:cdffeeba-0465-476b-b678-689dd9e23985</id>
<updated>2017-03-26T21:10:05-06:00</updated>
<content type="html">&lt;p&gt;Not sure about the one in the picture, but the build list for this board has a 220 ohm resistor in it and no 1.2K resistors.  Rest assured the product we actually ship has a 220 ohm resistor.&lt;/p&gt;</content>
</entry>
<entry>
<title>Customer #920236 on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>Customer #920236</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-58d8003cfa2a500e3c8b4567"></link>
<id>urn:uuid:ddd44394-2d9a-613e-f1a9-afeff5399981</id>
<updated>2017-03-26T11:54:04-06:00</updated>
<content type="html">&lt;p&gt;The schematic says that there is a 220 Ohm termination resistance between A and B. But when I look at the picture of the board it shows that there is actually a 1.2 kOhm resistor present. Is there any specific reason for this? As normally for RS485 a 120 Ohm termination resistance is used?&lt;/p&gt;</content>
</entry>
<entry>
<title>bboyho on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>bboyho</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-5890d9a1f3b1a80f178b456c"></link>
<id>urn:uuid:f737a6c6-6599-5835-4f7b-fea0ea821257</id>
<updated>2017-01-31T11:38:25-07:00</updated>
<content type="html">&lt;p&gt;&lt;strong&gt;&amp;mdash;&amp;mdash;&amp;mdash;&amp;mdash;&amp;mdash;&amp;mdash;&amp;ndash; Tech Support Tips/Troubleshooting/Common Issues &amp;mdash;&amp;mdash;&amp;mdash;&amp;mdash;&amp;mdash;&amp;mdash;&amp;ndash;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example Hookup and Arduino Code&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Try looking at this article to for a general connection using the RS485 protocol [ &lt;a href=&quot;https://arduino-info.wikispaces.com/RS485-Modules&quot; rel=&quot;nofollow&quot; &gt;https://arduino-info.wikispaces.com/RS485-Modules&lt;/a&gt; ] and some Arduino Example code [ &lt;a href=&quot;https://arduino-info.wikispaces.com/SoftwareSerialRS485Example&quot; rel=&quot;nofollow&quot; &gt;https://arduino-info.wikispaces.com/SoftwareSerialRS485Example&lt;/a&gt; ].&lt;/p&gt;</content>
</entry>
<entry>
<title>Customer #890706 on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>Customer #890706</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-587cf2daf3b1a8cb538b4567"></link>
<id>urn:uuid:a45d959e-3940-7576-d595-871a38ea62b9</id>
<updated>2017-01-16T09:20:42-07:00</updated>
<content type="html">&lt;p&gt;I have just bought this board and although it does what is says it uses 20mA?&lt;/p&gt;

&lt;p&gt;I have the board connected to a 3.3V regulated power source as well as the RST line to hard wire to transmit mode. This appears to draw 20mA? Is that what counts as low power or I am I doing something stupid here?&lt;/p&gt;

&lt;p&gt;Thanks in advance for any help.&lt;/p&gt;</content>
</entry>
<entry>
<title>snowball on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>snowball</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-585f43f1f3b1a88a2d8b456d"></link>
<id>urn:uuid:0104a3e6-f024-d605-6480-551115a60c5a</id>
<updated>2016-12-24T20:58:41-07:00</updated>
<content type="html">&lt;p&gt;Figured it out &amp;hellip; The UART TXD should actually go to RX-I and UART RXD to TX-O.  Seems odd that this should be the case, but now that comment somewhere below about the TX-O/RX-I pins being swapped on the SP3485 makes sense &amp;hellip;  Hope this helps someone.&lt;/p&gt;</content>
</entry>
<entry>
<title>snowball on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>snowball</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-585efa9bfa2a501b468b4567"></link>
<id>urn:uuid:69104ee1-4f4e-4d0f-306c-148b6d9521c4</id>
<updated>2016-12-24T15:45:47-07:00</updated>
<content type="html">&lt;p&gt;I have two of these wired up to UARTs 4 &amp;amp; 5 on a Beaglebone Black.  The UARTs are properly (and tested!) muxed in the overlay.  So I have TXD, RXD and RTS connected to the equivalent pins on the BOB-10124&amp;rsquo;s (TX-O, RX-I and RTS pins) along with the requisite +3.3V and GND.&lt;/p&gt;

&lt;p&gt;The BOB-10124&amp;rsquo;s are connected with about a foot of CAT5 cable, A-A, B-B and GND to GND.  My application code is pretty simple.&lt;/p&gt;

&lt;p&gt;For both UARTs, I open /dev/ttyO4/5 and set up the speed etc. (no RTS/CTS):&lt;/p&gt;

&lt;p&gt;UART4:  Simply reads from the UART, prints out what it gets&lt;/p&gt;

&lt;p&gt;UART5:  1) RTS enabled with ioctl(TIOCMBIS) on bit TIOCM_RTS   2) Delay 25ms   3) Write message  4) Delay 100ms   5) RTS disabled with ioctl(TIOCMBIC) on bit TIOCM_RTS&lt;/p&gt;

&lt;p&gt;However, I cannot get it to transfer anything (or at least the receiving module (UART4) doesn&amp;rsquo;t receive anything).  I do see the RTS LED go on, then off after a brief pause, so it looks like it&amp;rsquo;s sending.  I know the pins and UART config is correct because if I just cross the UART pins directly it works fine.&lt;/p&gt;

&lt;p&gt;I&amp;rsquo;ve tried many combinations, enabling RTS/CTS in the ioctl(TCSETS) initial set up &amp;hellip; so far nothing has worked.&lt;/p&gt;

&lt;p&gt;I have a Saleae Logic, but it&amp;rsquo;s an old one and doesn&amp;rsquo;t do RS-485 (it&amp;rsquo;s limited to 0-5v and doesn&amp;rsquo;t have any analog channels), maybe this is an excuse to buy a Logic-8 &amp;hellip;&lt;/p&gt;

&lt;p&gt;Any thoughts?&lt;/p&gt;</content>
</entry>
<entry>
<title>l0gikG8 on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>l0gikG8</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-560c526dce395f8d358b456a"></link>
<id>urn:uuid:630f5b96-a237-d6af-ce64-b772b728fb10</id>
<updated>2015-09-30T15:21:49-06:00</updated>
<content type="html">&lt;p&gt;Messing around with RS-485 a couple years ago, the &lt;a href=&quot;http://www.ti.com/lit/an/slla272b/slla272b.pdf&quot; rel=&quot;nofollow&quot; &gt;TI Design Guide&lt;/a&gt; helped me the most to figure things out.&lt;/p&gt;</content>
</entry>
<entry>
<title>ThatAintWorking on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>ThatAintWorking</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-560c15f0757b7fe06a8b4567"></link>
<id>urn:uuid:6f330c5a-248d-a2d9-bbf6-ae6e59294a40</id>
<updated>2015-09-30T11:03:44-06:00</updated>
<content type="html">&lt;p&gt;So, I&amp;rsquo;m new to RJ485 and, if I use this board, I will be using this board for all the nodes in my little network so I don&amp;rsquo;t care if it is compatible with other boards and I don&amp;rsquo;t care if it is full-duplex. What I need to understand is how to connect them all together and communicate.&lt;/p&gt;

&lt;p&gt;There is a Network Topology diagram at the bottom of &lt;a href=&quot;http://www.lammertbies.nl/comm/info/RS-485.html&quot; rel=&quot;nofollow&quot; &gt;this page&lt;/a&gt; that makes it look like it is as simple as connecting all the R&amp;rsquo;s and S&amp;rsquo;s on a sort of 2-wire bus with a couple of resistors at the ends.  The &lt;a href=&quot;https://en.wikipedia.org/wiki/RS-485&quot; rel=&quot;nofollow&quot; &gt;wikipedia page for RS-485&lt;/a&gt; describes several different topologies. Master-Slave would suit my project the best (but isn&amp;rsquo;t an absolute requirement), but then I read on &lt;a href=&quot;http://www.bb-elec.com/Learning-Center/All-White-Papers/Serial/Basics-of-the-RS-485-Standard.aspx&quot; rel=&quot;nofollow&quot; &gt;this other page&lt;/a&gt; that master-slave requires 4 wires and full-duplex.&lt;/p&gt;

&lt;p&gt;Regarding communication, is it just as simple as connecting them to the TX/RX of the UART on my Raspberry Pi and Arduino boards? What about voltage translation between 3.3v and 5v devices? I know they boards can handle both but will the network of them handle a mix of voltages coming from the devices?&lt;/p&gt;

&lt;p&gt;So, can anyone help me sort this out. I don&amp;rsquo;t want to buy the boards until I at least have a basic understanding of how to use them.&lt;/p&gt;</content>
</entry>
<entry>
<title>NUAV on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>NUAV</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-558e76ad757b7ff67d8b4567"></link>
<id>urn:uuid:a3615181-8c77-01ff-7637-9e841c51139d</id>
<updated>2015-06-27T04:10:53-06:00</updated>
<content type="html">&lt;p&gt;I know its been a while but, for anyone else wondering about the Max13487 you can pretty much drop it into this board&amp;rsquo;s design no problems. I fried the original chip and was able to replace it with the Max without any issues or code changes. I believe that the Max&amp;rsquo;s datasheet calls for pull-up and down resistors on the A&amp;amp;B lines but  I&amp;rsquo;ve had no problems without them so far (I&amp;rsquo;m probably missing something important but, meh, it works.).&lt;/p&gt;</content>
</entry>
<entry>
<title>ecurtz on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>ecurtz</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-5559f6e1757b7f650a8b4567"></link>
<id>urn:uuid:b18da90a-be20-897b-1bfe-a9c57bca296d</id>
<updated>2015-05-18T08:27:45-06:00</updated>
<content type="html">&lt;p&gt;RTFM! I admit it was me being stupid, but it doesn&amp;rsquo;t help that they&amp;rsquo;ve named the pins differently from the chip. I really didn&amp;rsquo;t expect the breakout labeled &amp;ldquo;TX-O&amp;rdquo; to be connected to &amp;ldquo;Pin 1 – RO – Receiver Output&amp;rdquo;.&lt;/p&gt;</content>
</entry>
<entry>
<title>Customer #197389 on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>Customer #197389</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-5504a80b757b7fa7638b4567"></link>
<id>urn:uuid:8557914c-7f6b-a411-c33e-ffcc55166051</id>
<updated>2015-03-14T15:28:43-06:00</updated>
<content type="html">&lt;p&gt;Could you share your design?  I am interested in a breakout board for the max13487 and the changes you made.&lt;/p&gt;</content>
</entry>
<entry>
<title>Premjit Tarafdar on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>Premjit Tarafdar</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-54c608b8757b7f892f8b4567"></link>
<id>urn:uuid:7c33156c-4686-15c5-dbc5-8f0e4d69962c</id>
<updated>2015-01-26T02:28:24-07:00</updated>
<content type="html">&lt;p&gt;Hi, could some one please help me with connecting this adapter to an arduino (pro micro 5V 16 MHz). Any help would be appreciated. Thanks&lt;/p&gt;</content>
</entry>
<entry>
<title>Customer #626585 on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>Customer #626585</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-54856110ce395f635c8b4567"></link>
<id>urn:uuid:ca26e224-f363-4214-3c40-d20cb8ad463e</id>
<updated>2014-12-08T01:28:00-07:00</updated>
<content type="html">&lt;p&gt;The SP3485 specifies the Vcc to be 3.3 V.  Is it allowed to operate this component with a Vcc of 3.0 V.? There is no indication whether this is allowed or not.&lt;/p&gt;</content>
</entry>
<entry>
<title>mmcg on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>mmcg</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-54384143757b7fd6028b4567"></link>
<id>urn:uuid:826b948a-e414-3baf-e43f-2c2f1b58d9ec</id>
<updated>2014-10-10T14:27:47-06:00</updated>
<content type="html">&lt;p&gt;I got a few of these for prototyping a home automation project, connecting a bunch of stuff over CAT-5 and RS-485. I notice that the blue pair (4&amp;amp;5) are connected to ground in the schematic of the breakout board, but PoE (on wikipedia anyway) says the blue pair are DC+ and the brown pair DC-.&lt;/p&gt;

&lt;p&gt;Is the breakout board wired for a different standard, and if so, which one?&lt;/p&gt;</content>
</entry>
<entry>
<title>NUAV on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>NUAV</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-53d49619ce395f155b8b4567"></link>
<id>urn:uuid:1b7c866e-c8ac-ba55-c642-7d2710777bde</id>
<updated>2014-07-27T00:03:05-06:00</updated>
<content type="html">&lt;p&gt;I just ordered a Max13487. I would love to see what you have done!&lt;/p&gt;</content>
</entry>
<entry>
<title>matt pinner on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>matt pinner</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-53b5d2d8ce395f090f8b4570"></link>
<id>urn:uuid:046cd8ef-376e-a02c-e16a-4128d0e6168d</id>
<updated>2014-07-03T16:02:00-06:00</updated>
<content type="html">&lt;p&gt;would this be a practical solution to increase the length of spi lines. i only need output. my theorey wa to place one of these on either side like so:&lt;/p&gt;

&lt;p&gt;arduino -&gt; spi -&gt; rs485 -&gt; [long cable run 100ft] -&gt; rs485 -&gt; spi -&gt; ws2801&lt;/p&gt;

&lt;p&gt;or something similar. is there a better solution?&lt;/p&gt;

&lt;p&gt;thanks!&lt;/p&gt;

&lt;p&gt;-matt&lt;/p&gt;</content>
</entry>
<entry>
<title>Adam13 on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>Adam13</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-533b7d97757b7fbf478b4567"></link>
<id>urn:uuid:1c72a149-f2ff-030d-fa50-0d64dc4f8486</id>
<updated>2014-04-01T21:01:43-06:00</updated>
<content type="html">&lt;p&gt;What code are you using to drive the Max485?  I&amp;rsquo;ve been working on a project where I&amp;rsquo;ve used both Max485 and ST485&amp;rsquo;s directly (no breakout board) and haven&amp;rsquo;t seen this problem, I can reliably get no-op responses from a remote board in ~1ms, however I&amp;rsquo;ve only been doing using SoftwareSerial and not the built in serial.  I&amp;rsquo;ve also been using direct communication and not-DMX, using http://www.gammon.com.au/forum/?id=11428 (worth checking out, depending on what you&amp;rsquo;re doing with it) combined with a socket-like layer I&amp;rsquo;ve been working on (https://github.com/aphelps/HTML/tree/master/Libraries/RS485Utils)&lt;/p&gt;</content>
</entry>
<entry>
<title>Customer #523560 on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>Customer #523560</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-53089a73757b7f3c388b4568"></link>
<id>urn:uuid:245f0c7e-a390-382b-8890-fc2f3a9b32d8</id>
<updated>2014-02-22T05:39:15-07:00</updated>
<content type="html">&lt;p&gt;can someone tell me where can I find this in the Sparkfun Eagle libraries ???&lt;/p&gt;</content>
</entry>
<entry>
<title>Hoarfrost on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>Hoarfrost</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-52f7a696ce395f6b338b4567"></link>
<id>urn:uuid:2b0f39b9-8c7d-d47a-7444-1177cf3142c4</id>
<updated>2014-02-09T09:02:30-07:00</updated>
<content type="html">&lt;p&gt;Will this help?
http://pydoc.org/2.5.1/termios.html
&amp;ldquo;tcdrain(&amp;hellip;) tcdrain(fd) -&gt; None
Wait until all output written to file descriptor fd has been transmitted.&amp;rdquo;&lt;/p&gt;</content>
</entry>
<entry>
<title>Hoarfrost on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>Hoarfrost</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-52f7a523757b7f96348b4567"></link>
<id>urn:uuid:bac5d659-8779-54bf-ed0a-1fe516aef631</id>
<updated>2014-02-09T08:56:19-07:00</updated>
<content type="html">&lt;p&gt;I am interested in the new board design using the Max13487.  Will Sparkfun be carrying these soon?  If not does anyone know where I can find one or find the design and parts?  I&amp;rsquo;ve been messing around with the 485 breakout board now for about a month and it is extremely difficult to get reliable fast communication.  At best so far I&amp;rsquo;m only able to get communication speed to about 1/3 as fast as it should be and I still have some errors.  When I use a USB to 485 it works flawlessly, except I don&amp;rsquo;t want to use USB for the finished product.&lt;/p&gt;</content>
</entry>
<entry>
<title>ghjeng on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>ghjeng</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-52b96371ce395f025d8b4567"></link>
<id>urn:uuid:6d1a7b61-ceed-3f9f-ab01-28f664449115</id>
<updated>2013-12-24T03:35:29-07:00</updated>
<content type="html">&lt;p&gt;Any chance of starting a repo for this product? We&amp;rsquo;ve made an improved version of this board now which doesn&amp;rsquo;t require the RTS pin. The change makes use of the Max13487 chip which has a built in state machine to determine the Rx and Tx directions. No more struggling with getting the timing delays correct for the RTS triggering. We use the new board design to communicate reliably with industrial equipment such as HMIs and VSDs at anything up to 115200baud. We&amp;rsquo;d love to share the changes with you, but don&amp;rsquo;t want to start our own repo as it would be better placed under your original design. Thanks in advance&amp;hellip;&lt;/p&gt;</content>
</entry>
<entry>
<title>ghjeng on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>ghjeng</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-52a6d916757b7f0b6d8b4567"></link>
<id>urn:uuid:7bc0f514-665e-db4c-367d-7e11b8820d7f</id>
<updated>2013-12-10T02:04:22-07:00</updated>
<content type="html">&lt;p&gt;Hi Mike, just a quick follow up on this. We played with this breakout board, as well as the Max485 for a few weeks. It is extremely sensitive to delays and timing in order to trigger the RTS line reliably. We decided instead to use the Max13487 chip which has a built-in state machine and handles the TX-RX latching by itself. This removes all of the delays from the Modbus library file and also frees up the RTS pin. We now have Modbus running flawlessly at 115200baud. This is only positive criticism, but I would highly recommend and suggest that you change your Modbus chips to the Max13487. I think the majority of us customers would rather just plug and play and the sadistic ones can buy their own Max485 with an RTS pin and spend weeks debugging :) Use it, don&amp;rsquo;t use it&amp;hellip;&lt;/p&gt;</content>
</entry>
<entry>
<title>mikeZ337 on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>mikeZ337</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-5283db6b757b7f20508b4568"></link>
<id>urn:uuid:7a1f2df0-af7c-3a49-2503-528208ad1fda</id>
<updated>2013-11-13T13:04:59-07:00</updated>
<content type="html">&lt;p&gt;serial.flush() may help&lt;/p&gt;</content>
</entry>
<entry>
<title>JohnGalt on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>JohnGalt</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-5205e256757b7f24144d9632"></link>
<id>urn:uuid:b2940651-d7ba-9554-86bb-70ee513fdc81</id>
<updated>2013-08-10T00:48:54-06:00</updated>
<content type="html">&lt;p&gt;Why does one need a breakout board for a part which is available in thru-hole packaging?&lt;/p&gt;</content>
</entry>
<entry>
<title>capt jim on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>capt jim</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-51ce4017757b7f510d000000"></link>
<id>urn:uuid:6adec032-1440-4d64-2e1d-7d27545f822b</id>
<updated>2013-06-28T20:01:59-06:00</updated>
<content type="html">&lt;p&gt;if the delay seems excessive make sure you have 220 ohm termination at both ends of the twisted pair&lt;/p&gt;</content>
</entry>
<entry>
<title>Customer #444433 on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>Customer #444433</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-51bfe540ce395fbf26000001"></link>
<id>urn:uuid:75b6c576-2bda-2989-290f-8880f92426b1</id>
<updated>2013-06-17T22:42:40-06:00</updated>
<content type="html">&lt;p&gt;Help please&amp;hellip; Can someone please provide a schema on how to connect this boars?? I have in one side a device with RS485 that is sending out data (I just send out and I don&amp;rsquo;t need to read) and I would like to connect few of this board and get a TTL out from them? I try few times but without good result&amp;hellip; Thanks&lt;/p&gt;</content>
</entry>
<entry>
<title>MikeGrusin on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>MikeGrusin</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-519668cc757b7f9c67000000"></link>
<id>urn:uuid:1ebd68eb-a206-0828-5b00-d26f1d2d5ac7</id>
<updated>2013-05-17T11:28:44-06:00</updated>
<content type="html">&lt;p&gt;This is an interesting issue when designing half-duplex systems: when you&amp;rsquo;re done transmitting you need to quickly switch to receive, but because the UART buffers at least one character (it will return to your code when it starts, not finishes, sending the last character), how do you know when you&amp;rsquo;re actually done transmitting? I don&amp;rsquo;t know exactly how the Arduino Serial driver works, but it might be worth digging into the source code (yay open source!) to determine if and how it is buffering characters before sending them. You might also look at the 2560 datasheet, as there is likely a UART status bit that is asserted when the UART is busy transmitting, which is something you could busy-wait on to deassert RTS immediately after the last bit is sent. With the above knowledge, you might be able to tighten things up in your code, or even hack on the Serial driver to automatically assert RTS while you&amp;rsquo;re sending data and deassert it when you&amp;rsquo;re done.&lt;/p&gt;

&lt;p&gt;Arduino is great at making the easy stuff easy. Here you&amp;rsquo;re pushing it into something new, which may take a bit of work, but the nice thing about open source is that they give you the freedom to do so. Good luck and let the world know your solution to make it easier for the next person who wants to do this!&lt;/p&gt;</content>
</entry>
<entry>
<title>MechE87 on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>MechE87</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-51963a1f757b7f5174000000"></link>
<id>urn:uuid:a09a1022-13ca-331b-aeef-22ce75646916</id>
<updated>2013-05-17T08:09:35-06:00</updated>
<content type="html">&lt;p&gt;I&amp;rsquo;ve been using this breakout for about a year now and it&amp;rsquo;s been working pretty well.  I&amp;rsquo;ve noticed from the beginning, that I need to have a delay of about 25 ms after I send serial data before I can bring the RTS line low otherwise the transmission gets corrupted or is not transmitted.  This hasn&amp;rsquo;t been a big issue yet, but for a recent project I am running two 485 lines from one Arduino Mega 2560.  I am receiving commands on one 485 line from the host software and transmitting them if the address is correct (I have several Megas running).  I am expecting a response on the second 485 line from the devices I am sending commands to.  The issue is that the peripheral devices respond in ~20ms and sometimes I get it and sometimes I don&amp;rsquo;t (based on the state of the RTS pin).  I need to transmit these responses back to the host software.&lt;/p&gt;

&lt;p&gt;I feel like I should need these delays in the program.  I would assume that the arduino has completed the transmission before it moves on from a serial.write() command.  Any ideas?&lt;/p&gt;</content>
</entry>
<entry>
<title>MikeGrusin on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>MikeGrusin</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-512f95b7757b7fd36d000003"></link>
<id>urn:uuid:5e590c59-fe3a-3422-613e-746c6bf86c9a</id>
<updated>2013-02-28T10:36:55-07:00</updated>
<content type="html">&lt;p&gt;The issue you&amp;rsquo;re running into is that RS-485 is half-duplex (it can transmit or receive, but not at the same time), while the XBee is full-duplex (separate transmit and receive lines).&lt;/p&gt;

&lt;p&gt;What you&amp;rsquo;d need to implement this is a signal that indicates when you&amp;rsquo;re transmitting and when you&amp;rsquo;re receiving. Unfortunately RTS and CTS don&amp;rsquo;t provide this signal. They&amp;rsquo;re for flow control, which allows the two sides to tell each other if their buffers are full and data transfer should pause to avoid losing data. I don&amp;rsquo;t know of a signal on an XBee that could be used for this. You might be able to approximate this signal from your host system, but you&amp;rsquo;d need to be sure to switch to receive immediately after sending your data to avoid losing any of the reply, AND you&amp;rsquo;d have to reliably get this signal to both ends of the RS485 bus, which kind of defeats the point.&lt;/p&gt;

&lt;p&gt;I can think of two ways around this problem. One is to use a total of four RS485 boards, two for the TX and two for the RX signal, with the direction control permanently on. This would give you a four-wire connection with all the benefits of RS485. Another option is to use RS422 instead of RS485; RS422 is the full-duplex version of RS485 (there is no direction control). SFE doesn&amp;rsquo;t currently carry any RS422 hardware, but the chips are out there and very easy to use.&lt;/p&gt;

&lt;p&gt;Anyone have any other ideas? I hope this helps, good luck with your project!&lt;/p&gt;</content>
</entry>
<entry>
<title>Customer #413886 on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>Customer #413886</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-512f2d94757b7ff76d000000"></link>
<id>urn:uuid:eb34b33d-6878-fc2d-2c20-f8e943738354</id>
<updated>2013-02-28T03:12:36-07:00</updated>
<content type="html">&lt;p&gt;am trying to connect Sparkfun RS485 breakout to Xbee Pro modem. Since the RS485 breakout uses the SP3485 RS-485 transceiver IC which has its RTS pin to control the data flow I assumed that this signal should be obtained from the Xbee RTS (DIO6), or CTS (DIO7). Although both IOs where configured as RTS and CTS respectively, they fail to show any change in their status when data sent (from PC) or received from another Xbee..&lt;/p&gt;

&lt;p&gt;Has any one tried this type of connection ? and can offer advise with tat regard.&lt;/p&gt;</content>
</entry>
<entry>
<title>Customer #364496 on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>Customer #364496</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-5103f8cb757b7f8018000001"></link>
<id>urn:uuid:f5adf2df-081b-27a3-4b94-09394450ba42</id>
<updated>2013-01-26T08:39:55-07:00</updated>
<content type="html">&lt;p&gt;Stray solder balls?  Sure I can clean them up with my soldering iron, but for this price we should get some sort of quality control.&lt;/p&gt;</content>
</entry>
<entry>
<title>Customer #120409 on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>Customer #120409</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-50b26c5dce395f6a79000001"></link>
<id>urn:uuid:9eec9df7-fc54-feea-9e19-1cf833a54647</id>
<updated>2012-11-25T12:07:09-07:00</updated>
<content type="html">&lt;p&gt;Has anyone had any luck using this with an arduino? I&amp;rsquo;m trying to drive a dmx light using the tinker.it DmxSimple library.&lt;/p&gt;</content>
</entry>
<entry>
<title>MikeGrusin on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>MikeGrusin</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-507312f4757b7f7d70000001"></link>
<id>urn:uuid:bb4ebd72-afb9-8603-bfc6-e24681e64a11</id>
<updated>2012-10-08T11:52:52-06:00</updated>
<content type="html">&lt;p&gt;This board doesn&amp;rsquo;t care what baud rate you use, it just passes the signal straight through.&lt;/p&gt;

&lt;p&gt;But if you don&amp;rsquo;t know what baud rate your black box is using, you&amp;rsquo;ll likely have to try all the standard values to see if it responds to any commands.&lt;/p&gt;</content>
</entry>
<entry>
<title>mariusm on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>mariusm</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-5072ade6757b7fc16e000001"></link>
<id>urn:uuid:614e28a6-7999-e8c5-9219-88e6bcb6d4f4</id>
<updated>2012-10-08T04:41:42-06:00</updated>
<content type="html">&lt;p&gt;How do I know what uart baud rate to use when connecting to the tranceiver.&lt;/p&gt;

&lt;p&gt;The rs485 side is connected to a &amp;ldquo;black box&amp;rdquo;&lt;/p&gt;</content>
</entry>
<entry>
<title>MikeGrusin on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>MikeGrusin</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-50462f98757b7fc421000001"></link>
<id>urn:uuid:749b59d0-d767-75fa-1493-3a63a91bc062</id>
<updated>2012-09-04T10:43:04-06:00</updated>
<content type="html">&lt;p&gt;If you ultimately want it to end up in a USB port, an &lt;a href=&quot;https://www.sparkfun.com/products/9873&quot; rel=&quot;nofollow&quot; &gt;FTDI Basic Breakout&lt;/a&gt; would be an easy way to do so.&lt;/p&gt;</content>
</entry>
<entry>
<title>mariusm on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>mariusm</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-5044524a757b7f0359000001"></link>
<id>urn:uuid:83046d24-3c79-35b0-744c-3cde300d66ec</id>
<updated>2012-09-03T00:46:34-06:00</updated>
<content type="html">&lt;p&gt;HI,&lt;/p&gt;

&lt;p&gt;I know this might be stupid, but is there an easy way to connect this to a usb to rs232 converter on the UART side?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</content>
</entry>
<entry>
<title>Customer #236519 on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>Customer #236519</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-4fca6162757b7fd568000000"></link>
<id>urn:uuid:a42cafe1-af6b-1ce0-a513-742492cf0294</id>
<updated>2012-06-02T12:54:26-06:00</updated>
<content type="html">&lt;p&gt;I considered using this breakout for my projects but the lack of full duplex capabilities had me looking elsewhere.  I settled on the max488. A breakout of that chip would be very awesome.  Of course the downside is that the max 488 is limited to 250 Kbps but I only needed it for serial translation from ucontroller to ucontroller.&lt;/p&gt;</content>
</entry>
<entry>
<title>sdb on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>sdb</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-4ed31267757b7fd923000000"></link>
<id>urn:uuid:6ce39b52-821d-0aa7-0dcb-f04ff8bc80c4</id>
<updated>2011-11-27T21:47:35-07:00</updated>
<content type="html">&lt;p&gt;to monitor the 485 bus while transmitting (for collision detection), would it work to separate pin 2,3 on the sp3485 and then ground pin 2?  That would still leave transmitter control on the RTS, but would it then receive while it was sending?&lt;/p&gt;</content>
</entry>
<entry>
<title>nzl_rpb on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>nzl_rpb</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-4eaad856757b7fd35100a8e3"></link>
<id>urn:uuid:3d8e9eb3-9ca2-1d01-a3ec-de58c2af59c5</id>
<updated>2011-07-28T15:31:03-06:00</updated>
<content type="html">&lt;p&gt;Assuming you use one board at each end, the two 220 ohm parallel to 110 ohm, and you&amp;rsquo;re correctly terminated.&lt;/p&gt;</content>
</entry>
<entry>
<title>Materdaddy on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>Materdaddy</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-4eaad855757b7fd35100a236"></link>
<id>urn:uuid:891f00a7-c8c2-5774-2ce4-c44cb2e17149</id>
<updated>2011-07-08T00:58:27-06:00</updated>
<content type="html">&lt;p&gt;In addition to my previous comments, I have found another flaw.  There are no provisions for pull-up/pull-down resistors.  The A/B RS-485 lines don&amp;rsquo;t make their way to the breadboard so you can&amp;rsquo;t put pull-up/pull-down resistors on easily.&lt;br/&gt;
Also, why a 220 ohm terminating resistor?  If you&amp;rsquo;re using Cat-5 isn&amp;rsquo;t the impedance of the twisted pair typically 120 ohm?&lt;/p&gt;</content>
</entry>
<entry>
<title>Materdaddy on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>Materdaddy</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-4eaad855757b7fd35100a138"></link>
<id>urn:uuid:0c1bf466-a014-703b-d7ce-25443ec908eb</id>
<updated>2011-07-05T12:26:11-06:00</updated>
<content type="html">&lt;p&gt;There should be an assembled picture of this.  In my haste to order I didn&amp;rsquo;t realize the break-out was either RJ-45 -OR- 3.5mm screw terminal.  The verbiage states &amp;ldquo;and&amp;rdquo; not &amp;ldquo;or&amp;rdquo;.&lt;br/&gt;
Upon receiving it, I realized that the side-pins are the standard .1&quot; header pins mentioned, not for the screw terminal which only mounts if you do not mount the RJ-45 connector.&lt;br/&gt;
It&amp;rsquo;s my fault for not doing enough looking at the schematic/eagle board layout/PCB picture, but a simple picture of the completed PCB would have helped.&lt;/p&gt;</content>
</entry>
<entry>
<title>mtobon on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>mtobon</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-4eaad854757b7fd351009be0"></link>
<id>urn:uuid:4a9b2411-a05c-9ca8-0dd0-a9e686aa8b3c</id>
<updated>2011-06-15T15:44:47-06:00</updated>
<content type="html">&lt;p&gt;Hello everyone, i wish you could help me&amp;hellip;&lt;br/&gt;
I bought this module a while ago and i was trying to make a simple application using a capacitive keyboard that sends data using RS485 protocol and my new Arduino Mega.&lt;br/&gt;
The thing that is going on is that i am able to send messages to my keyboard from my arduino, but not in the other way&amp;hellip; the arduino code get stucked in the line where the serial is supposed to receiva data.&lt;br/&gt;
It is possible that the receiver module of the SP3485 chip is not working properly? or what else could it be?&lt;br/&gt;
Greetings,&lt;/p&gt;</content>
</entry>
<entry>
<title>roycohen2013 on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>roycohen2013</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-4eaad853757b7fd351009306"></link>
<id>urn:uuid:67c0a60c-f348-1bee-dee9-f153c22fe22d</id>
<updated>2011-05-20T17:46:07-06:00</updated>
<content type="html">&lt;p&gt;yea i would also really really really like a sparkfun DMX-512 transceiver board&lt;/p&gt;</content>
</entry>
<entry>
<title>DigiC on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>DigiC</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-4eaad851757b7fd351008638"></link>
<id>urn:uuid:44c203f8-d150-1e6d-f544-ad02a2ac20c6</id>
<updated>2011-04-09T21:57:11-06:00</updated>
<content type="html">&lt;p&gt;i noticed that full duplex could be possible by connecting a second board&amp;rsquo;s A and B pins to the pins 1, 2, 3, or 5 of the first board when using a RJ-45 connector.&lt;br/&gt;
but a full transceiver board with extra circuitry would be nice&lt;/p&gt;</content>
</entry>
<entry>
<title>heathkid on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>heathkid</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-4eaad851757b7fd351008626"></link>
<id>urn:uuid:be072ec5-34f7-9093-b220-2ffc9f90db31</id>
<updated>2011-04-09T15:38:10-06:00</updated>
<content type="html">&lt;p&gt;Add me to the list as well.  I&amp;rsquo;d love to see a SparkFun DMX-512 board.&lt;/p&gt;</content>
</entry>
<entry>
<title>roycohen2013 on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>roycohen2013</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-4eaad851757b7fd3510085a2"></link>
<id>urn:uuid:35941084-4699-bd0e-6b71-77c1f2fefe7f</id>
<updated>2011-04-07T21:21:36-06:00</updated>
<content type="html">&lt;p&gt;I was just about to ask for the same thing&lt;/p&gt;</content>
</entry>
<entry>
<title>DigiC on BOB-10124 - SparkFun Transceiver Breakout - RS-485</title>
<author><name>DigiC</name>
</author>
<link href="https://www.sparkfun.com/products/10124#comment-4eaad851757b7fd351008572"></link>
<id>urn:uuid:a63d8bbb-d4a9-0b09-9c80-56786bf257a8</id>
<updated>2011-04-07T14:02:33-06:00</updated>
<content type="html">&lt;p&gt;I could use this in my next DMX-512 design.&lt;br/&gt;
Any chance for a full duplex transceiver? Possible even a breakout with optical isolation, protection circuitry, and a DC to DC converter for isolated power?&lt;/p&gt;</content>
</entry>
</feed>