I have several ESP32 devices working nicely with ESPHome and Home Assistant but ones of the esp32’s that used to work before suddenly stopped working. I’ve read the troubleshooting info in Github and other articles then I found solution like this.ESP32 install - no serial data received
but I can’t solved my problem.
I am using the ESPHome interface in Home Assistant.
I succeed compiling part, but I failed to connecting part.
INFO Reading configuration /config/esphome/esp3.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing esp3 (board: esp32dev; framework: arduino; platform: platformio/espressif32 @ 3.5.0)
--------------------------------------------------------------------------------
Library Manager: Installing Hash
INFO Installing Hash
Library Manager: Installing ESP8266WiFi
INFO Installing ESP8266WiFi
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|-- AsyncTCP-esphome @ 1.2.2
|-- WiFi @ 1.0
|-- FS @ 1.0
|-- Update @ 1.0
|-- ESPAsyncWebServer-esphome @ 2.1.0
| |-- AsyncTCP-esphome @ 1.2.2
|-- DNSServer @ 1.1.0
|-- ESPmDNS @ 1.0
|-- noise-c @ 0.1.4
| |-- libsodium @ 1.10018.1
RAM: [= ] 12.6% (used 41228 bytes from 327680 bytes)
Flash: [===== ] 52.7% (used 966174 bytes from 1835008 bytes)
========================= [SUCCESS] Took 11.18 seconds =========================
INFO Successfully compiled program.
esptool.py v3.3.1
Serial port /dev/ttyUSB0
Connecting......................................
A fatal error occurred: Failed to connect to ESP32: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
INFO Upload with baud rate 460800 failed. Trying again with baud rate 115200.
esptool.py v3.3.1
Serial port /dev/ttyUSB0
Connecting......................................
A fatal error occurred: Failed to connect to ESP32: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
I’m using HA OS 8.5 on a Raspberry Pi 4 Model B. The ESP module is plugged into one of the USB ports on the Pi, which I selected during the guided installation process. The board is still bare, with nothing connected to any of the pins.
Another ESP32 devices working.
Please can you help shed some light on this and perhaps suggest how I might resolve this?