Connecting WiFi and BLE to MCU? It’s Never Been Easier with ESP32 and RT-Thread

Connecting WiFi and BLE to MCU? It's Never Been Easier with ESP32 and RT-Thread

1. Introduction Recently, a colleague shared a highly valuable technical article titled “Mastering WiFi with SPI: A Deep Dive into the RT-Thread ESP-Hosted Driver | Technical Collection“. Although its technical stack design is refreshing (providing a complete analysis from low-level protocols to high-level drivers), it has received little attention due to the fast-paced content consumption … Read more

Deep Power Management Development with ESP32: Wake Source Configuration

Deep Power Management Development with ESP32: Wake Source Configuration

The deep sleep mode of the ESP32 allows for ultra-low power consumption (in the microamp range) by configuring wake sources, making it suitable for IoT devices that require long standby times. Below are the methods for configuring wake sources in the ESP32 deep sleep mode along with code examples: 1. Types of Wake Sources The … Read more

ESP32 Multicore Programming Techniques: Interrupt Handling Mechanism

ESP32 Multicore Programming Techniques: Interrupt Handling Mechanism

In the dual-core architecture of the ESP32, the interrupt handling mechanism is key to achieving efficient real-time response. The ESP32 supports multicore interrupt handling (Core 0 and Core 1), but it needs to be combined with FreeRTOS task scheduling and synchronization mechanisms to fully leverage its performance. Below are the core technologies, configuration methods, and … Read more

Comprehensive Guide to Creating and Analyzing ESP32 Project Structures

Comprehensive Guide to Creating and Analyzing ESP32 Project Structures

Comprehensive Guide to Creating and Analyzing ESP32 Project Structures 1. Methods for Creating ESP32 Projects 1. Creating an ESP-IDF Project # Create a new project idf.py create-project my_esp32_project # Project directory structure my_esp32_project/ ├── CMakeLists.txt ├── main/ │ ├── CMakeLists.txt │ └── main.c └── sdkconfig 2. Creating an Arduino IDE Project File > New Save … Read more

Deep Power Consumption Development of ESP32: Data Preservation in Sleep Mode

Deep Power Consumption Development of ESP32: Data Preservation in Sleep Mode

In the Deep Sleep mode of the ESP32, data in ordinary memory is lost because the main CPU and most peripherals are powered off. However, RTC Memory (RTC Slow/Fast Memory) and non-volatile storage (such as Flash/NVS) can be used to preserve data during sleep. Below are detailed methods and considerations for data preservation: 1. Data … Read more

ESP32 Actuator Control: Relay Interface Design

ESP32 Actuator Control: Relay Interface Design

ESP32 Relay Interface Design Guide 1. Basic Principles of Relays Functions and Types of Relays A relay is an electromagnetic switch that controls a high-voltage circuit (110V/220V) through a low-voltage control signal (3.3V/5V). The common types used in the ESP32 system are: Type Control Signal Load Capacity Isolation Method Features Mechanical Relay Low Current Up … Read more

Integration of ESP32 Functional Modules: Real-Time Clock Applications

Integration of ESP32 Functional Modules: Real-Time Clock Applications

In-Depth Guide to ESP32 Real-Time Clock (RTC) Applications 1. ESP32 Clock System Architecture ESP32 Time Management Components The time management system of the ESP32 consists of three core components: Main CPU Clock typically operates at 80MHz or 240MHz for processor core calculations. Built-in RTC Module based on a low-power 32.768kHz crystal oscillator, operates independently. Time … Read more

ESP32: The Most Popular Wi-Fi + Bluetooth Dual-Mode Microcontroller

ESP32: The Most Popular Wi-Fi + Bluetooth Dual-Mode Microcontroller

1. What is ESP32? ESP32 is a series of 32-bit microcontroller chips launched by the Chinese manufacturer Espressif, integrating Wi-Fi and Bluetooth dual-mode (Bluetooth 4.2/BLE). It is based on the Tensilica Xtensa LX6 core, featuring powerful networking capabilities and peripheral expandability. Since its release in 2016, it has gained immense popularity in fields such as … Read more

First Prize in Innovative Achievements in Science and Technology Education: Pocket DisLab

First Prize in Innovative Achievements in Science and Technology Education: Pocket DisLab

Click the blue text to follow us Author Written by Su Xiang / Southwest University Yinxing Experimental Middle School Research Background The new physics textbook for high school published by People’s Education Press includes mechanics experiments such as “the magnitude of static friction changes with the applied force” and “using force sensors to explore the … Read more

Comprehensive Guide to ESP32 Display Driver Development

Comprehensive Guide to ESP32 Display Driver Development

Comprehensive Guide to ESP32 Display Driver Development 1. Display Technology Selection and Comparison Comparison of Common Display Types Display Technology Resolution Range Advantages Disadvantages Power Consumption Interface Type OLED Mainly 128×64 Self-illuminating, high contrast Size limited Low I²C/SPI LCD Character Screen 16×2/20×4 Simple and easy to use Only displays characters Very low Parallel/4-bit parallel TFT … Read more