자유게시판

Top 10 Tips to Grow Your Rs485 Cable

페이지 정보

작성자 Garnet 작성일 24-05-30 11:00 조회 8 댓글 0

본문

We have been using Microcontroller Development Boards like Arduino, Raspberry Pi, NodeMCU, ESP8266, MSP430, etc. for a long time now in our small projects where most of the times distance between the sensors and board is not more than few centimeters at max and at these distances, the communication between the different sensor modules, relays, actuators, and controllers can be easily done over simple jumper wires without us being worried about the signal distortion in the medium and the Electrical noises creeping into it. But if you are building a control system with these development boards over a distance greater than 10 to 15 meters, then you should take the noise and signal power into consideration because if you want your system to work reliably, then you cannot afford to lose the data while transferring. Sig- lines are twisted as twisting nullify the effect of electromagnetic noise induced in a cable and provide a much better immunity against the noise which allows the RS485 to transmit the data up to 1200m of range.



Twisted pair also allows the transmission speeds to be much higher than what is possible with straight cables. The probe can be cut to any length from 150mm to 300mm. An RS485 interface with a definable address allows it to be used directly on a modbus network. On the other hand, RS485 is more industry-based communication which is developed for a network of multiple devices that can be used over long distances and at greater speeds too. End of line termination resistor (120 ohm 1/4 watt) to be installed at both ends of network. Ideally, the two ends of the cable will have a termination resistor connected across the two wires and two powered resistors to bias the lines apart when the lines are not being driven. There are many categories of Ethernet cables we can use like CAT-4, CAT-5, CAT-5E, CAT-6, CAT-6A, etc. In our tutorial, we are going to use CAT-6E cable which has 4 twisted pairs of 24AWG wires and can support up to 600MHz. It is terminated at both ends by an RJ45 connector. There are many different types of serial communication protocols like I2C and SPI which can be easily implemented with Arduino and today we are going to look at another most commonly used protocol called RS485 which is very commonly used in high noise industrial environments to transfer the data over a long distance.



Most of the low-cost sensors and other modules like GPS, Bluetooth, RFID, ESP8266, etc. which are commonly used with Arduino, Raspberry Pi in the market uses UART TTL based communication because it only requires 2 wires TX(Transmitter) and RX (Receiver). UART is an Asynchronous transmission device hence there is no clock signal to sync the data between the two devices instead it uses start and stop bits at the start and end of each data packet respectively to mark the extremities of the data being transferred. In this tutorial, we are going to learn about the RS485 communication protocol and how to implement it with the two Arduino Nano we have with us and how to use the MAX485 RS485 to UART conversion Module. Slave devices use the master in/slave out pin, MISO, for transmitting, and the master out/slave in pin, MOSI, for receiving data. In the simplest scheme, all RS485 transceivers come up in receive mode when the interface is initialized, and each transceiver node has a unique address known to it and the master. The advantage of using Serial1 for RS485 is that the Serial1 RS485 signals are also available on the Docking Panel, while the Serial2 RS485 signals are available only on the PDQ Board’s Serial Communications Header.



Thus in the table, /RTS1 is connected to /CTS1, and /DSR1 is connected to /DTR1 and /DCD1 onboard the PDQ Board using zero ohm shorting resistors. The pinout of the PDQ Board’s Communications Header (H2), Docking Panel’s Communications Header (H1), and the Docking Panel’s Communications DB-9 Connectors are shown in the following tables. Easy hookup: Fixed/removable screw terminals, USB, RJ11/12/45, and barrel connectors. 24 AWG solid wires, which are typically used in Cat 5 cables, can break easily when connected to a screw terminal block, rs485 cable which does not provide any strain relief. 60%, UL Type CMP/CL3P 24 AWG. The most common cable type is Cat 5e-UTP (unshielded twisted pair) which may work over shorter distances in less demanding applications with low EMI noise levels. Noise in the range of ±200 mV is essentially blocked due to common-mode noise cancellation. Typical line voltage levels from the line drivers are a minimum of ±1.5 V to a maximum of about ±6 V. Receiver input sensitivity is ±200 mV.

댓글목록 0

등록된 댓글이 없습니다.

Copyright © suprememasterchinghai.net All rights reserved.