ESP32 Learning Notes (3)

ESP32 Learning Notes (3)

Recently, while exploring the ESP32, I discovered many AI toys designed for smart voice applications. These devices interact with remote large models to generate intelligent speech, which looks particularly cool. In the past, I occasionally encountered projects that required interfacing with hardware, such as massage chairs, smart car washes, oxygen machine testing, CarPlay, boot cards, … Read more

ESP32 Oscilloscope: View Signals Collected by ESP32 Using a Web Browser

ESP32 Oscilloscope: View Signals Collected by ESP32 Using a Web Browser

The ESP32 Oscilloscope is a tool that uses the ESP32 chip and a web user interface to observe signals. It displays the signals read by the ESP32 chip through a web browser, allowing you to intuitively understand the shape and changes of the signals. Features • Web User Interface: Access the ESP32 Oscilloscope via a … Read more

Getting Started with ESP32: Integrating XiaoZhi AI with MCP

Getting Started with ESP32: Integrating XiaoZhi AI with MCP

Previously, I experimented with controlling an LED display, local server deployment, voice broadcasting, song playback, controlling WS2812 LED strips, custom wake words, and collecting temperature and humidity data; today I will share a simple exploration of MCP from yesterday.; 1. First, let’s take a look at the final implementation effect: 2. Reference Protocol:3. Now let’s … Read more

ESP32 Multicore Programming Techniques: Dual-Core Task Allocation

ESP32 Multicore Programming Techniques: Dual-Core Task Allocation

The dual-core architecture of the ESP32 (two Xtensa LX6 cores) combined with the FreeRTOS real-time operating system enables efficient task parallelization. Below are the key technical points, practical recommendations, and code examples for ESP32 Dual-Core Task Allocation: 1. Core Strategies for Dual-Core Task Allocation Core Responsibility Division: Core 0 is typically used to run the … Read more

Comprehensive Guide to ESP32 SD Card File Operations

Comprehensive Guide to ESP32 SD Card File Operations

Comprehensive Guide to ESP32 SD Card File Operations 1. Hardware Connection and Configuration Hardware Requirements ESP32 Development Board Micro SD Card Module (SPI Interface) Micro SD Card (Recommended 4GB-32GB, FAT32 format) Several Dupont Wires Wiring Diagram SD Card Module → ESP32 Pins —————— CS → GPIO5 (customizable) SCK → GPIO18 MOSI → GPIO23 MISO → … Read more

Introduction to ESP32

Introduction to ESP32

Introduction: From “Lighting Tool” to “IoT Dominator” “In 2016, a Chinese chip emerged, priced at only 1/3 of Arduino, yet 5 times more powerful – it is called ESP32, and today, 1 in every 3 IoT devices globally uses it.” Today, we will discuss how this “budget-friendly” chip has revolutionized hardware development, even causing concern … Read more

Lessons Learned from Integrating ESP32 with a Self-Built Backend: OTA Address Configuration

Lessons Learned from Integrating ESP32 with a Self-Built Backend: OTA Address Configuration

1 Project Background I deployed the open-source project XiaoZhi Backend Service (replacing the official service <span>https://xiaozhi.me</span>) in a Windows + WSL2 Ubuntu 22.04 environment using Docker. The deployment success log is as follows: Key Objective: To integrate the self-built service with the ESP32 smart voice hardware, achieving OTA (Over-The-Air) firmware updates and WebSocket communication. 2 … Read more

Build Your Own Drone for 150 Yuan! Open Source Drone Firmware Using ESP32 Chip and Smartphone Control

Build Your Own Drone for 150 Yuan! Open Source Drone Firmware Using ESP32 Chip and Smartphone Control

Would you like to assemble a mini drone that can fly stably and be controlled by a smartphone using an ESP32 development board and a few expansion modules? Recently, Espressif has brought an exciting project called esp-drone! This is an open-source drone firmware based on ESP32/ESP32-S2/ESP32-S3. Ultra-Simplified Hardware Composition ESP-Drone uses a modular design approach, … Read more

IoT Project Practical Tutorial – WiFi Weather Clock

IoT Project Practical Tutorial - WiFi Weather Clock

WiFi Weather ClockWiFi Weather ClockProject Overview The WiFi Weather Clock: This project is made using the ESP32 and ST7789-LCD color screen, capable of displaying real-time time, weather, temperature and humidity, air quality index, wind speed, wind direction, etc. The center of the screen can also display an animation, and by long-pressing a button, different animation … Read more

ESP32 Environmental Sensor Applications: Gas Sensor Applications

ESP32 Environmental Sensor Applications: Gas Sensor Applications

ESP32 Gas Sensor Application Guide 1. Basic Principles and Selection Gas sensors operate by detecting electrochemical changes (such as resistance changes) caused by target gases. Common types include: MQ Series detects specific gases (such as smoke, liquefied gas) and outputs an analog voltage. Digital Sensors directly output I²C digital signals (such as BME680 for multi-parameter … Read more