ESP32 MicroPython UART Testing

ESP32 MicroPython UART Testing

1. Key Points of UART Hardware Resources and Configuration UART Resources of ESP32ESP32 supports 3 UART controllers (UART0, UART1, UART2), but actual availability is limited by pin conflicts: UART0: Default for REPL debugging (flashing and serial monitoring), using GPIO1 (TX), GPIO3 (RX) UART1: Some development boards connect to external Flash/SD cards (conflicts should be avoided), … Read more

40 Years of Endurance: An In-Depth Analysis of RS-232 Characteristics!

40 Years of Endurance: An In-Depth Analysis of RS-232 Characteristics!

Free for Commercial Use! A Low-Code Visual Development Platform for Industrial Web with 1500+ Components Incredible Slimming!!! RS-232 from DB25 to DB9 Industrial Control for 5 Years!!! Only Connecting Three Wires to RS-232??? Importance of RS-232 RS-232 is a classic serial communication interface standard that has been widely used in computers, industrial equipment, embedded systems, … Read more

Microcontroller (3) | Serial Interface

Microcontroller (3) | Serial Interface

6. Serial Interface Parallel Communication and Serial Communication Asynchronous and Synchronous Communication Asynchronous Serial Full Duplex (P3.0-RXD P3.1-TXD) Timer 1 serves as the baud rate generator to control the rhythm of opening the door, generating transmission and reception completion interrupts TI, RI Mode 0 is used for expanding IO, while Modes 1-2 are communication modes. … Read more

How to Connect the HSC001 Audio Player Module with Arduino Development Board

How to Connect the HSC001 Audio Player Module with Arduino Development Board

Want to dive into the world of audio playback in electronic products? To help you get started, we recommend the HSC001 module. This is a 24-bit audio player with many excellent features: size, price, etc. You can use it for various purposes: playing music in elevators, generating sounds for various devices, and more. In this … Read more

Pitfall of Pushing Video Stream Data via 4G Module with ESP32-CAM | Learning Notes on Falling into a Pit

Pitfall of Pushing Video Stream Data via 4G Module with ESP32-CAM | Learning Notes on Falling into a Pit

It has been nearly two weeks since I last wrote a record. Who knows what I have experienced during this time? With a somewhat heavy heart, I document a recent pitfall I fell into. The heaviness comes from the fact that this pitfall was caused by a very, extremely basic mistake, and such a basic … Read more

Exploring Linux on MCU Series Part 5: Porting lrzsz for File Import and Export

Exploring Linux on MCU Series Part 5: Porting lrzsz for File Import and Export

1. Introduction In previous articles, we developed applications that were embedded into the kernel within initramfs. Each time we needed to change the application, recompiling the kernel was cumbersome. Now, we will port lrzsz to enable file import and export via the serial port, making it easier to update applications by importing them into the … Read more

In-Depth Analysis of MODBUS Protocol: Understanding Serial Communication Transmission (What are the Differences Between MODBUS RTU and MODBUS ASCII?)

In-Depth Analysis of MODBUS Protocol: Understanding Serial Communication Transmission (What are the Differences Between MODBUS RTU and MODBUS ASCII?)

Click to follow and stay on track in your learning journey! Last time, we delved into the core elements of the MODBUS protocol. I wonder if you have memorized those key points and successfully established a foothold in the world of MODBUS? If you haven’t fully digested the information yet, make sure to review it … Read more

A Comprehensive Analysis of Common PLC Communication Methods

A Comprehensive Analysis of Common PLC Communication Methods

In the vast realm of industrial automation, the PLC (Programmable Logic Controller) serves as a core figure, while PLC communication is the crucial link connecting various “combat units.” However, for many newcomers to the PLC field, the myriad of communication methods can seem like a fog, leaving them bewildered. Don’t worry, today we will embark … Read more

Communication Distances (Serial; Profibus; MPI; Ethernet)

Communication Distances (Serial; Profibus; MPI; Ethernet)

In SIEMENS industrial communication, the most commonly used methods are Serial; Profibus; MPI; and Ethernet communication. The maximum communication distances for each are described in the table below. Serial Communication Type Rate Maximum Distance RS 232C 300~115200bps 15 m 20 mA TTY 9600 bps 1000 m 19,200 bps 500 m 422/485 115.2 kbps 250 m … Read more