Running AI on Hardware: Implementing Environmental Sound Classification with ESP32

Running AI on Hardware: Implementing Environmental Sound Classification with ESP32

Breaking down auditory perception into data, and letting the ESP32 recognize the sound world! This project fully builds an environmental sound classification system using the ESP32-S2-Mini-1: from microphone audio capture, to window function + RFFT for frequency spectrum transformation, followed by Mel feature extraction and lightweight CNN inference, ultimately displaying scene categories such as “rain … Read more

ESP32 | Sensor 07 – AI Voice Recognition Module

ESP32 | Sensor 07 - AI Voice Recognition Module

01 Overview On September 11, the Ministry of Education announced the whitelist of events for 2025-2028, adjusting the number from 44 to 47. Thirteen events were removed, and sixteen new events were added, such as: the National Youth Artificial Intelligence Competition, reflecting the country’s emphasis on the field of artificial intelligence. Today, I will introduce … Read more

ESP32 | Basics 06 – I2C Communication

ESP32 | Basics 06 - I2C Communication

01 Overview 1.1 What is I2C? I2C (Inter-Integrated Circuit) is a serial communication protocol developed by Philips, which uses a two-wire system (SDA and SCL) to facilitate data transmission between devices. 1.2 Where does I2C come from? The I2C bus was introduced by Philips in the early 1980s as a serial, half-duplex bus primarily used … Read more

The Evolution and Selection Guide of the Espressif ESP32 Family

The Evolution and Selection Guide of the Espressif ESP32 Family

In the last issue, we held a book giveaway event, offering a technical book on ESP32 to the top three commenters. Here, I will update the column “Microcontroller” with the journey of learning about ESP32. For those who received the book and those who didn’t, let’s progress together and master this microcontroller. From the ESP8266 … Read more

ESP32 | Basics 05 – Serial Communication

ESP32 | Basics 05 - Serial Communication

01 Overview Serial communication, known in English as Serial Communication, is a method of transmitting data bit by bit. It is a general term for this type of communication, with specific implementation protocols includingUART, TTL, RS232, RS485, etc. UART (Universal Asynchronous Receiver/Transmitter) is a general-purpose asynchronous transceiver. The ESP32 integrates three UART controllers: UART0: Typically … Read more

Embedded Rust Programming with ESP32: Stepper Motor Control

Embedded Rust Programming with ESP32: Stepper Motor Control

Embedded Rust Programming with ESP32: Stepper Motor Control A stepper motor is an invisible precision controller in our daily lives, precisely controlling rotation angles through pulse signals, providing core power for various devices. In digital devices, the STM stepper motor in Canon cameras achieves quiet and smooth autofocus, allowing for uninterrupted short video shooting; scanners … Read more

Three Weeks and a Button-Sized Chip: The Birth of a C Language Interpreter (Open Source)

Three Weeks and a Button-Sized Chip: The Birth of a C Language Interpreter (Open Source)

Inspired by the legendary creation of UNIX, the miracle of a C language interpreter was recreated on a button-sized chip over three special weeks.During the three special weeks from late 2024 to early 2025, drawing inspiration from the legendary creation of UNIX as an ordinary programming enthusiast, I completed a challenging task on an ESP32 … Read more

Open Source News | Overview of New USB Features in ESP32-P4/S3/S2

Open Source News | Overview of New USB Features in ESP32-P4/S3/S2

Espressif Community It is said that ESP chip enthusiasts are paying attention ESP-USB With the rapid development of the Internet of Things and smart devices, the role of USB interfaces in embedded systems has become increasingly important. The ESP32-P4/S3/S2 series chips have undergone a comprehensive upgrade in USB functionality, bringing stronger control capabilities, richer application … Read more

Open Source XiaoZhi AI Chatbot – Illustrated Tutorial

Open Source XiaoZhi AI Chatbot - Illustrated Tutorial

Are you excited to see many videos and various modules about XiaoZhi AI online? In fact, the project has been open-sourced by Xia Ge, and all materials, including the underlying source code, are available for reference and learning to create your own XiaoZhi. First, we need to find the official website of XiaoZhi AI to … Read more

ESP32 – Microwave Radar Sensor

ESP32 - Microwave Radar Sensor

SY-RD3216LJ4 is an ultra-low power 5.8G radar sensor launched by Deep Cloud IoT, with an extreme power consumption of about 40uA. The module size is 32mm*16mm, and this module is paired with a miniaturized planar antenna, ensuring sensor performance while significantly reducing the overall size. This sensor can be used in various scenarios for detecting … Read more