🎁📬❄️📦Adafruit Holiday Shipping Deadlines 2019: Please place all UPS 2 Day orders by 11am Monday, December 16 📦❄️📬🎁
0

Esp8266 won't connect to IO
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

Esp8266 won't connect to IO

by baoqiding on Wed Nov 13, 2019 4:15 pm

Hi - I'm following the instructions - https://www.instructables.com/lesson/Ci ... et-Action/
and can't get past "connecting to adafruit io........." when viewing serial monitor.

I triple checked everything, the sketch compiles and uploads fine. I tested my Feather Huzzah esp8266 board for wifi connection using the Adafruit wifi test sketch and was successful in connecting to the Adafruit web server.

I'm using the following re-installed libraries with the Adafruit io example publish.
Esp8266 Board manager 2.5.2(I have tried 2.6.0 and 2.4.2 but the file can't compile and upload)
Adafruit mqtt 1.03
Adafruit io 3.2.3 (tried 3.2.2)
Arduino http Client 0.4.0
Copied and pasted the wifi credentials and my user name/key
Correct WIFI name and password


Thank you in advance

baoqiding
 
Posts: 1
Joined: Wed Nov 13, 2019 3:46 pm

Re: Esp8266 won't connect to IO

by brubell on Thu Nov 14, 2019 10:53 am

baoqiding,

I just tried the code on my computer/esp8266 and it's able to connect to IO.

I'm using ESP8266 BSP 2.6.0 with:

Adafruit IO Arduino 3.2.2
Adafruit MQTT 1.0.3
Arduino HTTP Client 0.4.0
ESP8266WiFi 1.0.0

You mentioned that you "tried 2.6.0 and 2.4.2 but the file can't compile and upload". could you post a the output, including the compilation error, from 2.6.0?

In addition - Could you try compiling/uploading one of Adafruit IO Arduino's default examples (Arduino IDE -> Examples -> 00_publish)?

- brent r.

brubell
 
Posts: 649
Joined: Fri Jul 17, 2015 10:33 pm

Please be positive and constructive with your questions and comments.