Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Scan for outdated or missing drivers - takes under a minute3Repair Windows errors before they cause bigger problemsiTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
If your ESP32 restarts as soon as you open a serial monitor, the port may be toggling DTR or RTS control lines that are connected to the board’s reset and boot circuitry. This is expected on some board-and-terminal combinations, but it is not universal. The right fix depends on how your board wires those signals.
Why does my ESP32 reset when I open the serial monitor?
Opening a serial port can change the states of its DTR and RTS lines. On many ESP32 development boards, a two-transistor auto-reset circuit connects those lines to EN (also called CHIP_PU) and GPIO0. That circuit lets software reset the chip and select firmware-download mode. Some operating systems or terminal programs activate the lines when opening a port; Espressif notes that this can pull them low together and hold the ESP in reset. DTR and RTS are active-low signals. Espressif’s boot-mode documentation describes this behavior.
The board circuit matters. Espressif’s DevKitC schematic shows a two-transistor design that prevents reset when both lines are asserted together. A simpler board or adapter may wire RTS directly to EN, producing different behavior. Some hardware has no DTR/RTS connections at all, so automatic reset is unavailable. Check the schematic or documentation for your exact board and revision rather than assuming all ESP32 boards behave alike.
Free tools Windows power users keep installed
One-click scans. No signup required.
How to diagnose the reset
1. Confirm that opening the port triggers a fresh boot
Set the monitor to the baud rate configured by your firmware. The ESP32 ROM boot log uses 115200 bps. If a new boot message appears immediately after opening the monitor, the chip has likely reset; the second ROM line includes a rst: reason and boot: mode. If there is no fresh boot message, the monitor may simply have started displaying output from a board that was already running. See Espressif’s boot-mode documentation and troubleshooting guide.
#1 Best Overall
- 2.4GHz Dual Mode WiFi + Bluetooth Development Board
- Support LWIP protocol, Freertos
- SupportThree Modes: AP, STA, and AP+STA
- Ultra-Low power consumption, Compatible with Arduino IDE
- ESP32 is a safe, reliable, and scalable to a variety of applications
2. Identify the serial bridge and control-line wiring
Find out whether your board has an onboard USB-to-UART bridge or uses a separate adapter. FTDI, CP210x, and CH340x chips are examples of bridges used in these setups, but the chip name alone does not establish how a particular board routes DTR and RTS. Look for the board’s schematic or its manufacturer’s instructions.
3. Match the monitor setting to the wiring
If RTS is wired directly to EN, Espressif advises disabling RTS/CTS hardware flow control in the serial program. This is a targeted fix for that wiring, not a universal ESP32 setting. If your board uses the two-transistor auto-reset circuit, do not assume direct RTS-to-EN wiring explains the reset; check the monitor’s DTR/RTS behavior and the board schematic instead.
Rank #2
- Dual-Core Performance Up to 240 MHz: Run sensor processing, wireless communication, automation logic and connected-device tasks on a 32-bit dual-core ESP32 platform designed for responsive embedded and IoT projects
- Built-in Wi-Fi and Bluetooth 4.2: Connect to 2.4 GHz Wi-Fi networks or use Bluetooth Classic and BLE for wireless sensors, smart devices, remote controls, home automation and other connected projects
- Flexible Power-Saving Modes: ESP32 power-management features support dynamic clock scaling and low-power operating modes, helping developers reduce energy use in compatible sensing, monitoring and connected-device applications, suitable for battery-powered Internet of Things (IoT) devices.
- USB-C Programming with CP2102: Connect through USB-C for power, sketch uploads and serial monitoring, while GPIO, UART, SPI and I2C interfaces support sensors, displays, motor drivers and other modules (USB-C cable not included)
- Over-the-Air Update Support: Configure OTA functionality through a compatible ESP-32 software framework to update deployed firmware over Wi-Fi without reconnecting the board by USB for every revision
4. Check the Linux-specific HUPCL case
Espressif documents a Linux case in which a serial port may assert RTS by default when nothing is attached, potentially keeping an ESP32 in a reset loop. Disabling HUPCL can help with that documented behavior. Treat this as a Linux-specific diagnostic for applicable wiring, not as a general Windows or macOS fix.
Recommended Free Tools
5. If it keeps resetting, investigate power and firmware
A serial-port setting will not fix an unstable supply, a wiring problem, or firmware that crashes during startup. Espressif recommends checking stable 3.3 V power, pin voltages, devices connected to GPIO pins, and early startup logs. Its troubleshooting guidance says ESP chip supply demand can reach up to 70 mA continuous and 200–300 mA peak, possibly slightly higher; those are vendor figures, not a measurement of your particular board. Espressif also warns that some FTDI FT232R or Arduino 3.3 V outputs may not provide enough current to power an ESP chip reliably. Read Espressif’s troubleshooting guidance.
Rank #3
- Powerful ESP-32 Board: Unlock the world of Internet of Things (IoT) and advanced electronics with the heart of this kit: the ESP-32 board. It features a powerful dual-core processor, integrated Wi-Fi and Bluetooth 4.2, making it perfect for building connected, smart devices that communicate with your phone or the cloud. It's fully compatible with the Arduino IDE for easy programming.
- Super Starter Kit: This kit contains over 35 different modules and electronic components, including sensors, displays, motors, and input devices. From LEDs and buttons to an OLED screen, servo motor, and keypad, you have everything needed to explore a vast range of projects in one box.
- Step by Step Online Tutorial: Jump right in with our detailed, beginner-friendly tutorial. Access 30+ projects with complete code, clear circuit diagrams, and step-by-step instructions. Learn the fundamentals of electronics, coding, and how to utilize the ESP-32's unique capabilities without any prior experience.
- Hands-on Learning for All Skill Levels: Perfect for students, makers, engineers, and hobbyists. Start with basic circuits and coding, then progress to intermediate and advanced IoT applications. Build practical projects like weather stations, smart home controllers, remote-controlled devices, and interactive gadgets. The skills you learn are the foundation for real-world innovation.
- Quality & Great Support: Elegoo is committed to quality. We provide a clear, detailed tutorial guide, refined code, and a well-organized component kit. All modules are carefully selected for reliability and ease of use. Our dedicated technical support team and active online community are ready to help you succeed in your learning journey.
A multimeter can help check EN and GPIO0 levels or supply behavior if you are comfortable probing the board. Do not add an EN capacitor as a default fix: Espressif discusses a 1–10 µF EN-to-GND range for its described reset circuit, but board designs differ, and the actual circuit should be checked before making a hardware change.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.How to enter download mode if auto-reset does not work
Manual bootloader entry is a fallback for flashing firmware, not a way to prevent an ordinary reset when opening the monitor. On an Espressif development board, hold Boot (GPIO0) and press EN. GPIO0 is sampled at reset to determine boot mode. For other hardware, follow its board-specific instructions; Espressif also describes pulling GPIO0 low. See Espressif’s boot-mode documentation.
Quick Recap
Best Value
- 2.4GHz Dual Mode WiFi + Bluetooth Development Board
- Ultra-Low power consumption, works perfectly with the Arduino IDE
- Support LWIP protocol, Freertos
- SupportThree Modes: AP, STA, and AP+STA
- ESP32 is a safe, reliable, and scalable to a variety of applications
Rank #4
- 2.4GHz Dual Mode WiFi + Bluetooth Development Board
- Support LWIP protocol, Freertos;ESP32 is a safe, reliable, and scalable to a variety of applications
- SupportThree Modes: AP, STA, and AP+STA
- Ultra-Low power consumption, Compatible with Arduino IDE
- 1PCS 30Pin ESP32 Development Board 2.4GHz WiFi Dual Cores Microcontroller Integrated with Antenna RF Low Noise Amplifiers Filters

