Design and Implementation of a Multi-Machine Communication System Based on the 51 Microcontroller

Design and Implementation of a Multi-Machine Communication System Based on the 51 Microcontroller

This article introduces a design scheme for a multi-machine communication system based on the 51 microcontroller. The system achieves data exchange between a master device and multiple slave devices through a serial communication interface (UART), supporting address recognition and data verification functions. The article elaborates on the system’s hardware design, software programming, and communication protocol … Read more

Applications of IoT IO Controllers

Applications of IoT IO Controllers

Product Introduction The IoT IO controller is commonly used for remote control, signal conversion, achieving network to IO, controlling IO, collecting IO, and AI voltage functionalities. This article shares practical experiences using the USR-IO 424 IoT IO controller as an example of this type of product. Application Scenarios 1. Cloud control system provided by the … Read more

Detailed Explanation of the I2C Bus Protocol (Features, Communication Process, Typical I2C Timing)

Detailed Explanation of the I2C Bus Protocol (Features, Communication Process, Typical I2C Timing)

Click the blue text Follow us 1. Introduction to the I2C Bus The I2C bus is a serial, half-duplex bus introduced by Philips in the early 1980s, primarily used for communication between chips over short distances and at low speeds. The I2C bus consists of two bidirectional signal lines: one data line (SDA) for sending … Read more

Comprehensive Analysis of the MQTT IoT Communication Protocol (Final Part)

Comprehensive Analysis of the MQTT IoT Communication Protocol (Final Part)

[Image] This concludes the technical sharing regarding MQTT. Future updates on the latest developments related to MQTT will be provided periodically. If there are any aspects of MQTT that have not been thoroughly covered or if you have better suggestions, please feel free to leave a comment. We will normally supplement the content based on … Read more

Modbus Communication Case Study between S7-1200 and Omron Smart Instruments

1. Introduction Modbus communication is a widely used communication protocol, commonly applied in frequency converters, smart instruments, and other intelligent devices. This article uses the S7-1200 series PLC as the Modbus master and the Omron E5EZ smart temperature controller as the slave, demonstrating how to read the current temperature value and modify the set temperature … Read more

Introduction to Embedded USB Development: Essential Knowledge You Must Know

Introduction to Embedded USB Development: Essential Knowledge You Must Know

USB, short for <span>Universal Serial Bus</span>, has long been an indispensable technology in our daily lives. From connecting keyboards and mice to PCs to enabling communication between embedded devices and hosts, USB has revolutionized peripheral connectivity with its simplicity and robust compatibility. The Birth of USB Let’s take a look at the PC usage scenario … Read more

A Comprehensive Guide to the Modbus Protocol

A Comprehensive Guide to the Modbus Protocol

Hello everyone, welcome to <span>Lixin Embedded</span>. In the field of industrial automation, Modbus is undoubtedly a name that cannot be ignored. As a communication protocol that originated in the late 1970s, it has stood the test of time, quietly supporting the interconnectivity of countless factories and devices. Today, let’s discuss Modbus, the veteran protocol of … Read more

Huawei Isolation Module Priced at 28 Yuan: Output Voltage Configurable via Protocol, with PC Software Developed by Enthusiasts!

Huawei Isolation Module Priced at 28 Yuan: Output Voltage Configurable via Protocol, with PC Software Developed by Enthusiasts!

A few days ago, I bought a Huawei isolation power supply for 28 yuan, model GDE25S12B, with an input voltage range of 36-75V and an output of 12V25A. It is quite compact, approximately 59mm in length and about 23mm in width, with exquisite workmanship. I bought this mainly because I stumbled upon this power module … Read more

Unveiling the Core Mechanism of RS-485 Communication: The Key Role and Implementation Principle of 120Ω Termination Resistors

Unveiling the Core Mechanism of RS-485 Communication: The Key Role and Implementation Principle of 120Ω Termination Resistors

Common “Difficulties” in the Field One of the most troublesome issues during device debugging: RS-485 communication is unstable, with intermittent data transmission. The program logic is fine, the cable connections are correct, and there are no address conflicts, yet communication timeouts, data corruption, and sporadic failures still occur. Changing cables, adjusting baud rates, and checking … Read more

Comprehensive Analysis of the MQTT IoT Communication Protocol (Final Part)

Comprehensive Analysis of the MQTT IoT Communication Protocol (Final Part)

The technical sharing related to MQTT will come to a close, and updates on the latest developments regarding MQTT will be provided periodically. Of course, if there are any aspects of MQTT that have not been thoroughly covered or if you have better suggestions, feel free to leave a comment. We will normally supplement based … Read more