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 use nodemcu tools based on python and esptool.py

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

Share

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

This article introduces how to use the nodemcu tool based on python and esptool.py, the content is very detailed, interested friends can refer to, hope to be helpful to you.

Nodemcu can run LUA on a tiny chip that integrates WiFi and CPU/Flash, and performs GPIO control and network remote control through scripts.

Before running lua, you need to write the underlying firmware firmware of nodemcu. There are many ways to brush into the firmware, or you can modify the source code of the firmware to achieve your own specific functions. Open source project address: https://github.com/nodemcu.

Here is a shortcut tool I made myself, which is based on python and esptool.py:

Git clone https://git.oschina.net/supergis/ESP8266App.git

Go to the firmware directory inside, open the console window, and then:

Ls / dev/tty.* / / look for serial port devices on Mac. Or: dmesg looks at the serial device name on linux. Open esp.nodemcu.sh to see if the ports inside are consistent, and if not, modify them. Press and hold the [Flash] button on the nodemcu development board, and don't let go. (if it is another module, pull down the GPIO0 and GPIO15 and increase the CH_PD port. ) sudo esp.nodemcu.sh / / run the script to show the progress and release the flash button. Use a serial port tool such as xconsole or minicom to enter nodemcu and run lua. (if it is another module, pull the GPIO0 up or empty at this time, release the pull-down state, and power up again. ) this is how to use nodemcu tools based on python and esptool.py. I hope the above content can be of some help and learn more knowledge. If you think the article is good, you can share it for more people to see.

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