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
MotorA_IN1
MotorA_IN1
MotorB_IN1
Encoder2_ChA
Encoder2_ChA
I2C_SCL
Encoder2_ChB
MotorA_IN2
Button3
QTR1
S4
QTR1
I2C_SDA
I2C_SCL
MotorB_IN1
S1
Button2
MotorB_IN2
Encoder1_ChA
QTR2
S4
Button3
S5
MotorB_IN2
Button2
IBUS_TX
Button1
IBUS_RX
S3
IBUS_RX
S5
MotorA_IN2
Button1
QTR2
S2
S3
Encoder2_ChB
Encoder1_ChA
IBUS_TX
Encoder1_ChB
S1
Encoder1_ChB
S2
I2C_SCL
J5
J11
J4
J9
J6
J7
J12
J8
J10
J14
U6
Manufacturer Part Number
FRS-16A45H1015
+3.3V
R6
Resistance
10KΩ
LCD1
R19
Resistance
10KΩ
+VBAT
+3.3V
R17
Resistance
20KΩ
R11
Resistance
20KΩ
R14
Resistance
10KΩ
R2
Resistance
10KΩ
R7
Resistance
20KΩ
R16
Resistance
10KΩ
+5V
R10
Resistance
10KΩ
R5
Resistance
20KΩ
+3.3V
R13
Resistance
20KΩ
+5V
+5V
+5V
+5V
+3.3V
+VBAT
R18
Resistance
20KΩ
+3.3V
R3
Resistance
10KΩ
+3.3V
R9
Resistance
2 Ω
+5V
+5V
R8
Resistance
10KΩ
+VBAT
+5V
+3.3V
R15
Resistance
20KΩ
R1
Resistance
10KΩ
R4
Resistance
10KΩ
+3.3V
+5V
+5V
R12
Resistance
10KΩ
+3.3V
C2
Capacitance
Capacitance
Capacitance
100uF
U5
Manufacturer Part Number
WeMos_D1_mini
U7
Manufacturer Part Number
MPU-6050
R21
Resistance
220 Ω
C1
Capacitance
Capacitance
Capacitance
100uF
C4
Capacitance
Capacitance
U2
J3
C3
Capacitance
Capacitance
J1
J2
U3
Manufacturer Part Number
7805
U1
Manufacturer Part Number
ESP32-DEVKIT-V1
SW3
SW1
R20
Resistance
10kΩ
D16
D1
SW8
SW2
BZ1
J13
U4
Manufacturer Part Number
Arduino-UNO-R3

ESP32 Robot Controller | AI Design Review Tutorial [Example]