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 confirmation is the hardware version above, then its hardware connection diagram is this:
My actual effect diagram:
3.USB switch Serial (TTL) selection
I'm using a pl-2303hx. Note: External power supply is required.
4. Serial Debugging assistant Configuration
Baud Rate: 115200,
5. View the Power information
After the power, the serial port will receive "garbled + ready", garbled is due to just on the electricity caused. " The output "ready" represents a normal boot. There is no information at all it is possible that the hardware rxd and txd the reverse.
6. Implementation of the first command
Other questions:
1. After the power on the serial port without any output
The ch pins did not pull up high.
2. After the power system does not recognize the "USB to the serial port.
I encountered this problem because I was directly using the "USB to the 3.3V power supply to the"esp8266 module. The problem can be solved by using an external power supply for the "esp8266 module.
3. Error At+cwjap Error setting WiFi
This is really messy, the manual says: at+ cwjap =<ssid>,< pwd >. have been trying a lot of times is to reply to error. Finally on the http://www.electrodragon.com/w/ESP8266 see is at+cwjap= "You ssid", "Password" to succeed, quotes must be.
Other content: Uart WiFi application
Mail received such a requirement:
Seeing that you have answered questions about the WiFi embedded module, our company has a product plan to use the WiFi embedded module.
Mainly want to use in household portable blood glucose meter, sphygmomanometer, ECG instrument.
About WiFi embedded module this piece, hope to get your support and help.
The first thought of the "wifi module was" the usual WiFi module on the phone, soon selected a number of the various advantages and disadvantages, ready to further ask the demand: 1. The main control MCU is what type; 2. need not need to integrate with other functions (such as BT) 3. What work to do schematic diagram PCB Mass production.
But the customer directly said a ESP8266 of the UART interface of the WiFi module, and will have several features small/low/uart general interface. I haven't used any of the previous plans, UART WiFi I haven't contacted. Start to learn from the user's perspective.
Probably understand ESP8266 running is not necessarily the operating system, there may be directly in the form of bare-metal LWIP protocol, the user is in the form of UART as the interface. You can connect the AP to the Internet by operating the module via a serial port. Connect the Internet can be implemented after more functions, the document describes a TCP protocol that can directly use the transport layer to transmit data, although it is not yet known how much support is available for the application tier protocol, but it has been determined that the TCP protocol can communicate with other Internet devices.
"Blood glucose meter + wifi"==>"hotspot"==>"Internet"==> Server/other device