0 votes
in ESP8266 WiFi Color Kit by (290 points)
edited by

I'm attempting to get the Color Weather Station sketch to load and getting stuck at the connecting/connected screen. This is the first time I've used this board after assembling it.

I've setup the Arduino IDE, downloaded the appropriate libraries and configured the environment as suggested and successfully compiled and uploaded the sketch. The wifi parameters appear to be correct and I've double checked the values.

The AP is set for 802.11n 5 GHz.

I can see in my router management software that the device is connecting and receiving a DHCP assigned IP within the expected range: 


My problem appears to be similar to this post: Cannot get Wemos D1 Mini Pro to connect to wifi. Unfortunately I don't have another board to test this with as was the solution.

Any suggestions are greatly appreciated.

10Aug 21:53 Update

I noted that 5GHz was not supported and switched over the AP to 2.4GHz 802.11n (802.11b/g compatible). That appears to get a step further now as the progress bar is now completely filled and "Connecting" switches to "Connected" before rebooting again.

by (19.9k points)
What is the feedback you are getting on the serial console (Tools -> Serial Monitor)? I have a hunch but I'd like confirm whether I'm on the right track.
by (290 points)
edited by
It appears to be garbage to me:

23:52:47.712 -> ⸮⸮!⸮(⸮)⸮⸮⸮⸮⸮⸮8⸮)⸮⸮!⸮⸮⸮ń⸮!⸮⸮!⸮⸮⸮!⸮⸮!⸮r_⸮⸮!⸮L⸮<1⸮1⸮⸮⸮⸮)⸮⸮sȊ⸮⸮)⸮⸮⸮⸮⸮⸮
23:53:00.126 -> _RLSB!⸮⸮!⸮⸮շ⸮⸮1⸮!⸮!⸮⸮⸮)⸮⸮JC⸮SR⸮1⸮1⸮⸮⸮⸮)⸮⸮⸮!⸮(⸮)⸮⸮⸮⸮⸮⸮)⸮⸮⸮!⸮⸮⸮ńZ⸮⸮⸮⸮)n⸮⸮⸮!⸮!k⸮⸮⸮⸮!⸮⸮⸮⸮1⸮1⸮⸮⸮⸮)⸮⸮⸮⸮!⸮(⸮)⸮
23:53:17.989 -> ⸮⸮J!⸮⸮
23:53:17.989 -> ⸮X⸮!⸮ȅR⸮⸮)⸮⸮⸮)⸮⸮⸮!⸮⸮!⸮⸮⸮!C⸮L⸮<1⸮1⸮⸮⸮⸮)⸮

EDIT: After setting the baud rate to 115200 I see the following (also changed network to 802.11n b/g compatible mode):
23:58:17.101 -> Connecting to WiFi Shackleton 5GHz/PASSw0Rd
23:58:17.847 -> .......Connected...Initializing touch screen...
23:58:22.532 -> ISR not in IRAM!
23:58:24.888 ->
23:58:24.888 -> Abort called
23:58:24.888 ->
23:58:24.888 -> >>>stack>>>
23:58:24.888 ->
23:58:24.888 -> ctx: cont
23:58:24.888 -> sp: 3ffffd90 end: 3fffffc0 offset: 01b0
23:58:24.888 -> 3fffff40:  009c1001 3ffef758 3ffef758 4020a565  
23:58:24.888 -> 3fffff50:  3ffe8fe1 fffef758 00000000 3ffef874  
23:58:24.922 -> 3fffff60:  3fffdad0 000000ff 3ffe8534 401004be  
23:58:24.922 -> 3fffff70:  014000f0 3ffef758 3ffe8534 4020531c  
23:58:24.922 -> 3fffff80:  3fffdad0 3ffef758 3ffef4d0 40201cdc  
23:58:24.922 -> 3fffff90:  feefeffe feefeffe feefeffe feefeffe  
23:58:24.922 -> 3fffffa0:  3fffdad0 00000000 3ffef844 4020bfa8  
23:58:24.922 -> 3fffffb0:  feefeffe feefeffe 3ffe859c 401007a9  
23:58:24.922 -> <<<stack<<<
23:58:24.960 ->
23:58:24.960 ->  ets Jan  8 2013,rst cause:2, boot mode:(3,7)
23:58:24.960 ->
23:58:24.960 -> load 0x4010f000, len 1384, room 16
23:58:24.960 -> tail 8
23:58:24.960 -> chksum 0x2d
23:58:24.960 -> csum 0x2d
23:58:24.960 -> v8b899c12
23:58:24.960 -> ~ld
23:58:25.027 -> 15
by (19.9k points)
This doesn't look like you set baud to 115'200 in the monitor?
by (290 points)
just realized my mistake and fixed the baud rate. see comment above.

2 Answers

+1 vote
by (19.9k points)
selected by
Best answer

Based on your other Q you seem to be using ESP8266 Arduino-core 2.5.2 (...hardware/esp8266/2.5.2/...) . The ISR not in IRAM on the console confirms you're affected by this known issue: https://github.com/PaulStoffregen/XPT2046_Touchscreen/pull/24

Note that at https://docs.thingpulse.com/guides/wifi-color-display-kit/#install-the-esp8266-toolchain we advise to use 2.4.2. Downgrading will fix this one.

by (290 points)
Thank you for your help. This resolved several issues I was having.
by (19.9k points)
Happy to help. In case you have a GitHub account I would appreciate if you could leave a comment at that pull request to "motivate" the maintainer to finally release the fix he committed several weeks ago.
by (290 points)
I just dropped a +1 in the discussion. Hopefully the maintainer will update the code soonish.
0 votes
by (600 points)
The HOSTNAME is now 32 chars after they added -color to it. Remove at least 1 char from the HOSTNAME in settings.h and it will connect.

Welcome to ThingPulse Q&A, where you can ask questions and receive answers from other members of the community.