SunFounder ESP32 Starter Kit¶

Welcome to the ESP32 Learning Kit! This comprehensive package is designed to offer both beginners and seasoned developers a deep dive into the versatile world of the ESP32 microcontroller. With the ESP32 WROOM 32E at its core, and a range of accompanying components like LEDs, sensors, motors, and more, users can explore a vast array of projects.
Whether you’re keen on basic electronics, IoT integrations, this kit has it all. For MicroPython enthusiasts, we provide a structured introduction to MicroPython, complete with IDE setups and basic syntax lessons. Arduino users are not left behind, with a dedicated section on getting started with Arduino, and a suite of basic projects to jumpstart the learning process.
For the creatives, there’s a delightful section on integrating with Scratch, allowing for a blend of programming and storytelling. Each project in the kit is meticulously outlined, ensuring you understand the objectives, the circuit assembly, and the programming aspects.
With a myriad of game projects, practical applications, and troubleshooting FAQs, this kit promises an enriching learning experience for all. Dive in and let the ESP32 adventure begin!
If you have any questions or other interesting ideas, feel free to send an email to service@sunfounder.com.
About the display language
In addition to English, we are working on other languages for this course. Please contact service@sunfounder.com if you are interested in helping, and we will give you a free product in return. In the meantime, we recommend using Google Translate to convert English to the language you want to see.
The steps are as follows.
In this course page, right-click and select Translate to xx. If the current language is not what you want, you can change it later.

There will be a language popup in the upper right corner. Click on the menu button to choose another language.

Select the language from the inverted triangle box, and then click Done.

- About this Kit
- Components List and Introduction
- ESP32 WROOM 32E
- ESP32 Camera Extension
- Breadboard
- Resistor
- Capacitor
- Jumper Wires
- Transistor
- 74HC595
- L293D
- LED
- RGB LED
- 7-segment Display
- I2C LCD1602
- WS2812 RGB 8 LEDs Strip
- Buzzer
- Audio Module and Speaker
- DC Motor
- Servo
- Centrifugal Pump
- Button
- Tilt Switch
- Potentiometer
- Joystick Module
- IR Receiver
- Photoresistor
- Thermistor
- DHT11 Humiture Sensor
- PIR Motion Sensor Module
- Line Tracking Module
- Soil Moisture Module
- Obstacle Avoidance Module
- Ultrasonic Module
- For Arduino User
- 1.1 Install Arduino IDE(Important)
- 1.2 Introduce of Arduino IDE
- 1.3 Install the ESP32 board(Important)
- 1.4 Install libraries (Important)
- 2.1 Hello, LED!
- 2.2 Fading
- 2.3 Colorful Light
- 2.4 Microchip - 74HC595
- 2.5 7 Segment Display
- 2.6 Display Characters
- 2.7 RGB LED Strip
- 3.1 Beep
- 3.2 Custom Tone
- 4.1 Motor
- 4.2 Pumping
- 4.3 Swinging Servo
- 5.1 Reading Button Value
- 5.2 Tilt It!
- 5.3 Detect the Obstacle
- 5.4 Detect the Line
- 5.5 Detect Human Movement
- 5.6 Two Kinds of Transistors
- 5.7 Feel the Light
- 5.8 Turn the Knob
- 5.9 Measure Soil Moisture
- 5.10 Thermometer
- 5.11 Toggle the Joystick
- 5.12 Measuring Distance
- 5.13 Temperature - Humidity
- 5.14 IR Receiver
- 6.1 Fruit Piano
- 6.2 Flowing Light
- 6.3 Reversing Aid
- 6.4 Electronic Dice
- 6.5 Color Gradient
- 6.6 Plant Monitor
- 6.7 Guess Number
- 7.1 Bluetooth
- 7.2 Bluetooth Control RGB LED
- 7.3 Bluebooth Audio Player
- 7.4 SD Card Write and Read
- 7.5 MP3 Player with SD Card Support
- 7.6 Take Photo SD
- 8.1 Real-time Weather From @OpenWeatherMap
- 8.2 Camera Web Server
- 8.3 Custom Video Streaming Web Server
- 8.4 IoT Communication with MQTT
- 8.5 CherryLight
- 8.6 Temperature and Humidity Monitoring with Adafruit IO
- 8.7 ESP Camera with Telegram Bot
- 8.8 Camera with Home Assistant
- 8.9 Blynk-based Intrusion Notification System
- 8.10 Android Application - RGB LED Operation via Arduino and Bluetooth
- For MicroPython User
- 1.1 Introduction of MicroPython
- 1.2 Install Thonny IDE
- 1.3 Install MicroPython on the ESP32(Important)
- 1.4 Upload the Libraries (Important)
- 1.5 Quick Guide on Thonny
- 1.6 (Optional) MicroPython Basic Syntax
- 2.1 Hello, LED!
- 2.2 Fading LED
- 2.3 Colorful Light
- 2.4 Microchip - 74HC595
- 2.5 Number Display
- 2.6 Display Characters
- 2.7 RGB LED Strip
- 3.1 Beep
- 3.2 Custom Tone
- 4.1 Small Fan
- 4.2 Pumping
- 4.3 Swinging Servo
- 5.1 Reading Button Value
- 5.2 Tilt It!
- 5.3 Detect the Obstacle
- 5.4 Detect the Line
- 5.5 Detect Human Movement
- 5.6 Two Kinds of Transistors
- 5.7 Feel the Light
- 5.8 Turn the Knob
- 5.9 Measure Soil Moisture
- 5.10 Temperature Sensing
- 5.11 Toggle the Joystick
- 5.12 Measuring Distance
- 5.13 Temperature - Humidity
- 5.14 IR Remote Control
- 6.1 Fruit Piano
- 6.2 Flowing Light
- 6.3 Light Theremin
- 6.4 Reversing Aid
- 6.5 Color Gradient
- 6.6 Electronic Dice
- 6.7 Guess Number
- 6.8 Plant Monitor
- Play with Scratch
- 1.1 Install PictoBlox
- 1.2 Interface Introduction
- 1.3 Quick Guide on PictoBlox
- 2.1 Table Lamp
- 2.2 Breathing LED
- 2.3 Colorful Balls
- 2.4 Moving Mouse
- 2.5 Doorbell
- 2.6 Low Temperature Alarm
- 2.7 Light Alarm Clock
- 2.8 Read Temperature and Humidity
- 2.9 Rotating Fan
- 2.10 Light Sensitive Ball
- 2.11 GAME - Shooting
- 2.12 GAME - Inflating the Balloon
- 2.13 GAME - Star-Crossed
- 2.14 GAME - Eat Apple
- 2.15 GAME - Flappy Parrot
- 2.16 GAME - Breakout Clone
- 2.17 GAME - Fishing
- 2.18 GAME - Don’t Tap on The White Tile
- 2.19 GAME - Protect Your Heart
- 2.20 GAME - Kill Dragon
- FAQ
- Thank You
Copyright Notice¶
All contents including but not limited to texts, images, and code in this manual are owned by the SunFounder Company. You should only use it for personal study, investigation, enjoyment, or other non-commercial or nonprofit purposes, under the related regulations and copyrights laws, without infringing the legal rights of the author and relevant right holders. For any individual or organization that uses these for commercial profit without permission, the Company reserves the right to take legal action.