Working with ESP32-S3
This chapter includes the following sections:
Setting Up the Development Environment
1. Installation and Configuration
- For ESP32-S3 environment setup and basic usage, please refer to the following links:
- After setting up the environment, connect the sensor and download the example package.
Example
Hardware Connection
Connect as shown in the figure below.

Running the Arduino ESP32 Example
-
Navigate to
TOF_MINIF_Range_Sensor_Demo/TOF_MINIF_Range_Sensor_Demo/ESP32S3/Arduino/TOF_UART_Demoand double-click theTOF_UART_Demo.inofile. -
Select the development board:

-
Select the ESP32-S3 port, then compile and upload.
-
After upload is complete, open the Serial Monitor to view the output.
Running the MicroPython Example
-
Navigate to
TOF_MINIF_Range_Sensor_Demo/TOF_MINIF_Range_Sensor_Demo/ESP32S3/pythonand double-click theTOF_UART_Demo.pyfile. -
Set the chip model to ESP32 and select the corresponding port:

-
Select the ESP32-S3 port, then run the example.
-
The shell will display the relevant output.