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

Oscilloscope-Level RS485 Analysis

Oscilloscope-Level RS485 Analysis

Theoretically, the bandwidth of the RS485 bus is calculated based on the serial port rate, but in practice, there is a 20ms error.Theoretically:At 9600bps, transmitting 1 byte requires sending 10 bits (1 start bit, 8 data bits, 1 stop bit), so the time required to transmit 1 byte = 1 / 9600bps * 10bit = … Read more

In-Depth Analysis of Rate Units in I2C Communication: kbps, kbit/s, and KHz

In-Depth Analysis of Rate Units in I2C Communication: kbps, kbit/s, and KHz

In daily bidding projects, it is common to encounter inconsistencies between the technical specifications required by the bidding party and the technical support materials provided by the bidders. At such times, caution is necessary; if the unit issues are not clearly explained, it could lead to disqualification of the bid. What should be done in … Read more

The Magic of Clocks: A Battle Between Synchronous and Asynchronous Communication

The Magic of Clocks: A Battle Between Synchronous and Asynchronous Communication, Like a Conductor Leading a Symphony and a Romantic Date Based on Mutual Understanding Understanding them is to grasp the cornerstone of modern communication. Have you ever wondered: “Synchronous communication requires a clock, while asynchronous communication requires matching baud rates. Wait? If the baud … Read more

A Comprehensive Guide to UART Communication

A Comprehensive Guide to UART Communication

Hello everyone, welcome to <span>LiXin Embedded</span>. Do you remember those bulky serial printers, mice, and modems on old desktop computers? The plugs were larger than fingers and had to be screwed in place—yes, back then most data was quietly transmitted via UART. Although USB has almost dominated all peripheral interfaces today, serial communication has not … Read more

Understanding the Hardware Characteristics of the RS232 Protocol

Understanding the Hardware Characteristics of the RS232 Protocol

For hardware engineers, the first acquaintance with serial communication may be RS232 (“RS” stands for “Recommended Standard”, indicating a “recommended standard”. “232” is the identification number), which has been widely used for communication between microcontrollers and computers due to its simplicity and low cost (for example, using a USB to RS232 module to upload microcontroller … Read more

How Embedded Linux Solves Baud Rate Limitations in Traditional Serial Communication

How Embedded Linux Solves Baud Rate Limitations in Traditional Serial Communication

Hello everyone, I am the Intelligence Guy~ If you have worked on high-speed serial communication projects, you must have encountered the issue where traditional <span>termios</span> cannot configure high baud rates for serial communication parameters. So how can we solve this problem? In Linux systems, <span>struct termios2</span> is a data structure used for advanced serial communication … Read more

Common Serial Communication Protocols – UART Serial Port

Common Serial Communication Protocols - UART Serial Port

1. Introduction UART is a universal serial data bus used for asynchronous communication. This bus supports bidirectional communication, converting parallel data into serial data for transmission when sending data, and converting received serial data back into parallel data upon reception, enabling full-duplex transmission and reception. 2. Wiring Methods ① One-to-One Communication: Typically, UART serial communication … Read more

Using Oscilloscope to View UART Waveforms

Using Oscilloscope to View UART Waveforms

If you don’t want to miss my updates, remember to click the top right corner – view public account –set as starred, and send you a little star Source: Breadboard CommunityUART is an asynchronous full-duplex serial communication protocol consisting of two data lines, Tx and Rx. Since there is no reference clock signal, both parties … Read more

Tips for Debugging Virtual Serial Ports in Proteus

Tips for Debugging Virtual Serial Ports in Proteus

Steps for debugging using virtual serial ports:1 First, you need a virtual serial port software, Configure Virtual Serial Port Driver.2 Next, you need virtual serial port debugging software, you can use a free serial port debugging assistant + TCP/UDP software.3 Install the virtual serial port software first, and the interface after installation looks like this:4 … Read more