UART Communication Protocol

UART Communication Protocol

Communication protocols serve as a “common language” between two devices. Data exchange can only proceed smoothly if both parties use the same rules and settings. UART is a point-to-point (P2P) hardware communication method, where the connected ends can be a microcontroller and anothermicrocontroller, a sensor, or a computer (with conversion). Before data transmission begins, both … Read more

Embedded Universe – Protocol Series – Serial Communication

Embedded Universe - Protocol Series - Serial Communication

Connecting the “Meridians” of Microcontrollers: Discussing Serial Communication Getting Acquainted: What is Serial Communication? Imagine you have a message to tell your friend across the room. You have two ways to do it: Shouting: Sending out 8 messengers at once, each holding a sign to spell out the complete message. This is parallel communication, fast … Read more

Detailed Explanation of I2C Bus: Physical Structure, Electrical Characteristics, Communication Protocol, and Examples

Detailed Explanation of I2C Bus: Physical Structure, Electrical Characteristics, Communication Protocol, and Examples

Click 👇 to follow, set the “…” key in the upper right menu as a star to avoid missing the latest tweetsIt is believed that almost all electronic practitioners will encounter the I2C communication protocol. I2C (Inter-Integrated Circuit) bus is a two-wire synchronous serial communication protocol developed by Philips Semiconductors (now NXP) in the 1980s, … Read more

Modbus Protocol 5 – Checksum

Modbus Protocol 5 - Checksum

In the previous articles, we introduced Modbus Protocol 1 – Who Am I Modbus Protocol 2 – Modbus RTU Modbus Protocol 3 – Function Codes (Part 1) Modbus Protocol 4 – Function Codes (Part 2) Through the above articles, we have understood the message format of Modbus-RTU communication, which provides a basic grasp of Modbus … Read more

Mcgspro Yingzhang CO2 Concentration Sensor Communication

Mcgspro Yingzhang CO2 Concentration Sensor Communication

Kunlun Tongtai Touch Screen Business Consultation: 18133839970 The Yingzhang CO2 concentration sensor supports Modbus communication, allowing sensor data to be collected through the Modbus driver provided by the configuration software. 1. Determine Sensor Communication Parameters By referring to the sensor protocol specification, the default parameters are as follows: The sensor uses serial communication with a … Read more

Explaining MQTT in Chat Group Mode: The ‘WeChat Protocol’ of IoT

Have you ever wondered how smart light bulbs in your home receive on/off commands from your phone? How do hundreds of sensors in a factory report data in real-time? Behind all this, there is a protocol called MQTT that works silently. It acts like a ‘WeChat group’ for IoT devices, making communication between machines easy … Read more

Modbus Protocol 3 – Function Codes (Part 1)

Function Codes In Modbus communication, function codes are a core issue, with each function code representing the action to be executed by the message. The commonly used function codes are defined as follows: Function Code Name Purpose 01 (0x01) Read Coils Read the status of one or more coils 02 (0x02) Read Discrete Inputs Read … Read more

In-Depth Analysis of MQTT Protocol: The Cornerstone for Efficient IoT Communication

In today’s rapidly developing Internet of Things (IoT), efficient communication between a vast number of devices has become a critical challenge. Faced with unstable network environments and limited device resources, traditional HTTP protocols fall short. This is where the MQTT protocol, designed specifically for IoT, comes into play. What is MQTT? MQTT (Message Queuing Telemetry … Read more

Modbus Protocol 1 – Who Am I

My Birth Serial communication is a commonly used communication protocol in industry, mainly RS232, RS485, and RS422. Any communication between two devices requires a communication protocol. Manufacturer A has developed a temperature sensor that uses the RS485 communication interface and defined Protocol A; Manufacturer B has also developed a temperature sensor, which similarly uses the … Read more

CAN Bus Series Part 8: Error Detection and Recovery Mechanisms

CAN Bus Series Part 7: The “Birth Journey” of CAN Node Circuits and Messages In the previous section, we learned about the entire process of a CAN message being generated by the MCU, encapsulated by the controller, and then driven by the transceiver onto the bus. But what happens when these messages are interfered with, … Read more