Power the ESP32 externally
Follow the student handout to build, test and document this stage of the water-quality system.
Prepared lesson material. Start this task when your teacher introduces it; it is not currently assigned homework.
For this lesson
Read the handout text online
Lesson 5: Powering the ESP32 Independently
External power and Serial Monitor test
Grade 9 MYP Design | From USB to Field System
| Name: __________________ | Class / team: __________________ | Date: __________________ |
| Today’s goals • Connect verified 5V power to ESP32 5VIN/GND. • Distinguish power, programming, and serial communication. |
Key vocabulary
| Term | Working definition |
| 5VIN | |
| GND | |
| USB CDC | |
| port | |
| baud rate | |
| boot | |
| serial |
| Pre-power checkpoint Buck output has already been measured at 4.9–5.1V. Power is OFF while 5VIN and GND wires are installed. |
1. Connections
| LM2596.OUT+ -> ESP32.5VINLM2596.OUT- -> ESP32.GND |
☐ OUT+ wire is in 5VIN, not 3V3.
☐ OUT− wire is in GND.
☐ No raw battery wire reaches the ESP32.
☐ Connections are secure and polarity has been checked.
2. IDE settings
| Setting | Selected value |
| Board | ESP32S3 Dev Module |
| Port | |
| USB CDC On Boot | Enabled if required |
| Serial Monitor baud | 115200 |
| Upload speed | 921600 or 115200 if troubleshooting |
3. Serial test sketch
| void setup() { Serial.begin(115200); delay(2000); Serial.println("ESP32-S3 serial test OK");}void loop() { Serial.println("hello"); delay(1000);} |
4. Test evidence
| Test | Expected evidence | Observed |
| Upload | IDE reports successful upload | |
| Boot | Board powers from external 5V | |
| Serial | Readable “hello” at 115200 | |
| Reset | Output restarts after reset |
5. Explain the roles of USB
Power, programming/data transfer, and Serial Monitor are related but separate. Explain each.
________________________________________________________________________________________________________________
________________________________________________________________________________________________________________
________________________________________________________________________________________________________________
________________________________________________________________________________________________________________
________________________________________________________________________________________________________________