Difference between revisions of "SunFounder ESP8266"
(Created page with "SunFounder ESP8266 Introduction ESP8266 is a highly integrated chip designed for the needs of a new connected world. Its AT instruction can check and control the IO ports an...") |
(No difference)
|
Revision as of 01:33, 4 March 2017
SunFounder ESP8266 Introduction
ESP8266 is a highly integrated chip designed for the needs of a new connected world. Its AT instruction can check and control the IO ports and check the ID of the chip. The module supports three modes including AP, STA and AP+STA. When the AT instruction is used, the baud rate is 115200 by default. In addition, we provide a testing software SerialAssistant For ESP8266 developed by SunFounder. The software can efficiently detect the ESP8266 module and get it to communicate with an ESP8266 chip. You can also download the ESP8266 APP to an Android phone and install to practice wireless control. Schematic Diagram (资料中提供) Features 1. Supports 3 modes: AP, STA, and AP+ATA. 2. Improves the concise and efficient AT instructions to make your creation easier. 3. Built-in TR switch, balun, LNA, power amplifier and matching network. 4. Provided with a testing software created by SunFounder which makes it efficient and convenient. Specifications Wireless standard: 802.11 b/g/n Serial/UART baud rate: 115200 bps Integrated TCP/IP protocol stack Input power: 3.3V Dimensions: 25.3 x15.3mm I/O voltage tolerance: 3.6V Max Regular operating current draw: ~70mA Peak operating current draw: ~300mA Power down leakage current: <10uA +19.5dBm output in 802.11b mode Flash memory storage: 1MB (8Mbit) WiFi security modes: WPA, WPA2 Test We offer two options for test software: the ESP8266 APP for Android phones and the SerialAssistant For ESP8266 on PC. ESP8266 APP 1. Install the ESP8266 APP on a cell phone running on Android. 2. Download the application at this link: https://www.sunfounder.com/wiki/index.php?title=File:ESP8266_apk.zip. Connect the VCC and GND of the ESP8266 module to the positive and negative poles of the 3.3V power source, EN to 3.3V, IO2 to the cathode of an LED and then to a 1K resistor that connects to the 3.3V. Then power on the ESP8266 module. Note: The 3.3V output pin on the Uno is the 3.3V power source here (see the figure at the Step 5 below). 3. Go to the WiFi management interface on your phone (Android) and you can see a network named SUNFOUNDER. Tap Connect; the original password is 123456789.
4. After the connection works, open the ESP8266 APP and tap the button Search device. If the device is found, a prompt message will appear at the bottom.
5. Tap the bulb icon for LED control in the app. Then you can see the LED connected to IO2 on the ESP8266 module brighten, so does the bulb, as shown below. Also the data at the bottom box will change from "LED is off!" to "LED is on!".
Before (LED of)
After (LED on) SerialAssistant For ESP8266 The SerialAssistant For ESP8266 software is developed by SunFounder for ESP8266 module control on PC. Internally many instruction channels have already ben embedded so you can just click the buttons to inquire data from and control the module by instructions accordingly, which is efficient, convenient, and easy to use. Note: The software should be run under a .NET Framework 4.0 or higher frame. Note: An FTDI module is needed in this experiment. You can check this one if you haven't any at hand: https://www.sunfounder.com/sf-ftdi232r.html.
First, connect the wires: Power Source ESP8266 FTDI 3.3V 3.3V / 5V EN / / GND GND / RXD TXD / TXD RXD
Next, connect the FTDI module to the computer via a USB cable. Then open the SerialAssistant For ESP8266 software. Select the correct port and proper baud rate, click Open, as shown blow.
After the connection is successful, you can inquire data from and configure the parameters of the ESP8266 by the instruction buttons as shown in the following figure. For example, modify AP SSID and AP Password. Originally, AP SSID: SUNFOUNDER, change it to SUNFOUNDER2; and AP Password: 123456789 to 1234567890. Then click Configure AP and the setting will work, as shown below:
Also you can test other AT instructions. The software has packaged the instructions into buttons, so you can complete the settings for ESP8266 conveniently.