ESP8266 WiFi Shield V2 : Error Talking to Shield

Talk about Arduino board, sheilds. Sharing Arduino projects, program, problems, solutions, suggestions..... many more, all are welcome.

ESP8266 WiFi Shield V2 : Error Talking to Shield

Postby pete.hollyer » Mon Sep 20, 2021 9:28 am

My ESP8266 WiFi Shield came today. I purchased Via Amazon. I have NEVER had "any" luck with these WiFi UNO Shields; I hoped my luck would change with yours. I Attached it to my Cytron UNO, to be safe and uploaded the "demo" sketch, watching my Serial Monitor, my heart sank when it read "Error talking to Shield"
I've tried setting the UNO to 3.3Volts and 5 volts, Uploading blank sketch, the demo sketch, I've changed jumpers to 8 & 9, No Jumpers, Blank Sketch to UNO THEN attached board and then uploaded sample sketch, I put jumpers back to 2 & 3, the tried each and EVERY sample sketch in library....Still all I get is "Error talking to shield"
Got and Ideas for me? Aside from returning it?

<<Update>>

After posting the above I decided to update the firmware!
This went without issue...Here are the final stems captured by the Serial Monitor...Hmmm It will NOT let me copy it! Crap.
Well it worked Perfectly, upgraded to Bin Version 2.2.0(Cytron ESP-12F WROOM-02
I the reloaded the WiFi Demo Sketch...and...
Error Talking to Shield

Ideas Anyone?
pete.hollyer
Freshie
 
Posts: 7
Joined: Sun Sep 19, 2021 3:54 am

Re: ESP8266 WiFi Shield V2 : Error Talking to Shield

Postby waiweng83 » Wed Sep 22, 2021 5:37 pm

Can you please try out the following?

1. Upload the "Blink" example to the Arduino.
2. Make sure the slide switch is at "Run" and change the Tx Rx jumpers to "USB".
3. Open the Serial Monitor, select baud rate 115200 and "Both NL & CR".
4. Type "AT" and enter.

Do you get any respond?
If not, please try again with baudrate 9600.
With the power of dream, nothing is impossible...
User avatar
waiweng83
Moderator
 
Posts: 205
Joined: Wed Apr 15, 2009 2:17 pm

Re: ESP8266 WiFi Shield V2 : Error Talking to Shield

Postby pete.hollyer » Thu Sep 23, 2021 1:40 am

Loaded Blink Sketch. From Examples->Arduino->Basic->Blink
Now this sketch does Not Initialize Serial.
Changed Jumpers to USB & USB
Setting Arduino Serial Monitor to 115200 & Both NL & CR
Un plugged Arduino, Waited 15 seconds. Plugged IN Arduino
Immediately, brought up Serial monitor Entered AT {Enter} got Gibberish
Changed Baud to 9600
Entered AT {Enter} Got 'ERROR'
Waited a Moment or two
Entered AT {Enter} Got 'OK' as Response
Waited a Moment or two
Entered AT {Enter} Got 'OK' as Response
Waited a Moment or two
Entered AT {Enter} Got 'OK' as Response
Entered AT+GMR {Enter} got :

AT+GMR
AT version:2.2.0.0(b097cdf - ESP8266 - Jun 17 2021 12:57:45)
SDK version:v3.4-22-g967752e2
compile time(6800286):Aug 4 2021 17:34:06
Bin version:2.2.0(Cytron_ESP-12F_WROOM-02)

All looks good to me. I guess the first (9600 baud) AT was a little early, to close to Power ON
pete.hollyer
Freshie
 
Posts: 7
Joined: Sun Sep 19, 2021 3:54 am

Re: ESP8266 WiFi Shield V2 : Error Talking to Shield

Postby waiweng83 » Thu Sep 23, 2021 9:32 am

Seems like there isn't any problem with the shield. Could you please try again with the Arduino library?
Please use software UART in this case as the hardware UART is already occupied by the USB to UART.
With the power of dream, nothing is impossible...
User avatar
waiweng83
Moderator
 
Posts: 205
Joined: Wed Apr 15, 2009 2:17 pm

Re: ESP8266 WiFi Shield V2 : Error Talking to Shield

Postby pete.hollyer » Thu Sep 23, 2021 10:44 am

I'm Confused. If Jumpers are both still set to USB, How can I use SoftwareSerial, to get a software UART? What Ports do I use?
I've tried several examples from Wifiesp library, all failed.
I tried Wifi101 and it kicked back "WiFi shield not present"

Pete
pete.hollyer
Freshie
 
Posts: 7
Joined: Sun Sep 19, 2021 3:54 am

Re: ESP8266 WiFi Shield V2 : Error Talking to Shield

Postby waiweng83 » Thu Sep 23, 2021 10:58 am

You need to switch the jumper to the corresponding pin.
By default, we use D2(Rx) and D3(Tx).
With the power of dream, nothing is impossible...
User avatar
waiweng83
Moderator
 
Posts: 205
Joined: Wed Apr 15, 2009 2:17 pm

Re: ESP8266 WiFi Shield V2 : Error Talking to Shield

Postby pete.hollyer » Fri Sep 24, 2021 9:40 am

Put jumpers in position 3, RX=2 TX=2

Using WiFiESP library

1) running a ScanNetworks Sketch
[WiFiEsp] Initializing ESP module
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] Cannot initialize ESP module
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] No tag found
WiFi shield not present

2) running WebClient Sketch
[WiFiEsp] Initializing ESP module
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] Cannot initialize ESP module
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] No tag found
WiFi shield not present

Using Cytron Library

1) CytronWifiDemo

Error talking to shield

Using SerialESP8266wifi

104 Framing Error
pete.hollyer
Freshie
 
Posts: 7
Joined: Sun Sep 19, 2021 3:54 am

Re: ESP8266 WiFi Shield V2 : Error Talking to Shield

Postby waiweng83 » Fri Sep 24, 2021 9:58 am

Are you using the latest version of Cytron ESP WiFi Shield library (v3.0.2)?
Pls only modify the SSID and WiFi password, then try and see.
With the power of dream, nothing is impossible...
User avatar
waiweng83
Moderator
 
Posts: 205
Joined: Wed Apr 15, 2009 2:17 pm

Re: ESP8266 WiFi Shield V2 : Error Talking to Shield

Postby pete.hollyer » Sat Sep 25, 2021 10:05 am

Holy SH-T!!

That was IT! i HAVE no IDEA how I originally downloaded the wrong library, but I CLOSED Arduino, deleted the library, then downloaded the library fresh from link on product page. The Launched Arduino, installed from ZIP, and brought up the Example sketch; and it worked !!!

THANKS!
Pete
pete.hollyer
Freshie
 
Posts: 7
Joined: Sun Sep 19, 2021 3:54 am

Re: ESP8266 WiFi Shield V2 : Error Talking to Shield

Postby waiweng83 » Tue Sep 28, 2021 11:56 am

It's great to hear that. Thanks for letting us know.
Happy making :)
With the power of dream, nothing is impossible...
User avatar
waiweng83
Moderator
 
Posts: 205
Joined: Wed Apr 15, 2009 2:17 pm


Return to Arduino Based

Who is online

Users browsing this forum: No registered users and 14 guests

cron