ESP-07 ESP8266 Serial Wifi Module (HCMODU0107)
This amazingly priced wireless module allows any microcontroller to connect to a 802.11b/g/n wireless network. This in turn provides your microcontroller project with the ability to request data from a server anywhere in the world via a suitable WiFI connection. Control of the module couldn't be simpler as it comes pre-flashed with a serial application allowing it to be controlled via simple 'AT' serial (115200 baud default) commands. The ESP8266-07 also features an on-board ceramic antenna as well as uFL connector allowing an external antenna to be connected (see item HCWILS0001).Please Note:
This module operates at 3.3V only. If interfacing to a 5V microcontroller level shifters should be used. For a suitable USB adapter see item HCMODU0051 Silicon Labs CP2102 3.3V USB to UART Serial Interface module.
Frequency: (ISM): 2.4GHz
Supported Wifi: 802.11 b/g/n
Operating voltage: 3.3V
Min Current (Sleep): 10mA
Max current (connected to 802.11b network): 215mA
EN (CH_PD).....Power down pin. Connect to 3.3V for normal operation
Additionally to configure the module to accept AT commands you should connect the following pin to GND via a pull-down resistor.
GPIO15....GND (LOW)AT Commands:
Default baud rate is 115200 baud. All commands must be terminated with both a cartridge return <CR> and line feed <LF>Example website request:
Open up a serial terminal connection to the module with a baud rate of 115200 BAUDReset the module so that it is in a known status:
ets Jan 8 2013,rst cause:1, boot mode:(3,6)
load 0x40100000, len 1856, room 16
load 0x3ffe8000, len 776, room 8
load 0x3ffe8310, len 552, room 8
2nd boot version : 1.5
SPI Speed : 40MHz
SPI Mode : DIO
SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000
Ai-Thinker Technology Co. Ltd.
readySet the mode to client:
OKList available WiFi networks:
OKConnect to your access point:
WIFI GOT IP
OKOpen a TCP connection to a website:
OKRequest a page (number of bytes includes a CR & LF):
The '>' signifies that the module is now expecting 30 bytes of data including a CF & LFSend a GET request for the page:
The module will now return the result of the request followed by an OK.Disclaimer: Libraries, example code, and diagrams are provided as an additional free service by Hobby Components and are not sold as part of this product. We do not provide any guarantees or warranties as to their accuracy or fitness for purpose.
Descriptions and diagrams on this page are copyright Hobby Components Ltd and may not be reproduced without permission.