Quantity | 3+ units | 10+ units | 30+ units | 50+ units | More |
---|---|---|---|---|---|
Price /Unit | $7.99 | $7.82 | $7.58 | $7.25 | Contact US |
New itead Arduino ESP8266 Wee Wifi Wireless Module for Arduino with Wifi Remote Controller Course
Description:
Wee is a WIFI module based on ESP8266 SoC. ESP8266 comes out of nowhere and has been taking by storm the IoT world. You can find many hacking projects about it on the internet. So far, the most popular ESP8266 breakout version only has GPIO0 and GPIO2 routed to the header. Compared to it, Wee WIFI module is designed with a standard Bee interface and has more GPIOs available for developers. In a word, users can take full use of the utility of ESP8266 SoC by using Wee WIFI module in your projects.
Features:
- Standard Bee interface
- indicators: TX, RX, PWR
- FW/Work Switch
- More GPIOs help developer take full use of the utility of ESP8266 SoC
Specification:
- PCB Size: 23.9X26.2X1.6mm
- Interface: Bee interface
- Indicators: PWR, TX, RX
Note:
- Work/FW Switch
When burn firmware into ESP8266, you should ensure the switch is in FW mode.
For the normal usage of this module, you should ensure the switch is in work mode.
Note:
- Firmware enable pin
When set to 0, power or reset the wee module, you can access to the firmware uploading mode;
When set to 1, power or reset the wee module, you can access to the normal work mode
Library files and code download:http://pan.baidu.com/s/1mgzT7x2
Phone APK download: http://pan.baidu.com/s/1nt7ND6x
Code:
#define SSID "ITEAD_2" //type your own SSID name
#define PASSWORD "itead2468" //type your own WIFI password
#include "uartWIFI.h"
#include "SoftwareSerial.h"
WIFI wifi;
extern int chlID; //client id(0-4)
void setup()
{
pinMode(6,OUTPUT); /// If using mega and does not change the cable,then it should be D24 pin
wifi.begin();
bool b = wifi.Initialize(STA, SSID, PASSWORD);
if(!b)
{
DebugSerial.println("Init error");
}
delay(8000); //make sure the module can have enough time to get an IP address
String ipstring = wifi.showIP();
DebugSerial.println(ipstring); //show the ip address of module
delay(2000);
wifi.confMux(1);
delay(100);
if(wifi.confServer(1,8080))
DebugSerial.println("Server is set up");
}
void loop()
{
char buf[100];
int iLen = wifi.ReceiveMessage(buf);
if(iLen > 0)
{
if (strcmp(buf, "CH0ON") == 0)
{
digitalWrite(6,HIGH); // If using mega and does not change the cable,then it should be D24 pin
DebugSerial.println("CH0ON");
}
if (strcmp(buf, "CH0OFF") == 0)
{
digitalWrite(6,LOW); /// If using mega and does not change the cable,then it should be D24 pin
DebugSerial.println("CH0OFF");
}
}
}
Package included:
- 1 x Wireless Module