Issues connecting Arduino Uno to ESP8266
Posted: Wed Jul 17, 2019 9:49 am
Hi,
I am trying to hook up an Arduino Uno to the internet. So I bought a few devices, but none of them are working, and I'm getting frustrated because every time I go to the store, it seems I get home and realize I need yet another part. Ugh! But enough complaining. Here is what I have:
I have tried so many things, but I always seem to run into issues. Two thing I have tried:
With the plain ESP8266 I tried this...
https://create.arduino.cc/projecthub/ci ... ion-dba10b
...but instead of the nice serial output I see:
10:29:13.841 -> fx~⸮⸮⸮⸮
With the Adafruit Huzzah ESP8266 I tried this...
https://learn.adafruit.com/adafruit-huz ... rduino-ide
...and I was able to get the blink program to work (after resetting the Huzzah) but when I tried to bootload again and upload the Wifi-connectivity sketch from that same tutorial, it just says:
Any help would be greatly appreciated.
I am trying to hook up an Arduino Uno to the internet. So I bought a few devices, but none of them are working, and I'm getting frustrated because every time I go to the store, it seems I get home and realize I need yet another part. Ugh! But enough complaining. Here is what I have:
- Arduino Uno
ESP8266 with pins coming out of the eight connectors
Adafruit Huzzah Feather ESP8266
HuzzahESP8266 Breakout (I know I only need one ESP8266...)
3.3V to 5V logic converter
Lots of male-male jumper cables.
A breadboard
I have tried so many things, but I always seem to run into issues. Two thing I have tried:
With the plain ESP8266 I tried this...
https://create.arduino.cc/projecthub/ci ... ion-dba10b
...but instead of the nice serial output I see:
10:29:13.841 -> fx~⸮⸮⸮⸮
With the Adafruit Huzzah ESP8266 I tried this...
https://learn.adafruit.com/adafruit-huz ... rduino-ide
...and I was able to get the blink program to work (after resetting the Huzzah) but when I tried to bootload again and upload the Wifi-connectivity sketch from that same tutorial, it just says:
Code: Select all
Serial port COM10
Connecting........_____....._____....._____....._____....._____....._____.....____Traceback (most recent call last):
File "[path]\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2/tools/upload.py", line 25, in <module>
esptool.main(fakeargs)
File "[path]/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 2653, in main
esp.connect(args.before)
File "[path]/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool\esptool.py", line 468, in connect
raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
_
the selected serial port _
does not exist or your board is not connected
Any help would be greatly appreciated.