ESP8266 brush at firmware and NODEMCU firmware

Source: Internet
Author: User

This is the use of this paragraph

Because this default is the firmware that supports the AT command, so we're going to brush Nodemcu's

First look at the wiring

GPIO0 default is operating mode (no wiring). If the next low level is the download mode (to the module brush firmware!!) ) So the low level is connected. CH_PD high level, the rest can not be wired except TX,RX.

The rest is actually almost the same as my article NODEMCU preliminary study

The first is to download the tools and firmware you need to use first

Link: Http://pan.baidu.com/s/1dF5NZ3N Password: Bziq

Now you need to put the module in normal operation mode

Requires a Java environment, prompting installation when installing

Okay, now write a program that lets the module connect to the wireless network

print (Wifi.sta.getip ()) Wifi.setmode (WiFi. Station) Wifi.sta.config ("SSID","password") Print (Wifi.sta.getip ())

You can also use this always-connected code

--Init.luaprint ('Setting up WIFI ...') Wifi.setmode (WiFi. Station) Wifi.sta.config (' the','1234567890') Wifi.sta.connect () Tmr.alarm (1, +, TMR. Alarm_auto, function ()ifWifi.sta.getip () = =Nil then print ('waiting for IP ...')    ElsePrint ('IP is'.. wifi.sta.getip ()) Tmr.stop (1) endend)

Okay, now start brushing back the firmware with the AT command.

Connect the line, reset the module, or power up the module

The module's back,,,,,,,,,,,,,,,,,

ESP8266 brush at firmware and NODEMCU firmware

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.