I’m only starting with the ESP environment, but have 3 successfully running. Now I’m trying to get two more ESP32 S2 mini (Amazon.de) on board, but I cannot install the image, or the image won’t start?
So I compile this in ESPhome compiler, click “install”, then press+hold 0 on the ESP, then push RST, let go, then let go 0.
ESPhome shows the connecting dialogue, but then fails:
I then unplugged the ESP, plugged it back in for power supply, but it never connects to the wifi, it seems. There is no lease in my DHCP. HA does also not auto-find it. I have no IP I could enter in HA to insert, so cannot add it manually either.
I’m thinking maybe I destroyed something during the soldering, because it was kinda the first time I did that, but it would be odd that esp.huhn.me was able to establish a connection.
For a cold joint, just resolder it to have proper connection.
For a bridge, if it wasn’t shorting anything, just remove the bridge with soldering iron.
If it was in short… something probably damaged.
I was about to comment that those have no USB to UART (CP2104) chip to create a USB device, but I see that there is an onboard USB device on the ESP32-S2… so I’m not so sure that my statement is still correct…
//mqtt https://osoyoo.com/2017/05/10/nodemcu-lesson-5-mqtt-pubsubclient/
#define LED D0 // Led in NodeMCU at pin GPIO16 (D0).
// in esp32, it is gpio2, https://steemit.com/esp32/@armageddit/einfuehrung-2-blinken-der-onbord-led
int LED = 2;
void setup() {
pinMode(LED, OUTPUT); // LED pin as output.
}
void loop() {
digitalWrite(LED, HIGH); // turn the LED off.(Note that LOW is the voltage level but actually
//the LED is on; this is because it is acive low on the ESP8266.
delay(1000); // wait for 1 second.
digitalWrite(LED, LOW); // turn the LED on.
delay(1000); // wait for 1 second.
}
I went to “Sketch” → “Upload”, and it uploaded the code. It existed with:
Leaving...
WARNING: ESP32-S2FNR2 (revision v1.0) chip was placed into download mode using GPIO0.
esptool.py can not exit the download mode over USB. To run the app, reset the chip manually.
To suppress this note, set --after option to 'no_reset'.
Failed uploading: uploading error: exit status 1
Not sure what that means though. How do I reset the chip manually?
Why would it say that the upload failed with status 1 even though the upload appears to have worked? Is that a quirk of Arduino IDE?
Can I somehow connect to the board if it is running? Is there any remote debugging console?
But it stops afterwards, maybe I need to press 0 or RST, but I don’t know … no information on the internet … I’m wondering if I should have bought a different mini ESP …
Just to clear up semantics- “Bridge” (specifically Solder Bridge) is any connection between two pins using a blob of solder. The connection is a short circuit regardless of if it’s Vcc, Ground or a GPIO pin. Bridge is just another way to say “Short Circuit”. But since your UART (a chip on the board) does connect and goes through the motions of flashing, doubt that this could be your issue.
A bridge is not always bad. Sometimes it’s intentional. For example, to select the address of some i2c devices, you create a solder bridge across selected address pads:
Here is my configuration for a similar board: Try using this to test. (Or just change board: esp32-s2-saola-1 to board: nodemcu-32s on your current configuration.
I have never used Arduino to flash an ESP device. I have been using ESPHome Flasher for ever since I flashed my first ESPHome device. Do a Manual Install to the Legacy format, then run ESPHome Flasher.
I also tried the “Flash using Plug into this computer” from the Install menu
Click on “Plug into this computer”
Wait for “Preparing Download” to finish. (It’s compiling)
Download Project
Open ESPHome Web
Connect
Select port
Click on “connect”
Click on “Install”
Choose file that you downloaded above
Click on “Install”
Also, my board doesn’t have a D0 pin. I don’t press anything. Even on my DEVKIT board that does have Boot and En buttons.