Introduction to Modbus Protocol

Introduction to Modbus Protocol

This article provides an in-depth study of the Modbus RTU protocol. Background Before introducing Modbus RTU, we can understand that Modbus was invented by Schneider Electric in 1979 and is the first truly industrial bus protocol used in the field. More than forty years later, it is still widely used in various industrial control fields. … Read more

Understanding Modbus RTU Protocol

Understanding Modbus RTU Protocol

Hello everyone, I am Mai Ge. I previously wrote an article about the modbus protocol, which was just a simple introduction. In this article, we will delve deeper into the modbus RTU protocol. 1. Background Before introducing modbus rtu, we can understand that Modbus was invented by Schneider Electric in 1979 and is the world’s … Read more

Why Is Serial Communication So Popular? RS485, SPI, and I2C?

Why Is Serial Communication So Popular? RS485, SPI, and I2C?

1. Why Is Serial Communication So Popular? When working on microcontroller products, the most commonly used method is serial communication. For any microcontroller peripherals, the priority is to choose those with serial port functionality, such as Bluetooth modules, WIFI modules, 4G modules, electric meters, and displays. Why Is Serial Communication So Popular? Because it’s simple! … Read more

Differences and Connections Between RS-422 and RS-485 Serial Interfaces

Differences and Connections Between RS-422 and RS-485 Serial Interfaces

For business cooperation, please contact QQ: 3350579506 For more exciting consultations, please follow Electrician 365(diangong365) Electrician Home QQ Group: Group ①: 468193845 Group ②: 522898769 1. What is the RS-485 Interface? How Does It Compare to RS-232-C? Answer: Since the RS-232-C interface standard was introduced earlier, it inevitably has some shortcomings, mainly four points: The … Read more

Differences and Connections of RS-232, RS-422, and RS-485

Differences and Connections of RS-232, RS-422, and RS-485

Click on the above blue text to follow us Serial communication is the most basic communication method faced by electrical engineers, and RS-232 is the simplest among them. Many beginners often struggle to understand the relationship and differences between UART, RS-232, RS-422, and RS-485. This article will discuss these concepts to help clarify their relationships. … Read more

Quickly Configure Wireless Module to Connect to Home Wifi

Quickly Configure Wireless Module to Connect to Home Wifi

Recently, I played with Microchip’s wireless WiFi module, which is quite simple to configure and can connect to a microcontroller via serial. Today, I will share how to quickly configure this module to connect to home WiFi. Upon receiving any module, the first step is to restore the factory settings and configure it to connect … Read more

SPI Interface Notes Compilation

SPI Interface Notes Compilation

Introduction to SPI Interface and Features The standard SPI interface has 4 signal lines. Signal Function Direction SCLK Clock signal line, used for synchronizing communication data master->slave MOSI Master device output master->slave MISO Master device input slave->master CS Slave device select signal line, commonly referred to as chip select signal line, also known as NSS, … Read more

Detailed Explanation of SPI Principles – A Must Read

Detailed Explanation of SPI Principles - A Must Read

What is SPI SPI stands for Serial Peripheral Interface in English, which, as the name suggests, is a serial peripheral device interface. It was first defined by Motorola in its MC68HCXX series processors. SPI is a high-speed, full-duplex, synchronous communication bus that only occupies four lines on the chip’s pins, saving pin space and providing … Read more

Dynamic Demonstration of Common Communication Protocols in Embedded Systems

Dynamic Demonstration of Common Communication Protocols in Embedded Systems

Source: CSDN: https://blog.csdn.net/an520_/article/details/125479812, copyright belongs to the author, please contact for removal! Because it is a good article, I hope to share it with more people! UART, SPI, I2C and other serial communications are very common communication methods in embedded development. The underlying communication principles of these protocols are actually not difficult, but many beginners … Read more

Detailed Explanation of UART Protocol Based on Z20k11X

Detailed Explanation of UART Protocol Based on Z20k11X

Click the blue words Follow us 1. Introduction 1. Concept USART (Universal Synchronous Asynchronous Receiver Transmitter) is a serial communication device that can flexibly perform full-duplex information exchange with external devices. UART (Universal Asynchronous Receiver/Transmitter) is a bidirectional, serial, asynchronous communication bus that can achieve full-duplex communication using only one data receiving line (RXD) and … Read more