Board: WeMos WiFi&Bluetooth Battery
IDE name: Arduino IDE v1.8.5
Flash Frequency: 80Mhz
Upload Speed: 115200
My issue is most likely a problem with my setup, not with the arduino-esp32 itself, but I still need some help.
I am trying to program my ESP32 board from a Linux system. I followed all the instructions - cloned the repo, recursively updated submodules and ran python get.py, everything went successfully.
When I launch Arduino IDE v1.8.5, I can select the board from Tools -> Board option, but Tools -> Port option is grayed out. I guess I am missing something in my setup.
To clarify: my user is added to dialout group, and if use some other board (for example, Arduino Nano), the port option becomes configurable.
What should I do make port configurable for ESP32? Which serial device should appear in my system?
// The sketch is pretty much irrelevant to the problem, but being able to upload
// and run the classic "blink" program will help clarify that everything works
int ledPin = 16;
void setup() {
pinMode(ledPin, OUTPUT);
}
void loop() {
digitalWrite(ledPin, HIGH);
delay(500);
digitalWrite(ledPin, LOW);
delay(500);
}
My guess is that Silabs cp2102 drivers are missing: https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
Anyway, here are some guides that can help you: http://esp-idf.readthedocs.io/en/latest/get-started/establish-serial-connection.html
@copercini
I downloaded, compiled and inserted the cp2102 module into my Linux kernel. Unfortunately, it didn't change much, as ttyUSB0 still doesn't appear in my system (even after logout).
From your link:
If device driver does not install automatically, identify USB to serial converter chip on your ESP32 board (or external converter dongle), search for drivers in internet and install them.
Frankly, the chip that looks like the USB to serial converter chip has nothing written on it, so I cannot identify which exact driver I need. I tried downloading FTDI Virtual COM port drivers - namely, copied shared objects to my system, but it didn't help.
I have ESP-WROOM-32, the board is "WeMos WiFi&Bluetooth Battery" if that helps.
Any suggestions on where I should look further?
I am sorry for reporting this issue. Turns out, my USB-microUSB wire was bad. I replaced it, and then my ESP32 showed up in the system and I managed to successfully upload my sketch.
Closing the issue.
I'm so glad this happened to you! had the exact same problem, I tried everything, reinstalled the drivers and everything. Turns out my cable was bad as well. It was driving me crazy
Most helpful comment
I'm so glad this happened to you! had the exact same problem, I tried everything, reinstalled the drivers and everything. Turns out my cable was bad as well. It was driving me crazy