I have been trying to start programming my esp32 board (with little/no success) and wondered if someone could help me with a few problems that I am having with Arduino ide when trying to program an esp32 board with a bmp280 sensor.
When I try to upload the any ketch to the esp32 it says “fatal error occurred: failed to connect to esp32: timed out.
I am currently using the bmp280test example sketch from github but need to add some extra on the bottom, unfortunately I don’t really know what I am doing, so wondered if you could help me add on to the end of the scorch to make the esp32 to use the pressure reading from the bmp280 to do something like this: PRESSURE (in PSI rather than hPa)>(any number imputed via WiFi. E.g. 12.5) = YES/NO
When I plug the esp32 into my computer via micro usb to usb cable the only port available is COM 1.
The board is an ESP32 (board library from GitHub - espressif/arduino-esp32: Arduino core for the ESP32 )
connection: micro usb to usb cable from board to computer.
Power supply: when the board is plugged in via usb the red might turns on so that must be the power supply as well.
Kayk24:
When I plug the esp32 into my computer via micro usb to usb cable the only port available is COM 1.
The board is an ESP32 (board library from GitHub - espressif/arduino-esp32: Arduino core for the ESP32 )
connection: micro usb to usb cable from board to computer.
Power supply: when the board is plugged in via usb the red might turns on so that must be the power supply as well.
If you unplug the ESP32 board, there is still only COM1? If that's the case you will need to solve the issue as to why your ESP32 does not show up in the Arduino IDE comm port listing. Have you followed the numerous available instructions on the internet on how to add on the ESP32 (core) to the Arduino IDE, or did you just get it and plug it in to find it does not work?
If the board is unplugged the only port is still COM1. I have tried numerous different tutorials for download the esp32 core, the software from github has downloaded fine just the same error message each time: Connecting .......... Timed out waiting for esp32. Failed to connect
I don't know, I not had an ESP32-WROOM or ESP32-WROVER fail to connect after following the ESP32 install guides on the internet.
Frankly, I'd test with another ESP.
I do not plug the ESP32 directly into a computers USB port. A look at the schematic of the ESP32 shows that what happens with the ESP32 happens to your computer, if connected. I power the ESP32's through a powered USB port/hub.
When you followed the instructions for installing an ESP32 to Windows machine Arduino IDE, did you a)follow this instruction, b)ignore it, c)did not follow any of the instructions:
Select the Port (if you don’t see the COM Port in your Arduino IDE, you need to install the CP210x USB to UART Bridge VCP Drivers):
I am going to focus on one point in the answer which was deleted, but echoed in ballscrewbob's post (and Idahowalker's).
The mystery "ESP32" which has never been cited, most likely uses a CH340 Chinese-designed USB to serial interface chip which Windoze (unlike Linux) does not natively support. You probably need to (firstly, read the instructions for the ESP32 board and then) install the corresponding USB driver.
Fundamentals
Is the ESP32 path in preferences ?
Is the EXACT board selected in board mansger?
Does it list in the IDE? bottom right.
Can you use any other boards? NANO. UNO ETC?
what happens when you plug any board DIRECTLY to the PC. NOT using the hub?
As I am a total beginner to Arduino and don’t think I will have to use it again after this project, is there anyone who I could get to do the coding for my esp32 for me?