Air780EGH Hardware Guide: UART Serial Circuit Design

Air780EGH Hardware Guide: UART Serial Circuit Design

The Air780EGH is the flagship 4G-Cat.1 module from Hezhao in 2025 and features a dual function of 4G communication + GNSS positioning, in a classic 1618 package, supporting LuatOS secondary development. The serial port serves as the primary communication interface for the Hezhao Air780EGH module, undertaking important functions such as control, data transmission, and peripheral … Read more

Using Semaphores in FreeRTOS for STM32F103 Serial Data Transmission

Using Semaphores in FreeRTOS for STM32F103 Serial Data Transmission

1. Development Software: CubeIDE.2. Hardware Involved: STM32F103C8T6 minimum system board, ST-LINK v2 (STM8 & STM32), USB TO TTL (CH340). As shown below (for reference only):Connection Circuit Diagram:(1) STM32F103C8T6 <—> ST-LINK v2SWCLK <—> SWCLK; SWD <—> SWDIO ;3V3 <—> 3.3V ; GND <—> GND.(2)STM32F103C8T6 <—> USB TO TTLA10 <—> TXD ; A9 <—> RXD;3V3 <—> 3V3 … Read more

Analysis of RS-232 and TTL Interface Connections: Voltage Conversion and Compatibility Issues

Analysis of RS-232 and TTL Interface Connections: Voltage Conversion and Compatibility Issues

1. The wiring between RS-232 and TTL mainly involves voltage conversion, as RS-232 uses negative logic levels (+3V to +15V represents logic low, -3V to -15V represents logic high), while TTL uses positive logic levels (0V represents logic low, 3.3V or5V represents logic high).When no data is transmitted on the serial data line, it is … 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

Common Serial Communication Bus Protocols – SPI

Common Serial Communication Bus Protocols - SPI

1. IntroductionSPI (Serial Peripheral Interface) is a high-speed, full-duplex synchronousserial communication bus protocol developed by Motorola, operating in a master-slave mode, enabling data transmission between devices through four lines (SCLK, MOSI, MISO, CS). Its core features are:① Full-duplex communication: Data can be transmitted in both directions simultaneously, allowing both the master and slave devices to … Read more

CH32V003F4P6 Microcontroller: Completely Eliminate Ghosting in 74HC164 Driven Seven-Segment Displays

CH32V003F4P6 Microcontroller: Completely Eliminate Ghosting in 74HC164 Driven Seven-Segment Displays

Many developers using the serial-parallel driving CMOS integrated circuit74HC164 have reported ghosting (segments that should not be lit are slightly glowing). It is better to switch to74HC595. However, it is possible to achieve ghost-free operation using74HC164 to drive seven-segment displays with the synchronous serial port of the STM32F103 microcontroller. The STM32F103 microcontroller is limited in … Read more

Technical Decoding of M200: Practical Guide to Serial Communication with Laser Rangefinder Based on M200 PLC

Technical Decoding of M200: Practical Guide to Serial Communication with Laser Rangefinder Based on M200 PLC

This article will introduce the application of Schneider Electric’s M200 PLC communicating with a laser range sensor using MODBUS. 1 Case Description This case introduces the Modbus-RTU serial communication between the PLC and the laser sensor through the laser sensor connected to the TM200CE24T serial port, includinghardware wiring, serial communication parameter configuration, and program writing, … Read more

Understanding the I2C Bus Protocol

Understanding the I2C Bus Protocol

The Linux driver introductory course is now online and will be continuously updated! https://www.bilibili.com/cheese/play/ss635583370 01 Introduction to the I2C Bus The I2C bus protocol (Inter-Integrated Circuit) is a serial communication bus protocol proposed by Philips (now NXP), primarily used for low-speed, short-distance communication between a master chip and various peripherals (such as EEPROMs, sensors, RTCs, … Read more

Short and Efficient: How to Communicate with Multiple Slave Serial Ports Using a Single Microcontroller Serial Port?

Short and Efficient: How to Communicate with Multiple Slave Serial Ports Using a Single Microcontroller Serial Port?

Original article authorized by the public account: 24c01 Hardware Electronics Sometimes, when a circuit needs to implement a master-slave configuration, the commonly used communication protocols are usually SPI, I2C, or RS485 bus forms. Among these, I2C is particularly simple and convenient for on-board communication, requiring only two wires to establish a bus. However, sometimes due … Read more