Page 1 of 1

AT Test on ESPWiFi Shield Rev2.0 Does Not Produce Any Result

PostPosted: Mon Aug 13, 2018 10:23 am
by tkttan
Hi, good day moderator!

Based on ESPWiFi Shield Rev2.0 User Manual Index 7 https://docs.google.com/document/d/1LFCe6MTNQh_0EBHRgc0f6n_hDLNUG8sFuM53oBJG8eE/view#bookmark=id.vhl5eri354sx, Arduino Serial Monitor does not return any result after I enter "AT" command.

I am using the following hardware:
1. Arduino Uno Maker
2. ESPWiFi Shield Rev2.0

Pictures link:
1. Hardware setup: https://drive.google.com/file/d/18H5-Zbvn2DO4h68lFU68vrf96yhUvz9I/view?usp=sharing
2. Laptop Window 10 port configuration: https://drive.google.com/file/d/1JDYgevEBs3ZqiEtm3FimdMdLfwdAfSr-/view?usp=sharing
3. Arduino Serial Monitor Configuration: https://drive.google.com/file/d/1PqLgZtFrfd4kHEgXJ_tT5Ie3lExDx-ko/view?usp=sharing

My question is: Is the WiFi Shield is faulty since from the factory?

Your prompt reply is highly appreciated.

Regards,
Tan
4th-year Software Engineering student

Re: AT Test on ESPWiFi Shield Rev2.0 Does Not Produce Any Re

PostPosted: Tue Aug 14, 2018 12:11 pm
by ZaM
Hi,

To communicate with Shield-wifi thru USB-USB setting, you need to make sure the controller not use D0,D1 port.
To confirm your Arduino in idle mode, you can put BLANK sketch, press reset button or put a jumper wire between RESET terminal and GND terminal.

Re: AT Test on ESPWiFi Shield Rev2.0 Does Not Produce Any Re

PostPosted: Wed Aug 15, 2018 8:46 am
by tkttan
Thank you for your reply, please bear with me of my low knowledge in electronic field.

To communicate with Shield-wifi thru USB-USB setting, you need to make sure the controller not use D0,D1 port.

Based on my hardware setup: https://drive.google.com/file/d/18H5-Zbvn2DO4h68lFU68vrf96yhUvz9I/view?usp=sharing, I think I did not use D0, D1 port since I selected USB for both RX and TX pins.

To confirm your Arduino in idle mode, you can put BLANK sketch, press reset button or put a jumper wire between RESET terminal and GND terminal.

After tried your suggested solution, serial monitor still does not show any response after AT keyword is entered.



Do I have to install firmware for this wifi shield once I received from factory?

Re: AT Test on ESPWiFi Shield Rev2.0 Does Not Produce Any Re

PostPosted: Sun Aug 19, 2018 12:03 pm
by bengchet
Hi,

Make sure settings is followed.
- Upload a blank sketch to Uno board.
- Put jumper to USB-USB on WiFi shield.
- Make sure toggle switch is switched to RUN mode.
- Make sure first 3 steps are completed, then you can stack the WiFi shield onto Uno board. Plugin USB cable to power Uno board.
- After plugin USB cable, select correct com port and open Serial monitor. 9600 and Both NL and CR.

After serial monitor is opened, first you can press esp-reset button multiple times to check if there is any message shown in serial monitor. If yes, you try enter some AT commands to see if there is any result.

If it is not working, try this alternative.
- Put jumper to D2 and D3
- Upload ESP8266 Serial Passthrough sketch to Uno board.
- Make sure toggle switch is switched to RUN mode.
- Open serial monitor with 9600 baud and Both NL and CR.
Again you can press esp reset button multiple times to check if some message appear on serial monitor. Can try to enter AT commands as well.

Re: AT Test on ESPWiFi Shield Rev2.0 Does Not Produce Any Re

PostPosted: Mon Aug 20, 2018 2:35 pm
by tkttan
Hi beng chet,

I tried both the ways you mentioned above.

When I press reset button, serial monitor will show alien language. However, I will never get any result of "OK" once I entered AT command.

Re: AT Test on ESPWiFi Shield Rev2.0 Does Not Produce Any Re

PostPosted: Tue Aug 21, 2018 9:25 am
by Idris
Hi tkttan,

For the 2nd method (alternative) mentioned by bengchet, could you try this code:

CODE: SELECT_ALL_CODE
#include <SoftwareSerial.h>
#define ESP_RX  3
#define ESP_TX  2
SoftwareSerial espSerial(ESP_TX, ESP_RX);

void setup()
{
  Serial.begin(9600);
  espSerial.begin(9600);
}

void loop()
{
  if (Serial.available()) {
    espSerial.write(Serial.read());
  }

  if (espSerial.available()) {
    Serial.write(espSerial.read());
  }
}


Thanks.