This paper introduces the structure, performance characteristics of the RS-485 interface SN65HVD3082E chip, and the composition of the communication system based on this chip, including their hardware circuits and software design methods; it also explains the advantages and application areas of the system.
Keywords: communication system; RS-485 interface; chip; hardware; software
Communication System
Luoding 527200, China)
chip is a half-duplex transceiver designed for RS-485 data bus network. It is powered by +5V and is fully compatible with TIA/EIA-485A standard. By controlling the output conversion timing, it can transmit signals up to 200kbps on long-distance twisted pair cables. Its supply current is extremely low, generally less than 0.6mA, and when in inactive shutdown mode, the supply current is only a few nA, so it is particularly suitable for low-power applications. It has a wide common-mode rejection range and high electrostatic discharge protection capabilities, so it is suitable for occasions with high noise tolerance requirements. SN65HVD3082E matches the industrial standard package of SN75176. Its power-on reset circuit can keep the output in a high-impedance state until the supply voltage is stable, and its thermal shutdown function can also protect the chip from damage due to system failure. Its pin diagram is shown in Figure 1, and its internal function diagram is shown in Figure 2. Other features include: up to 256 nodes on a bus; ESD protection on bus pins exceeds 16kV, and receivers are fault protected.
The system consists of an IBM-PC and multiple AT89C52 single-chip machines. It adopts a master-slave structure. The slave machine with the AT89C52 chip as the core can not only complete data processing and control tasks independently, but also transmit data to the host PC. The PC processes, displays, and prints these data, and transmits various control commands to each slave machine to achieve centralized management and optimal control. The communication between them is completed by the SN65HVD3082E chip. The block diagram is shown in Figure 3. Matching resistors are connected between the interfaces to absorb the reflected signals on the bus to ensure that the normal propagation signal is clean and burr-free (its value is equivalent to the characteristic impedance of the bus). When there is no signal transmission on the bus, the bus is in a suspended state and is easily affected by interference signals. On the bus, a 10kΩ resistor is connected between the positive end of the differential signal and the +5V power supply; a 10kΩ resistor is also connected between the positive end and the negative end; and a 10kΩ resistor is connected between the negative end and the ground to form a resistor network. When there is no signal transmission on the bus, the level of the positive end is about 3.2V, and the level of the negative end is about 1.6V. Even if there is an interference signal, it is difficult to generate the start signal 0 of the serial communication, thereby increasing the anti-interference ability of the bus.
2.2 RS232/RS485 conversion part
DAQ485A series product DAQ485A-6N is selected as the RS-232/RS-485 converter. One end is a DB9S plug, which can be directly connected to the RS-232 port of the PC, and the other end is a four-terminal terminal block, which are A, B, GND, and VCC. It can be powered directly by the RS-232 port of the computer, or an external +5V DC power supply can be connected between VCC and GND; the DQ485A converter has an automatic processing function inside, and the external power supply does not affect the internal power theft, and the internal power theft does not affect the external power supply. Therefore, the two can be supplied separately or at the same time. The DAQ485A-6N series uses TI's E series ESD protection devices, so it is suitable for long-distance outdoor use. Figure 4 is a connection diagram of the RS-232/RS-485 converter and RS-485.
?
The multi-node long-distance communication system composed of the RS-485 bus can be used in warehouse communication, TV monitoring, robot welding, attendance machine, water meter collection, highway toll collection, pulse power device, data acquisition, industrial control and many other systems. It has many advantages such as long transmission distance, strong anti-interference ability, low price, good stability, simple circuit, etc., and has broad application prospects.
Previous article:Application of USB Technology in Field Calibrators
Next article:Design of Fieldbus Traffic Countdown Timer
- Popular Resources
- Popular amplifiers
- High signal-to-noise ratio MEMS microphone drives artificial intelligence interaction
- Advantages of using a differential-to-single-ended RF amplifier in a transmit signal chain design
- ON Semiconductor CEO Appears at Munich Electronica Show and Launches Treo Platform
- ON Semiconductor Launches Industry-Leading Analog and Mixed-Signal Platform
- Analog Devices ADAQ7767-1 μModule DAQ Solution for Rapid Development of Precision Data Acquisition Systems Now Available at Mouser
- Domestic high-precision, high-speed ADC chips are on the rise
- Microcontrollers that combine Hi-Fi, intelligence and USB multi-channel features – ushering in a new era of digital audio
- Using capacitive PGA, Naxin Micro launches high-precision multi-channel 24/16-bit Δ-Σ ADC
- Fully Differential Amplifier Provides High Voltage, Low Noise Signals for Precision Data Acquisition Signal Chain
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- LLC circuit to achieve ZVS
- TI's DSP OS running problem
- RA2L1 MCU download program JLink Info: T-bit of XPSR is 0 but should be 1.
- Silicon carbide industry chain science video: substrate and epitaxy
- Senior foreigner explains the misunderstandings of high-speed PCB design and testing (video-Chinese)
- After zigbee sends data to nb-iot, nb-iot sends data to the cloud, but the data displayed on the cloud is completely wrong. How to solve it?
- Notice: The new markdown editor is now online!!
- Design of password lock using AT89S52 single chip microcomputer
- [Review of Arteli Development Board AT32F421] + Have a good understanding of the power supply voltage
- 【Development and application based on NUCLEO-F746ZG motor】4. Share information