Purchased a 3 pack of "EC Buying ESP32 WROOM Development Board, ESP32S Development Board Integrated WiFi+ Bluetooth Dual Core Microcontroller Processor Ethernet Interface I2S I2C Suitable for Arduino/ IoT/Smart Home(3PCS)"
Installed Arduino "arduino-ide_2.0.3_Windows_64bit". Followed these instructions, except I chose the NodeMCU-32s. Unknown device in win10 device manager. CP210x_Universal_Windows_Driver downloaded and installed. Silicon Labs, from the Windows update optional drivers.
More help here.
Still Upload fails.
sptool.py v4.2.1Serial port COM3Connecting...Traceback (most recent call last):File "esptool.py", line 34, in <module>File "esptool\__init__.py", line 1004, in _mainFile "esptool\__init__.py", line 646, in mainFile "esptool\__init__.py", line 895, in get_default_connected_deviceFile "esptool\loader.py", line 631, in connectFile "esptool\loader.py", line 572, in _connect_attemptFile "esptool\loader.py", line 435, in syncFile "esptool\loader.py", line 365, in commandFile "esptool\loader.py", line 317, in writeFile "serial\serialwin32.py", line 325, in writeserial.serialutil.SerialTimeoutException: Write timeout[2060] Failed to execute script 'esptool' due to unhandled exception!Failed uploading: uploading error: exit status 1
I had two com3 devices, so I disabled the non usb-uart one. The upload completes. But the output is gibberish. P ���-t��Yt�(�l��. The baud rate of the serial monitor did not match the baud rate specified in the code.
12/22/22 update
Testing out Bluetooth
There is a library conflict if you have the arduinoBLE library installed.
Multiple libraries were found for "BLEDevice.h"
Used: C:\Users\Jash\Documents\Arduino\libraries\ArduinoBLE
Not used: C:\Users\Jash\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.5\libraries\BLE
exit status 1
They both have BLEDevice.h. I had to change:
#include <BLEDevice.h> to #include "BLEDevice.h"
This project will be a client so that it can accept multiple connections. The goal is a multiplayer game.
The ESP32 BLE_client example throws many errors! Lots of undefined references.
No comments:
Post a Comment