Uploading ESP32 Code


where send the code?
You’ll upload/send the ESP32 code through the USB port on the ESP32 board/module using the Arduino IDE, PlatformIO, or ESP-IDF.
For this project, the usual flow is:
  1. Connect the ESP32 board to your computer with USB.
  2. Open the code in Arduino IDE or PlatformIO.
  3. Select the correct ESP32 board and COM/serial port.
  4. Click Upload.
  5. If upload fails, hold the BOOT button while uploading, then release it.
If you mean “where should I put the code in Flux,” then you can add it as a project file/document for reference, but the actual firmware is uploaded to the ESP32 from your computer via USB.
Add USB programming
Add BOOT/EN circuit
Check programming wiring
Save upload steps

U8
Manufacturer Part Number
MQ-135
U6
Manufacturer Part Number
FRS-16A45H1015
LCD1
U5
Manufacturer Part Number
WeMos_D1_mini
R21
Resistance
220 Ω
D16
BZ1
U7
Manufacturer Part Number
MPU-6050
U4
Manufacturer Part Number
Arduino-UNO-R3

ESP32 Robot Controller | AI Design Review Tutorial [Example]