-->
Page 1 of 7

How to connect: ESP8266 WiFiShield for Arduino Uno

PostPosted: Tue Dec 29, 2015 4:53 pm
by tip2tail
Hi there,

Posting in this forurum as it seems to be the most appropriate place for this. If not please let me know where to re-post (and sorry).

I have purchased an Arduino Uno compatible WiFi shield from eBay. It has an ESP8266 chip on it. I have put it on top of the Uno board and ran the demo sketch using the WiFiEsp library from https://github.com/bportaluri/WiFiEsp.

Unfortunately I get the errors ">>> TIMEOUT >>> ", "No tag found", "Warning: Unsupported firmware" and "WiFi shield not present"

I have taken some photos of the shield itself and the way I have it connected to the Uno. There are no additional wires - I wonder if im missing that I need to wire stuff up although I assumed that a shield connected simply by sitting it on top of the Arduino. Also I noted there is a 4-switch block on the shield labeled KXK. These switches are all in the "OFF" position - again whaether I need to use these I am not sure.

My intention is to have the WiFi shield / Arduino run as a server so I can send HTTP requests to it to monitor sensor inputs and control some relays as appropriate.

Hope this makes sense. The photos are posted here: https://goo.gl/photos/RGnUCbBmxdJwWQpf9

tip2tail

Re: How to connect: ESP8266 WiFiShield for Arduino Uno

PostPosted: Wed Dec 30, 2015 6:07 pm
by tip2tail
Hi again,

Some further tinkering today. I noticed that the underside of the ESP shield has pin IDs such as RX/TX etc. I have now wired the following:

Pins are wired to the Shield which is stacked on top of and passes through to the Uno.

Pin 0 to RX pin next to the ESP chip.
Pin 1 to TX pin next to the ESP chip.
GND to GND next to the ESP chip.
3.3V to breadboard for splitting and then to 3.3V pin next to ESP chip and CHPD pin next to ESP chip.

I have enabled debug logging in the Serial trace. Here is the output below:

Code: Select allOpening port
Port open
[WiFiEsp] Initializing ESP module
> wifiDriverInit
> reset
----------------------------------------------
>> AT+RST
[WiFiEsp] >>> TIMEOUT >>>
---------------------------------------------- > -1

----------------------------------------------
>> ATE0
[WiFiEsp] >>> TIMEOUT >>>
---------------------------------------------- > -1

> getFwVersion
----------------------------------------------
>> AT+GMR
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] No tag found
---------------------------------------------- >

Firmware version
[WiFiEsp] Warning: Unsupported firmware
----------------------------------------------
>> AT+CWMODE=1
[WiFiEsp] >>> TIMEOUT >>>
---------------------------------------------- > -1

----------------------------------------------
>> AT+CIPMUX=1
[WiFiEsp] >>> TIMEOUT >>>
---------------------------------------------- > -1

----------------------------------------------
>> AT+CWDHCP=1,1
[WiFiEsp] >>> TIMEOUT >>>
---------------------------------------------- > -1

> getConnectionStatus
----------------------------------------------
>> AT+CIPSTATUS
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] No tag found
---------------------------------------------- >

WiFi shield not present


As you can see - still no luck!!! Have I bought something that is useless? I really just need to be able to connect my Arduino to my WiFi so I can run a small web server that actions requests. If this is not the best product for me can anyone advise? If it is, how can I get it to work the way that it appears it should!

Thanks,
tip2tail

Re: How to connect: ESP8266 WiFiShield for Arduino Uno

PostPosted: Tue Jan 05, 2016 7:16 am
by TheTwim
Hi can you provide more information about the ESP Shield?
Where did you buy it?
What firmware is installed on it?
What are those 4 switches?

Regards

Re: How to connect: ESP8266 WiFiShield for Arduino Uno

PostPosted: Tue Jan 05, 2016 6:00 pm
by Gnetis
I seem to be in the same situation as 'tip2tail' and I have the exactly the same shield (at it seem from the pictures). This was the only thing provided to me anyway:

----
Description:
1. Standard pin interface to achieve full compatibility with the pitch Arduino Uno, Mega and so on. (Unless the standard size arduino, such as Nano, Mini)
2. 3.3V power supply using advanced chip (with the official expansion board power chip CC3000 same), so 3.3V Arduino board provided more accurate, so ESP8266 as official cc3000 chip work as normal, there is no gap.
3. It leads to a WiFi module power supply / service interface to facilitate developers to extend the power supply and maintenance.
4. Onboard ESP8266-12 stable industrial grade serial WiFi module, using an enhanced PCB antenna, signal better.
5. You can quickly switch DIP switch ESP8266-12 industrial grade WiFi stable operation mode (such as operating mode and upgrade mode) module, integrated serial chip, quickly flashing the firmware.
6. Built-in 5V to 3.3V TTL level converter to prevent high-pressure Arduino TTL level of the WiFi module damage.
7. Onboard ESP8266-12 stable industrial grade WiFi module with a metal shield, immunity to interference.
8. Onboard ESP8266-12 standard pitch leads to a stable industrial grade WiFi module all interfaces, enabling developers to easily develop deep.
9. Use stackable design, it can continue to accumulate above the other modules, easy to use.
10. Onboard four LED displays the status of ESP8266, namely PWR, DFU, AP, STA
-----

link: http://www.ebay.com/itm/ESP8266-ESP-12E ... SwiwVWTHMw

As for the firmware in ESP8266... don't know what is in it! Maybe that's the problem... it might be empty. Anyhow are there any guides for programming the firmware only using a Arduino uno? I don't have anything extra stuff for the ESP8266 card.