Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to debug esp8266 wifi module by brushing nodemcu firmware and Bluetooth serial port

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

Today, I will talk to you about how to brush the nodemcu firmware of the esp8266 wifi module and debug the Bluetooth serial port. Many people may not know much about it. In order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.

The price of esp8266 wifi module is very affordable. Factory is the default system with AT instructions, through the serial port to use at commands for interaction. But you can brush other firmware, such as nodemcu.

Nodemcu can control the module with lua scripts, and the advantage of lua scripts is that they are very easy to write and do not need to be compiled. The following is a brief introduction to burning nodemcu firmware on the esp8266 module and simply connecting the module to AP through the serial port.

Download nodemcu_flasher64bit.exe this is a burning software for nodemcu firmware. I downloaded the 64 version. 32 is the version address: http://www.nodemcu.com/download/flasher/nodemcu_flasher32bit.exe

Download the latest firmware, which is an unnecessary step, because the burning software will automatically download the firmware from the Internet, but I don't know if it is up-to-date.

Use usb to ttl to connect the module uart, while pulling down the module GPIO0, connect the GPIO0 pin to the gnd pin, enter the burning mode, usually not so connected to the normal mode.

Open the burning software, click the "Flash" button, if the mac address can be displayed normally below, and there is a progress bar, then burning is in progress, which is generally normal.

After recording, I use putty to connect the COM4 port, which port depends on the device manager. Enter a similar command, that is, the route connected to the home.

Print (wifi.sta.getip ())

-- nil

Wifi.setmode (wifi.STATION)

Wifi.sta.config ("SSID", "password")

Print (wifi.sta.getip ())

-- 192.168.199.200

The arduino in the picture is only used to power the esp266 3.3V and the Bluetooth serial port module 5V. Why not connect to the computer through the usb to ttl module next to it? Because some time ago, because the notebook was burned out by the usb hub with power, and now I am worried about what is plugged into the computer, I use the wireless Bluetooth serial port module.

After reading the above, do you have any further understanding of how to brush the nodemcu firmware of the esp8266 wifi module and debug the Bluetooth serial port? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report