FNK0083
C language
Important Information
Getting Started
Get Support and Offer Input
Safety and Precautions
About Freenove
Copyright
Preface
ESP32-S3 WROOM
Extension board of the ESP32-S3 WROOM
CH343 (Importance)
Windows
Check whether CH343 has been installed
Installing CH343
MAC
Programming Software
Environment Configuration
Notes for GPIO
Strapping Pin
PSRAM Pin
SDcard Pin
USB Pin
Cam Pin
0. Chapter LED
Project 0.1 Blink
Component List
Power
Sketch
Option 1:
Option 2:
Sketch_01.1_Blink
Reset()
Reference
1. Chapter LED
1.1. Project Blink
1.1.1. Component List
1.1.2. Component knowledge
1.1.2.1. LED
1.1.2.2. Resistor
1.1.2.3. Breadboard
1.1.2.4. Power
1.1.3. Circuit
1.1.4. Sketch
1.1.4.1. Sketch_Blink
2. Chapter Button & LED
2.1. Project Button & LED
2.1.1. Component List
2.1.2. Component knowledge
2.1.2.1. Push button
2.1.3. Circuit
2.1.4. Sketch
2.1.4.1. Sketch_ButtonAndLed
2.1.4.2. Reference
2.2. Project MINI table lamp
2.2.1. Debounce for Push Button
2.2.2. Sketch
2.2.2.1. Sketch_Tablelamp
3. Chapter LED Bar
3.1. Project Flowing Light
3.1.1. Component knowledge
3.1.1.1. LED bar
3.1.2. Circuit
3.1.3. Sketch
3.1.3.1. Sketch_FlowingLight
4. Chapter Analog & PWM
4.1. Project Breathing LED
4.1.1. Component List
4.1.2. Related knowledge
4.1.2.1. Analog & Digital
4.1.2.2. PWM
4.1.2.3. ESP32-S3 and PWM
4.1.3. Circuit
4.1.4. Sketch
4.1.4.1. Sketch_BreathingLight
4.2. Project Meteor Flowing Light
4.2.1. Component List
4.2.2. Circuit
4.2.3. Sketch
4.2.3.1. Sketch_FlowingLight2
5. Chapter RGB LED
5.1. Project Random Color Light
5.1.1. Component List
5.1.2. Related knowledge
5.1.3. Circuit
5.1.4. Sketch
5.1.4.1. Sketch_ColorfulLight
5.2. Project Gradient Color Light
5.2.1. Code
5.2.1.1. Sketch_05.2_SoftColorfulLight
6. Chapter Buzzer
6.1. Project Doorbell
6.1.1. Component List
6.1.2. Component knowledge
6.1.2.1. Buzzer
6.1.2.2. Transistor
6.1.3. Sketch
6.1.3.1. Sketch_Doorbell
6.2. Project Alertor
6.2.1. Sketch
6.2.1.1. Sketch_Alertor
6.2.1.2. Reference
7. Chapter Serial Communication
7.1. Project Serial Print
7.1.1. Component List
7.1.2. Related knowledge
7.1.2.1. Serial communication
7.1.2.2. Serial port on ESP32-S3
7.1.3. Circuit
7.1.4. Sketch
7.1.4.1. Sketch_SerialPrinter
7.1.4.2. Reference
7.2. Project Serial Read and Write
7.2.1. Sketch
7.2.1.1. Sketch_SerialRW
7.2.1.2. Reference
8. Chapter AD Converter
8.1. Project Read the Voltage of Potentiometer
8.1.1. Component List
8.1.2. Related knowledge
8.1.2.1. ADC
8.1.2.2. ADC on ESP32-S3
8.1.3. Component knowledge
8.1.3.1. Potentiometer
8.1.3.2. Rotary potentiometer
8.1.4. Circuit
8.1.5. Sketch
8.1.5.1. Sketch_ADC
8.1.5.2. Reference
9. Chapter Touch Sensor
9.1. Project Read Touch Sensor
9.1.1. Component List
9.1.2. Related knowledge
9.1.2.1. Touch sensor
9.1.3. Circuit
9.1.4. Sketch
9.1.4.1. Sketch_TouchRead
9.1.4.2. Reference
9.2. Project Touch Lamp
9.2.1. Component List
9.2.2. Circuit
9.2.3. Sketch
9.2.3.1. Sketch_TouchLamp
10. Chapter Potentiometer & LED
10.1. Project Soft Light
10.1.1. Component List
10.1.2. Circuit
10.1.3. Sketch
10.1.3.1. Sketch_Softlight
10.2. Project Soft Colorful Light
10.2.1. Component List
10.2.2. Circuit
10.2.3. Sketch
10.2.3.1. Sketch_SoftColorfulLight
11. Chapter Photoresistor & LED
11.1. Project NightLamp
11.1.1. Component List
11.1.2. Component knowledge
11.1.2.1. Photoresistor
11.1.3. Circuit
11.1.4. Sketch
11.1.4.1. Sketch_Nightlamp
11.1.4.2. Reference
constrain()
12. Chapter Thermistor
12.1. Project Thermometer
12.1.1. Component List
12.1.2. Component knowledge
12.1.2.1. Thermistor
12.1.3. Circuit
12.1.4. Sketch
12.1.4.1. Sketch_Thermometer
13. Chapter Joystick
13.1. Project Joystick
13.1.1. Component List
13.1.2. Component knowledge
13.1.2.1. Joystick
13.1.3. Circuit
13.1.4. Sketch
13.1.4.1. Sketch_Joystick
14. Chapter 74HC595 & LED Bar Graph
14.1. Project Flowing Water Light
14.1.1. Component List
14.1.2. Related knowledge
14.1.2.1. 74HC595
14.1.3. Circuit
14.1.4. Sketch
14.1.4.1. Sketch_FlowingLight2
14.1.4.2. Reference
15. Chapter 74HC595 & 7-Segment Display
15.1. Project 7-Segment Display.
15.1.1. Component List
15.1.2. Component knowledge
15.1.2.1. 7-segment display
15.1.3. Circuit
15.1.4. Sketch
15.1.4.1. Sketch_7_Segment_Display
16. Chapter Relay & Motor
16.1. Project Control Motor with Potentiometer
16.1.1. Component List
16.1.2. Component knowledge
16.1.2.1. L293D
16.1.3. Circuit
16.1.4. Sketch
16.1.4.1. Sketch_Control_Motor_by_L293D
17. Chapter Servo
17.1. Project Servo Sweep
17.1.1. Component List
17.1.2. Component knowledge
17.1.2.1. Servo
17.1.3. Circuit
17.1.4. Sketch
17.1.4.1. Sketch_Servo_Sweep
17.2. Project Servo Knop
17.2.1. Component List
17.2.2. Circuit
17.2.3. Sketch
17.2.3.1. Sketch_Servo_Sweep
18. Chapter LCD1602
18.1. Project LCD1602
18.1.1. Component List
18.1.2. Component knowledge
18.1.2.1. I2C communication
18.1.3. LCD1602 communication
18.1.4. Circuit
18.1.5. Sketch
18.1.5.1. How to install the library
18.1.5.2. Sketch_Display_the_string_on_LCD1602
18.1.5.3. Reference
19. Chapter Ultrasonic Ranging
19.1. Project Ultrasonic Ranging
19.1.1. Component List
19.1.2. Component Knowledge
19.1.3. Circuit
19.1.4. Sketch
19.1.4.1. Sketch_Ultrasonic_Ranging
19.2. Project Ultrasonic Ranging
19.2.1. Component List and Circuit
19.2.2. Sketch
19.2.2.1. How to install the library
19.2.2.2. Sketch_Ultrasonic_Ranging
19.2.2.3. Reference
20. Chapter Bluetooth
20.1. Project Bluetooth Low Energy Data Passthrough
20.1.1. Component List
20.1.2. Component knowledge
20.1.2.1. Master mode
20.1.2.2. Slave mode
20.1.3. Circuit
20.1.4. Sketch
20.1.4.1. Lightblue
20.2. Project Bluetooth Control LED
20.2.1. Component List
20.2.2. Circuit
20.2.3. Sketch
20.2.3.1. Sketch_Bluetooth_Control_LED
20.2.3.2. Reference
21. Chapter Read and Write the SDcard
21.1. Project SDMMC Test
21.1.1. Component List
21.1.2. Component knowledge
21.1.2.1. SD card read and write method
21.1.3. Format SD card
21.1.3.1. Windows
21.1.3.2. MAC
21.1.4. Circuit
21.1.5. Sketch
21.1.5.1. Sketch_SDMMC_Test
22. Chapter Play SD card music
22.1. Project SDMMC Music
22.1.1. Component List
22.1.2. Circuit
22.1.3. Sketch
22.1.3.1. How to install the library
22.1.3.2. Sketch_PlayMP3FromSD
22.2. Project SDMMC Music
22.2.1. Component List
22.2.2. Component knowledge
22.2.3. Circuit
22.2.4. Sketch
22.2.4.1. How to install the library
22.2.4.2. Sketch_SDMMC_Music
23. Chapter WiFi Working Modes
23.1. Project Station mode
23.1.1. Component List
23.1.2. Component knowledge
23.1.2.1. Station mode
23.1.3. Circuit
23.1.4. Sketch
23.1.4.1. Sketch_Station_mode
23.1.4.2. Reference
23.2. Project AP mode
23.2.1. Component List & Circuit
23.2.2. Component knowledge
23.2.2.1. AP mode
23.2.3. Circuit
23.2.4. Sketch
23.2.4.1. Sketch_AP_mode
23.2.4.2. Reference
23.3. Project AP+Station mode
23.3.1. Component List
23.3.2. Component knowledge
23.3.2.1. AP+Station mode
23.3.3. Circuit
23.3.4. Sketch
23.3.4.1. Sketch_AP_Station_mode
24. Chapter TCP/IP
24.1. Project As Client
24.1.1. Component List
24.1.2. Component knowledge
24.1.2.1. TCP connection
24.1.2.2. Install Processing
24.1.2.3. Use Server mode for communication
24.1.3. Circuit
24.1.4. Sketch
24.1.4.1. Sketch_As_Client
24.1.4.2. Reference
24.2. Project As Server
24.2.1. Component List
24.2.2. Circuit
24.2.3. Sketch
24.2.3.1. Sketch_As_Server
24.2.3.2. Reference
25. Chapter Camera Web Server
25.1. Project Camera Web Server
25.1.1. Component List
25.1.2. Circuit
25.1.3. Sketch
25.1.3.1. Sketch_As_CameraWebServer
25.1.3.2. Reference
25.2. Project Video Web Server
25.2.1. Component List
25.2.2. Circuit
25.2.3. Sketch
25.2.3.1. Sketch_As_VideoWebServer
25.3. Project Camera and SDcard
25.3.1. Component List
25.3.2. Circuit
25.3.3. Sketch
25.3.3.1. How to install the library
25.3.3.2. Sketch_Camera_SDcard
26. Chapter Camera Tcp Server
26.1. Project Camera Tcp Server
26.1.1. Component List
26.1.2. Install Freenove app
26.1.2.1. Method 1
26.1.2.2. Method 2
26.1.2.3. Method 3
26.1.2.4. Menu
26.1.2.5. Freenove 4WD Car for Raspberry Pi
26.1.3. Circuit
26.1.4. Sketch
26.1.4.1. Method 1:
26.1.4.2. Method 2:
26.1.4.3. Sketch_Camera_Tcp_Server
27. Chapter USB
27.1. Project USB Serial Example
27.1.1. Component List
27.1.2. Power
27.1.3. Component knowledge
27.1.3.1. Difference between USB-OTG and USB-UART Interfaces
27.1.3.2. Enabling USB-OTG
27.1.4. Sketch
27.1.4.1. Sketch USBSerial
27.2. Project USB Mouse Example
27.2.1. Component List
27.2.1.1. Power
27.2.2. Circuit
27.2.3. Sketch
27.2.3.1. Sketch_MouseControl
27.3. Project USB Keypad Example
27.3.1. Component List
27.3.1.1. Power
27.3.2. Circuit
27.3.3. Sketch
27.3.3.1. Sketch_KeyboardControl
27.4. Project USB Control Device Example
27.4.1. Component List
27.4.1.1. Power
27.4.2. Circuit
27.4.3. Sketch
27.4.3.1. Sketch_ConsumerControl
What’s next?
End of the Tutorial
Python language
Important Information
Getting Started
Get Support and Offer Input
Safety and Precautions
About Freenove
Copyright
Preface
ESP32-S3 WROOM
Extension board of the ESP32-S3 WROOM
CH343 (Importance)
Windows
Check whether CH343 has been installed
Installing CH343
MAC
Programming Software
Downloading Thonny
Installing on Windows
Basic Configuration of Thonny
Burning Micropython Firmware (Important)
Downloading Micropython Firmware
Install python3
Burning a Micropython Firmware
Window
Mac
Testing codes (Important)
Testing Shell Command
Running Online
Running Offline(Importance)
Thonny Common Operation
Uploading Code to ESP32S3
Downloading Code to Computer
Deleting Files from ESP32S3’s Root Directory
Deleting Files from your Computer Directory
Creating and Saving the code
Notes for GPIO
Strapping Pin
PSRAM Pin
SDcard Pin
USB Pin
Cam Pin
1. Chapter LED (Important)
1.1. Project Blink
1.1.1. Component List
1.1.1.1. Power
1.1.2. Code
1.1.2.1. Blink
1.1.2.2. Uploading code to ESP32S3
1.1.2.3. How to import python files
1.1.2.4. Reference
1.2. Project Blink
1.2.1. Component List
1.2.2. Component knowledge
1.2.2.1. LED
1.2.2.2. Resistor
1.2.2.3. Breadboard
1.2.2.4. Power
1.2.3. Circuit
1.2.4. Code
1.2.4.1. Blink
1.2.4.2. Uploading code to ESP32S3
2. Chapter Button & LED
2.1. Project Button & LED
2.1.1. Component List
2.1.2. Component knowledge
2.1.2.1. Push button
2.1.3. Circuit
2.1.4. Code
2.1.4.1. ButtonAndLed
2.2. Project MINI table lamp
2.2.1. Debounce for Push Button
2.2.2. Code
2.2.2.1. Tablelamp
2.2.2.2. Upload code to ESP32S3
3. Chapter LED Bar
3.1. Project Flowing Light
3.1.1. Component knowledge
3.1.1.1. LED bar
3.1.2. Circuit
3.1.3. Code
3.1.3.1. FlowingLight
3.1.3.2. Reference
4. Chapter Analog & PWM
4.1. Project Breathing LED
4.1.1. Component List
4.1.2. Related knowledge
4.1.2.1. Analog & Digital
4.1.2.2. PWM
4.1.2.3. ESP32-S3 and PWM
4.1.3. Circuit
4.1.4. Code
4.1.4.1. BreatheLight
4.1.4.2. Reference
4.2. Project Meteor Flowing Light
4.2.1. Component List
4.2.2. Circuit
4.2.3. Code
4.2.3.1. FlowingLight
4.2.3.2. How to import a custom python module
5. Chapter RGB LED
5.1. Project Random Color Light
5.1.1. Component List
5.1.2. Related knowledge
5.1.3. Circuit
5.1.4. Code
5.1.4.1. RandomColorLight
5.1.4.2. Reference
5.2. Project Gradient Color Light
5.2.1. Code
5.2.1.1. GradientColorLight
6. Chapter Buzzer
6.1. Project Doorbell
6.1.1. Component List
6.1.2. Component knowledge
6.1.2.1. Buzzer
6.1.2.2. Transistor
6.1.3. Code
6.1.3.1. 06.1_Doorbell
6.2. Project Alertor
6.2.1. Code
6.2.1.1. Alertor
6.2.1.2. Reference
7. Chapter Serial Communication
7.1. Project Serial Print
7.1.1. Component List
7.1.2. Related knowledge
7.1.2.1. Serial communication
7.1.2.2. Serial port on ESP32-S3
7.1.3. Circuit
7.1.4. Code
7.1.4.1. 07.1_Serial_Print
7.1.4.2. Reference
7.2. Project Serial Read and Write
7.2.1. Code
7.2.1.1. Serial_Read_and_Write
8. Chapter AD Converter
8.1. Project Read the Voltage of Potentiometer
8.1.1. Component List
8.1.2. Related knowledge
8.1.2.1. ADC
8.1.2.2. ADC on ESP32-S3
8.1.3. Component knowledge
8.1.3.1. Potentiometer
8.1.3.2. Rotary potentiometer
8.1.4. Circuit
8.1.5. Code
8.1.5.1. AnalogRead
8.1.5.2. Reference
9. Chapter Potentiometer & LED
9.1. Project Soft Light
9.1.1. Component List
9.1.2. Circuit
9.1.3. Code
9.1.3.1. Soft_LED
9.2. Project Soft Colorful Light
9.2.1. Component List
9.2.2. Circuit
9.2.3. Code
9.2.3.1. Soft_Colorful_Light
9.3. Project Soft Rainbow Light
9.3.1. Component List
9.3.2. Circuit
9.3.3. Code
9.3.3.1. Soft_Rainbow_Light
10. Chapter Photoresistor & LED
10.1. Project NightLamp
10.1.1. Component List
10.1.2. Component knowledge
10.1.2.1. Photoresistor
10.1.3. Circuit
10.1.4. Code
10.1.4.1. Nightlamp
11. Chapter Thermistor
11.1. Project Thermometer
11.1.1. Component List
11.1.2. Component knowledge
11.1.2.1. Thermistor
11.1.3. Circuit
11.1.4. Code
11.1.4.1. Thermometer
12. Chapter Joystick
12.1. Project Joystick
12.1.1. Component List
12.1.2. Component knowledge
12.1.2.1. Joystick
12.1.3. Circuit
12.1.4. Code
12.1.4.1. 12.1_Joystick
13. Chapter 74HC595 & LED Bar Graph
13.1. Project Flowing Water Light
13.1.1. Component List
13.1.2. Related knowledge
13.1.2.1. 74HC595
13.1.3. Circuit
13.1.4. Code
13.1.4.1. Flowing_Water_Light
13.1.4.2. Reference
14. Chapter 74HC595 & 7-Segment Display
14.1. Project 7-Segment Display.
14.1.1. Component List
14.1.2. Component knowledge
14.1.2.1. 7-segment display
14.1.3. Circuit
14.1.4. Code
14.1.4.1. 74HC595_and_7_segment_display
14.2. Project 4-Digit 7-Segment Display
14.2.1. Component List
14.2.2. Component knowledge
14.2.2.1. 4 Digit 7-Segment Display
14.2.3. Circuit
14.2.4. Code
14.2.4.1. 4_Digit_7_Segment_Display
15. Chapter Relay & Motor
15.1. Project Control Motor with Potentiometer
15.1.1. Component List
15.1.2. Component knowledge
15.1.2.1. L293D
15.1.3. Circuit
15.1.4. Code
15.1.4.1. Motor_And_Driver
16. Chapter Servo
16.1. Project Servo Sweep
16.1.1. Component List
16.1.2. Component knowledge
16.1.2.1. Servo
16.1.3. Circuit
16.1.4. Code
16.1.4.1. Servo_Sweep
16.1.4.2. Reference
16.2. Project Servo Knop
16.2.1. Component List
16.2.2. Circuit
16.2.3. Code
16.2.3.1. Servo_Knop
17. Chapter LCD1602
17.1. Project LCD1602
17.1.1. Component List
17.1.2. Component knowledge
17.1.2.1. I2C communication
17.1.3. LCD1602 communication
17.1.4. Circuit
17.1.5. Code
17.1.5.1. I2C_LCD1602
17.1.5.2. Reference
18. Chapter Ultrasonic Ranging
18.1. Project Ultrasonic Ranging
18.1.1. Component List
18.1.2. Component Knowledge
18.1.3. Circuit
18.1.4. Code
18.1.4.1. 18.1_Ultrasonic_Ranging
18.2. Project Ultrasonic Ranging
18.2.1. Component List and Circuit
18.2.2. Code
18.2.2.1. Ultrasonic_Ranging
18.2.2.2. Reference
19. Chapter Bluetooth
19.1. Project Bluetooth Low Energy Data Passthrough
19.1.1. Component List
19.1.2. Component knowledge
19.1.2.1. Master mode
19.1.2.2. Slave mode
19.1.3. Circuit
19.1.4. Code
19.1.4.1. Lightblue
19.1.4.2. BLE
19.2. Project Bluetooth Control LED
19.2.1. Component List
19.2.2. Circuit
19.2.3. Code
19.2.3.1. BLE_LED
20. Chapter WiFi Working Modes
20.1. Project Station mode
20.1.1. Component List
20.1.2. Component knowledge
20.1.2.1. Station mode
20.1.3. Circuit
20.1.4. Code
20.1.4.1. Station_mode
20.1.4.2. Reference
20.2. Project AP mode
20.2.1. Component List & Circuit
20.2.2. Component knowledge
20.2.2.1. AP mode
20.2.3. Circuit
20.2.4. Code
20.2.4.1. AP_mode
20.2.4.2. Reference
20.3. Project AP+Station mode
20.3.1. Component List
20.3.2. Component knowledge
20.3.2.1. AP+Station mode
20.3.3. Circuit
20.3.4. Code
20.3.4.1. AP+STA_mode
21. Chapter TCP/IP
21.1. Project As Client
21.1.1. Component List
21.1.2. Component knowledge
21.1.2.1. TCP connection
21.1.2.2. Install Processing
21.1.2.3. Use Server mode for communication
21.1.3. Circuit
21.1.4. Code
21.1.4.1. TCP_as_Client
21.1.4.2. Reference
21.2. Project As Server
21.2.1. Component List
21.2.2. Circuit
21.2.3. Code
21.2.3.1. TCP_as_Server
22. Chapter Camera Web Server
22.1. Project 22.1 Camera Web Server
22.1.1. Component List
22.1.2. Circuit
22.1.3. Code
22.1.3.1. 22.1_Camera_WebServer
22.1.3.2. Reference
What’s next?
End of the Tutorial
fnk0083-docs
Search
Please activate JavaScript to enable the search functionality.