ESP32 MicroPython Getting Started
Welcome to the Waveshare ESP32 MicroPython Getting Started!
This tutorial series is based on the Waveshare ESP32-S3-Zero Mini Development Board and the Thonny IDE environment, aiming to help learners get started with ESP32 development. It is recommended to follow the chapters in order, but you can also choose specific chapters based on your interests.
The core logic of this tutorial applies to all ESP32 boards, but all the operation steps are explained using the example of the Waveshare ESP32-S3-Zero mini development board. If you are using a development board of another model, please modify the corresponding settings according to the actual situation. To ensure a consistent learning experience, it is recommended to use a development board based on the ESP32-S3 chip.
If you are using a different model of ESP32 development board, please note the following:
- Different Pin Definitions: Pin numbers and functional layouts will vary across boards.
- Different Onboard Resources: For example, your board may use LEDs with different pins or may not have onboard RGB LEDs.
Before running any demo that interacts with hardware, be sure to check and modify the pin numbers in the code according to the pinout diagram of your specific development board to ensure the program runs correctly.
You can use any ESP32 development board you have on hand, paired with your own components, to follow along. If you wish to avoid the hassle of selecting accessories, we also provide the following learning kits, which include the core hardware required for this tutorial series:
- ESP32-XX-Basic-Kit-Acce: Prepare your own development board and use this kit for learning.
- ESP32-S3-Zero Basic Kit: Can be used to follow this tutorial directly. Example programs and wiring diagrams: ESP32-S3-Zero-Basic-Kit-main.zip (GitHub)
- ESP32-C3-Zero Basic Kit: Requires wiring adjustments. Example programs and wiring diagrams: ESP32-C3-Zero-Basic-Kit-main.zip (GitHub)
- ESP32-C6-Zero Basic Kit: Requires wiring adjustments. Example programs and wiring diagrams: ESP32-C6-Zero-Basic-Kit-main.zip (GitHub)
Table of Contents
- Section 1 Set Up Development Environment
- Section 2 Basics
- Section 3 GPIO Digital Output/Input
- Section 4 ADC Analog Input
- Section 5 PWM Output
- Section 6 UART Communication
- Section 7 I2C Communication
- Section 8 SPI Communication
- Section 9 Wi-Fi Basics
- Section 10 Web Server
- Section 11 Bluetooth Communication
- Section 12 Comprehensive Projects