Detailed Explanation of Fault Injection (Part 2)

Detailed Explanation of Fault Injection (Part 2)

Detailed Explanation of Fault Injection (Part 1) Bypassing Secure Boot One of the security measures that can be compromised through fault injection attacks is secure boot. This will be illustrated using the ESP32 v1 as an example. First, configure a secure boot environment. After installing the ESP SDK, set up a reprogrammable bootloader in case … Read more

Learning Embedded Development with ESP32 (1)

Learning Embedded Development with ESP32 (1)

Introduction Today, the ESP32-S3 development board I ordered online has arrived, and I can’t wait to open it and give it a try. What is a Development Board: Typically, the programs we write run on servers, personal computers, or mobile devices. Whether it’s a server, personal computer, tablet, smartphone, Raspberry Pi, ESP32, STM32, etc., they … Read more

From Task Scheduling to Interrupt Management: The ESP32-FreeRTOS Example Library to Kickstart Your IoT Development

From Task Scheduling to Interrupt Management: The ESP32-FreeRTOS Example Library to Kickstart Your IoT Development

When you are still struggling with the “while(1)” loop in microcontroller programming, the absence of a Real-Time Operating System (RTOS) has become the biggest obstacle to advancing your project. The ESP32-freeRTOS open-source project provides over 20 practical examples, allowing you to easily implement task scheduling, resource synchronization, and interrupt management in C, completely bidding farewell … Read more

ESP32 | 270-Degree Servo | From Principles to Usage Explained | Video Course Included

ESP32 | 270-Degree Servo | From Principles to Usage Explained | Video Course Included

01 Introduction This 270-degree servo is controlled by PWM signals to adjust the rotation angle (0 to 270 degrees), capable ofinstantaneously completing angle changes, with good explosive force and strong stall torque. This article will first discuss analog and digital signals, then introduce what PWM is, and finally demonstrate how to wire and program the … Read more

Another DIY AI Robot with a 1.8-Inch LCD Color Screen, Priced at 140 Yuan

Another DIY AI Robot with a 1.8-Inch LCD Color Screen, Priced at 140 Yuan

I haven’t been paying much attention to the DIY community lately, but today I checked out Xianyu and found many new and interesting gadgets. Previously, I wrote about five AI robots based on ESP32 boards, which were generally quite large. This one is much smaller and requires a higher level of integration.Compared to the previous … Read more

Fundamentals of ESP32 Peripheral Control: Detailed GPIO Applications and Input/Output Examples

Fundamentals of ESP32 Peripheral Control: Detailed GPIO Applications and Input/Output Examples

1. What is GPIO? GPIO (General Purpose Input Output) refers to “general-purpose input/output ports,” which are pins that can be flexibly configured as input or output through software. Typical applications in embedded development include: Controlling output devices such as LED lights, relays, and buzzers Detecting input devices such as buttons and dip switches Interacting with … Read more

Optimization of HTTPS Firmware Upgrade Transmission Rate for ESP32

Optimization of HTTPS Firmware Upgrade Transmission Rate for ESP32

During the firmware upgrade process of the ESP32, the HTTPS transmission rate often becomes a key factor limiting upgrade efficiency. Based on actual test data, traditional HTTPS upgrade methods exhibit the following typical issues: • Slow transmission rate: A 1MB firmware takes about 90 seconds • High memory usage: The SSL handshake and encryption/decryption processes … Read more

ESP32 – Rust Practical Application: Polling vs. Interrupts, Which Button Detection Method is Superior?

ESP32 - Rust Practical Application: Polling vs. Interrupts, Which Button Detection Method is Superior?

In your embedded projects, can the program really respond immediately when a button is pressed? The seemingly simple “polling” may hide performance traps and response delays; while “interrupts” provide a more elegant and efficient solution. This article will guide you through a classic “button control LED” experiment using <span>Rust</span> and <span>ESP32-S3</span>, allowing you to intuitively … Read more

ESP32 Stability Testing: Long-Term Operation Testing

ESP32 Stability Testing: Long-Term Operation Testing

In ESP32 development, long-term operation testing (also known as stress testing or durability testing) is a critical step in verifying system stability and reliability. The following is a detailed strategy based on the characteristics of the ESP32, hardware selection, and practical testing experience, covering testing objectives, environment setup, monitoring metrics, problem analysis, and optimization directions: … Read more

ESP32 Meets TFT – A Classic WinXP Recreation

ESP32 Meets TFT - A Classic WinXP Recreation

I have been relatively casual in writing articles for my public account and video channel, merely to document the innovative moments during parent-child interactions. Unexpectedly, a small gadget from last Saturday became a hit on the video channel.Since everyone is quite interested in this, I would like to give back to the community by open-sourcing … Read more