Recently in the WiFi module, found that the Web SDK development of little information, found a set of video tutorials, but the presenter of the lecture style is unbearable. Students interested in SDK-based development can build a development environment through eclipes on Ubuntu systems through this post.The process can be divided into two steps:1. Download and compile the SDK2, Configuration EclipesFirst,
Always want to engage in smart home aspects of things, smart home can not be separated from the network control, before a period of time arduino+esp8266 solution, found that this way stability is poor, often appear communication errors and transmission problems, access to some information, Discover the ESP8266 module inside itself can do some simple processing, and then began the
Using the SDK based on Nonos, Link: http://wiki.ai-thinker.com/esp8266/sdk
1. Download Resources
①, official website Download:Links: https://pan.baidu.com/s/1skRvR1j#list/path=/parentPath=/
②, on-line search for the integrated version of resources:Links: Https://pan.baidu.com/s/1c1WRp1A(Alternate Link: https://pan.baidu.com/s/1i4YjWUx Password: 058j)
Note: There
Remember a painful lesson, remember to save the file instantly. (This time not lost, but not build). Remember, remember that eclipse must be ctrl+s and clean before build. 1, the purpose of the experiment
Learn about the STA mode operation method developed by SDK and familiarize yourself with relevant API functions. 2. Function Interpretation
1, Wifi_get_opmode
Can be said to be very clear, then we will take a look at our module mode now.
/
* * USER
Today it took nearly a day to study ESP8266 's smartconfig function, which should be considered as standard for WiFi cloud products. This article first smartconfig operation, and later I write an article to comb the physical layer of the specific protocol. Reprint Please specify: http://blog.csdn.net/sadshen/article/details/46883245First, prepareESP8266 's current sdk_v1.2.0 supports smartconfig. Will Esp_iot_sdk_v1.2.0\examples\smart_config\ Directo
module, send the data before sending instructions, so that the module automatically forwardedAlthough it is set, but it seems not possible ....But it seems like a change of command.At+savetranslink=1, "192.168.4.2", 8080, "TCP"It seems to have been modified, and has been made to save the mode, the power outage will also save the settings,The new version of the AT command seems to be done specifically to save the settings inside the module, set up the next time the power automatically work, not
Alios-things supports several debugging methods, specific functions and the use of reference link to address
Https://github.com/alibaba/AliOS-Things/wiki/Debugging-Overview.zh
Today we focus primarily on the opening of CLI debugging and the addition of CLI functions.
1, modify the ENTRY.C code in the kinit variable cli_ebable value is 1
Static kinit_t kinit = {
. argc = 0,
. argv = NULL,
. cli_enable = 1
};
The "entry.c" file is located in "xxx\alios-things\platform\mcu\
ESP8266 WIFI module Burn write upgrade firmware
http://cckyz.blog.163.com/blog/static/13706603520150282355569/
When you want to get started with the ESP8266 WIFI module burning, you must be getting a headache from a bunch of help files. And then bask in how I burn the firmware, hoping to help you to relieve the effect. :) Burn Write Step 1, connect the GPIO0 through the 1K resistor to GND 2, connect the C
One, the development environment constructs
At present, most developers in China are using winxp/win7/windows xx to do MCU development. Accustomed to the development of Windows environment friends, if once a contact to the MCU need to be a Linux environment for the development of compiling, the first response is, of necessity, "concubine can not do." For example, our protagonist ESP8266 this chip, the original supply is based on Linux development (the
firmware, at+ciupdate stop, At+cldota will not upgrade. 3. Use the Burn tool to burn 0.0.0.6 firmware, which can be used normally. 4. For 4MByte Flash, no damage is done to the Aicloud parameter. BUG: 1. For 1MByte Flash, when upgrading to User2, the Aicloud parameter will be erased, causing the firmware to be unavailable.2, download espressif technology flash download software and see how much you are flash3. Select your own bin file corresponding to the Flash size click StartNote Update t
We've got 10,000 things to do every day.
But don't miss a little time
Learn a little bit about what the smart cloud is doing
What is gokit-soc-esp8266.
GOKIT-SOC-ESP8266 is the Smart Cloud (gizwits) launched the IoT Intelligent Hardware Development platform (third generation) to help traditional hardware quickly access the Internet. When the network is complete, the data can be interconnected between th
: Server-side Error-Server failed to implement legitimate request
After starting to compare to their own HTTP request format, found the problem, the data and request must be a separate line to identify, the problem finally resolved.
Attached below is the complete code for the HTTP client side of the esp8266 module
#include To sum up, the esp8266 module and the server to establish an HTTP connection and esta
Uart-wifi Module ESP8266
Because it is only a module, not a complete development board, so you need to connect the peripheral circuit. The trial process encountered a lot of trouble, here all record.
1. Confirm Hardware Version
Since the ESP8266 version has been updated, so you need to confirm the PCB version.
Features: The middle four IO ports are wired to connect out.
2. Hardware connection
If confirma
"The hottest discovery" free cloud service Platform, AP pass through, Web Pass, esp8266,hex format data, Android One-click ConfigurationToday, leisure, release a free cloud server for everyone to test, first, see how to use it.1. Download the Esp8266 firmware and its download tools from the attachment first, asLink: Http://pan.baidu.com/s/1jI8iIwA Password: q6yz2. Open the Burn-write tool, select 0x0000 and
Set the name and password of the WiFi module (AP mode)At+cwsap= "ESP8266", "1234567890", 5,3
This module can operate in three modes: 1. STA 2. AP 3. Ap+sta, factory set to the third type
STA mode: Station, similar to the wireless terminal, the STA itself does not accept wireless access, it can connect to the AP, the general wireless network card is working in the mode. At+cwmode=1/2/3
The following is an example of establishing a TCP server as a
download and operation status of the 4-bit control module of the above dial switch. The ESP-01 has 8 pins , and the 4 pins are deducted from the VCC GND RST ch-pd , leaving 4 a foot is available. IO0 status Indication, TX RX do the serial transceiver debugging, so now there is only one IO2 for functional testing. Second, compileEspressif's compilation environment integrates the required tools,Lubuntu or relatively small, ordinary computers can easily bring up, the usual development of our com
Test using tools:WiFi Module Model: ESP8266https://item.taobao.com/item.htm?spm=a1z10.1-c.w137712-175513579.2.btbD9Xid=520305709648Usb-ttl Debug Tool: CP2102https://item.taobao.com/item.htm?spm=a1z10.3-c.w4002-175517240.14.8HGQU4id=39481188174Connection method:(Here is the TTL directly debug ESP8266, do not need to connect the Arduino main control board, then may affect the communication)CP2102 ESP8266 Expa
Test using tools:WiFi Module Model: ESP8266https://item.taobao.com/item.htm?spm=a1z10.1-c.w137712-175513579.2.btbD9Xid=520305709648Usb-ttl Debug Tool: CP2102https://item.taobao.com/item.htm?spm=a1z10.3-c.w4002-175517240.14.8HGQU4id=39481188174Connection method:(Here is the TTL directly debug ESP8266, do not need to connect the Arduino main control board, then may affect the communication)CP2102 ESP8266 Expa
NODEMCU's documentation finally found that ESP8266 's GPIO 2 is indeed a PIN 4,gpio 0 is pin 3. Https://github.com/nodemcu/nodemcu-firmware/wiki/nodemcu_api_cn In other words, this API is not for the Earth people to see. According to the instructions, Net.createserver returns the Server, in fact, if using UDP, according to the code inside you do not work out. Finally found the answer in the Www.esp8266.com forum, the content of this article is to des
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.