esp-idf
Note
This tutorial is based on windows system
Get Started
Refer to official documentation:
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/
ESP32-C3
Hardware connection
Camera pin |
Development board pins |
---|---|
VCC |
3V3 |
GND |
GND |
SCK |
4 |
MISO |
5 |
MOSI |
6 |
CS |
1 |
Compile and download
Select board example
![../../_images/selectESP32-C3.png](../../_images/selectESP32-C3.png)
Configure
idf.py set-target esp32c3
![../../_images/esp32-c3SetTarget.png](../../_images/esp32-c3SetTarget.png)
Build the Project
idf.py build
![../../_images/esp32-c3Build.png](../../_images/esp32-c3Build.png)
View the port number
![../../_images/windowsCOMx.png](../../_images/windowsCOMx.png)
Flash onto the Device
idf.py -p COM38 flash
![../../_images/esp32-cdDownload.png](../../_images/esp32-cdDownload.png)
Effect demonstration
![../../_images/image.bmp](../../_images/image.bmp)
ESP32-S
Hardware connection
Camera pin |
Development board pins |
---|---|
VCC |
3V3 |
GND |
GND |
SCK |
18 |
MISO |
19 |
MOSI |
23 |
CS |
22 |
Compile and download
Select board example
![../../_images/selectESP32-S.png](../../_images/selectESP32-S.png)
Configure
idf.py set-target esp32
![../../_images/esp32-sSetTarget.png](../../_images/esp32-sSetTarget.png)
Build the Project
idf.py build
![../../_images/esp32-sBuild.png](../../_images/esp32-sBuild.png)
View the port number
![../../_images/esp32-sComx.png](../../_images/esp32-sComx.png)
Flash onto the Device
idf.py -p COM39 flash
![../../_images/esp32-sDownload.png](../../_images/esp32-sDownload.png)
Effect demonstration
![../../_images/image.bmp](../../_images/image.bmp)