background image

 

ROBOT   .   HEAD   to   TOE 

Product   User’s   Manual   –   ESPWiFi   Shield   Rev2.0  

 

 

7.0   GETTING   STARTED 
 
This   section   will   show   examples   of   using   ESPWiFi   Shield   together   with   Arduino   Board   to  

1) perform   AT   test   ­   basic   module   testing   by   sending   AT   commands 
2) create   a   simple   WiFi   server 

 
7.1   AT   Test 

1. Stack ESPWiFi Shield onto compatible Arduino Board. For this example, Arduino

 

 

 

 

 

 

 

 

 

 

 

Uno   is   used. 

2. Select  USB for both RX and TX pins.  

**Note: This setting is only for entering AT

 

 

 

 

 

 

 

 

 

 

   

 

 

 

 

command.

 

3. Make   sure   the   slide   switch   is   switched   to    RUN    mode.

 

 

4.

**Note:  

For AT Test, connect RST pin to GND using jumper wire. (Another

 

 

 

 

 

 

   

 

 

 

 

 

alternative, upload an empty sketch to Arduino main board before stacking

 

 

 

 

   

 

 

 

 

 

ESPWiFi   Shield   onto   Arduino   board.) 

5. Connect   Arduino   board   to   PC   using   USB   cable. 
6. Open   Arduino   IDE.   Determine   which   COM   port   Arduino   Uno   is   connected   to   and 

configure   the   port   settings   under   menu   Tools   ­>   Port. 

7. Open   and   set   up   Arduino   Serial   Monitor   with   settings   below. 

● 9600   Baud 
● Both   NL   &   CR 

8. Figure   below   shows   sending   “AT”   using   Arduino   Serial   Monitor.   If   the   result   returns 

“OK”,   it   means   you   have   successfully   communicate   with   the   ESP8266   module   on 
ESPWiFi   Shield,   AT   test   is   successful.   User   can   also   try   out   other   AT   commands   like 
AT+GMR,   etc. 

 

Created   by   Cytron   Technologies   Sdn.   Bhd.   –   All   Right   Reserved

 

10 

 

Summary of Contents for ESPWiFi Shield

Page 1: ...ROBOT HEAD to TOE Product User s Manual ESPWiFi Shield Rev2 0 ESPWiFi Shield SHIELD ESP WIFI Rev2 0 User s Manual V2 0 April 2016 Created by Cytron Technologies Sdn Bhd All Right Reserved 1...

Page 2: ...Index 1 Introduction 3 2 Packing List 4 3 Board or Product Layout 5 4 Dimension 7 5 UART Serial Communication 8 6 Hardware Installation 9 7 Getting Started 10 8 Firmware Installation 14 9 Warranty 14...

Page 3: ...crocontroller to create an even more powerful application together with Arduino boards ESP8266 WiFi shield has stackable side headers which allows more Arduino compatible shields to be stacked on top...

Page 4: ...PACKING LIST Please check the parts and components according to the packing lists If there are any parts missing please contact us at sales cytron com my immediately 1 1 x ESPWiFi Shield 2 2 x mini j...

Page 5: ...duino shield can be stacked on top of this stackable header 3 MicroSD card chip select CS Digital Pin 4 is used as chip select for MicroSD card Do not make any other connection to this pin 4 RX Pin Se...

Page 6: ...module run the installed firmware 9 ESP 3V3 GPIO breakout Pin breakout from ESP8266 GPIO consists of 9 Digital I O pins and 1 Analog Input pin All pins are 3 3V tolerant only 10 Prototyping Area Proto...

Page 7: ...ROBOT HEAD to TOE Product User s Manual ESPWiFi Shield Rev2 0 4 0 DIMENSION Created by Cytron Technologies Sdn Bhd All Right Reserved 7...

Page 8: ...Arduino boards UART Arduino Boards RX TX USB USB Arduino Uno Arduino Mega Arduino Leonardo D0 D1 Arduino Uno Arduino Mega Arduino Leonardo D2 D3 Arduino Uno only D8 D9 Arduino Uno Arduino Leonardo D10...

Page 9: ...eld can be used together with Arduino Uno Figure below shows example hardware connection between Arduino Uno and ESPWiFi Shield it is simply stacking up the shield onto the Arduino main board 1 Set TX...

Page 10: ...connect RST pin to GND using jumper wire Another alternative upload an empty sketch to Arduino main board before stacking ESPWiFi Shield onto Arduino board 5 Connect Arduino board to PC using USB cab...

Page 11: ...ld onto compatible Arduino Board For this example Arduino Uno is used 2 Select D2 for RX and D3 for TX pin 3 Make sure the slide switch is switched to RUN mode 4 Download CytronWiFiShield library from...

Page 12: ...password is abcd const char ssid WiFly const char pass abcd 9 Check the line wifi begin 2 3 1st argument for this function refers to RX of Arduino and 2nd refers to TX If D2 is selected for RX and D3...

Page 13: ...PWiFi Shield Rev2 0 14 If the webpage returns what have shown in the following figure the program is working For the example here IP address shown in Serial monitor is 192 168 1 242 Created by Cytron...

Page 14: ...stall new AT firmware to the module Hardware configuration 1 Stack the shield onto Arduino compatible board In this example Arduino Uno is used 2 Place both mini jumpers on USB selection 3 IMPORTANT C...

Page 15: ...wing line to start firmware installation flash sh the port Arduino Uno ESPWiFi shield connecting to E g flash sh dev ttyACM0 AT Test and some minor configuration 1 Open Arduino Serial Monitor Make sur...

Page 16: ...maged caused by misuse is not covered under warranty Warranty does not cover freight cost for both ways Prepared by Cytron Technologies Sdn Bhd No 16 Jalan Industri Ringan Permatang Tinggi 2 Kawasan I...

Page 17: ...ROBOT HEAD to TOE Product User s Manual ESPWiFi Shield Rev2 0 URL www cytron com my Email support cytron com my sales cytron com my Created by Cytron Technologies Sdn Bhd All Right Reserved 17...

Reviews: