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

Bluetooth, XBee, RF......

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

Postby tkttan » Mon Aug 13, 2018 10:23 am

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
tkttan
Freshie
 
Posts: 5
Joined: Mon Aug 13, 2018 9:46 am

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

Postby ZaM » Tue Aug 14, 2018 12:11 pm

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.
ZaM
Moderator
 
Posts: 78
Joined: Tue Nov 23, 2010 4:16 pm

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

Postby tkttan » Wed Aug 15, 2018 8:46 am

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?
tkttan
Freshie
 
Posts: 5
Joined: Mon Aug 13, 2018 9:46 am

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

Postby bengchet » Sun Aug 19, 2018 12:03 pm

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.
bengchet
Moderator
 
Posts: 237
Joined: Tue Aug 25, 2015 8:29 am

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

Postby tkttan » Mon Aug 20, 2018 2:35 pm

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.
tkttan
Freshie
 
Posts: 5
Joined: Mon Aug 13, 2018 9:46 am

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

Postby Idris » Tue Aug 21, 2018 9:25 am

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.
Cytron Technologies invest time and resources providing tutorial, training and support for STEM education and maker movement. We need your support by purchasing products from Cytron Technologies. Thanks.
http://www.cytron.com.my
User avatar
Idris
Moderator
 
Posts: 409
Joined: Thu Mar 22, 2012 5:28 pm
Location: Pulau Pinang


Return to Wireless Device

Who is online

Users browsing this forum: No registered users and 18 guests

cron