Arduino-ESP32: A Tailored Arduino Core for Powerful Chips like ESP32-P4, ESP32-C3, and ESP32-S3

Arduino-ESP32: A Tailored Arduino Core for Powerful Chips like ESP32-P4, ESP32-C3, and ESP32-S3

Want to explore new possibilities with hardware? Today, let’s talk about Arduino-ESP32, a hidden gem in the open-source community. I hope that after reading this, you’ll be eager to dive into the ESP32 series chips. What is Arduino-ESP32? In simple terms, Arduino-ESP32 is a tailored Arduino core for powerful chips like ESP32, ESP32-C3, ESP32-S2/S3, and … Read more

How to Use AI Xiao Zhi on ESP32 Development Board?

How to Use AI Xiao Zhi on ESP32 Development Board?

Using AI Xiao Zhi on the ESP32 development board typically involves steps such as hardware assembly, software environment setup, firmware flashing, and function configuration. Below is a detailed operational guide suitable for open-source AI Xiao Zhi robot projects based on ESP32 (such as common DIY kits): 1. Hardware Preparation and Assembly 1. Required Hardware Components … Read more

Exploring the Embedded Development Ecosystem: Arduino, ESP32, and FastLED

Exploring the Embedded Development Ecosystem: Arduino, ESP32, and FastLED

Arduino, ESP32, and FastLED represent a classic learning path that progresses from beginner to advanced, culminating in the creation of stunning artistic effects. They are not isolated technologies but rather a complementary and progressively layered ecosystem. Now, please take a seat as we meticulously analyze these three “old friends” from both theoretical and engineering perspectives. … Read more

Lighting Up the IL9341 Display with ESP32 Using VSCODE and PlatformIO (Arduino Framework)

Lighting Up the IL9341 Display with ESP32 Using VSCODE and PlatformIO (Arduino Framework)

⚔️ First, let’s see the effect ⚔️ Install the TFT_eSPI Library Step 1: Click on the ant icon on the right Step 2: Click on Open in English Step 3: Click on Libraries in English Click on TFT_eSPI in English to go to the next interface Step 1: Click on Add to Project Step 2: … Read more

TinyML on ESP32: Create Your Micro Machine Learning Tool in Just a Few Steps!

TinyML on ESP32: Create Your Micro Machine Learning Tool in Just a Few Steps!

In recent years, artificial intelligence (AI) technology has developed rapidly; however, the high power consumption and cost associated with high-performance hardware have limited its application in edge devices. TinyML has emerged to bring the powerful capabilities of machine learning to resource-constrained microcontrollers, such as the ESP32. This article will take you deep into the tinyml-esp … Read more

Essential for Open Source DIY: The ESP32-BLE-Keyboard Library Turns Your ESP32 into a Bluetooth Keyboard

Essential for Open Source DIY: The ESP32-BLE-Keyboard Library Turns Your ESP32 into a Bluetooth Keyboard

Introduction The ESP32-BLE-Keyboard is a library that allows the ESP32 module to function as a Bluetooth keyboard, making it easy to develop using the Arduino IDE. With this library, users can input text into any Bluetooth-enabled device, such as smartphones, tablets, and computers, providing more DIY possibilities for users. Features 1. Fully Compatible with Arduino … Read more

Using the ESP32 MicroPython File System

Using the ESP32 MicroPython File System

1. Overview of the File System The MicroPython on ESP32 uses the FAT file system by default, stored in internal flash memory or on an external SD card. The main operations include file reading and writing, directory management, and retrieving file information. 2. Common APIs <span>os.listdir()</span>: List directory contents <span>os.mkdir(path)</span>: Create a directory <span>os.rmdir(path)</span>: Remove … Read more

Designing a Web Server Based on ESP-IDF for ESP32

Designing a Web Server Based on ESP-IDF for ESP32

1. Code The web server based on the ESP32 IDF framework includes WiFi connection, HTTP service, front-end interaction, and hardware control functions: #include <stdio.h> #include <string.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_system.h" #include "esp_wifi.h" #include "esp_event.h" #include "esp_log.h" #include "nvs_flash.h" #include "esp_http_server.h" #include "driver/gpio.h" #include "cJSON.h" // WiFi configuration #define WIFI_SSID "your_SSID" #define WIFI_PASS "your_PASSWORD" … Read more

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

ESP32 MicroPython WiFi Testing

ESP32 MicroPython WiFi Testing

Development Steps: Connection Process 2. Core Functions Station Mode (Connect to Router) AP Mode (Create Hotspot) Network Scanning HTTP Requests Socket Communication Test Code: 1. Connect to WiFi (Station Mode) import network import time # Configure WiFi SSID ="your_wifi_ssid" PASSWORD ="your_wifi_password" sta_if = network.WLAN(network.STA_IF) sta_if.active(True) if not sta_if.isconnected(): print("Connecting to WiFi…") sta_if.connect(SSID, PASSWORD) # Wait … Read more