NodeMCU learning (1)-environment construction (2)

1. The software to be used

(1) ESPlorer, used to edit Lua scripts, burn and debug;

(2) ESP8266Flasher, used to burn firmware;

       1) Check whether the key parameters correspond to your IC model. If you are not sure, click "Restore default" to set the chip's default configuration;

     2) Load the firmware to be burned;

    3) Burn firmware

2. Firmware acquisition

(1)NodeMCU custom builds:https://nodemcu-build.com/index.php

  According to the needs of your own project, you can select the required functions and generate the corresponding firmware.

(2) Matters needing attention

       Under the following circumstances, the firmware generation is unsuccessful, or the mail cannot be received:

     1) Company network restrictions; (After testing, my company network is like this, so use the mobile phone to generate a hotspot to connect the computer to generate the firmware)

     2) Use the company's mailbox; (the mailbox shields some mails, and it is recommended to use personal QQ mailboxes)

3. Matters needing attention

(1) The NodeMCU module needs to be reset after burning the 10,000 firmware;

(2) The serial port can only be connected to one software at a time. When using ESPlorer and ESP8266Flasher, pay attention to the connection and disconnection of the serial port;

(3) The ESPlorer software executes the init.lua file by default. If the init.lua file is not defined, you need to click "Reload" first, and then click to run the corresponding script name button;

 

Guess you like

Origin blog.csdn.net/zwb_578209160/article/details/112990341