AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Icircuit tutorial9/4/2023 MicroPython will try to execute the main.py on bootup). You can ignore the error message (the Errno 2 indicates that, main.py file is not present on the device. You can access the python interpreter from puttyĬlick on Open, then press the reset button on NodeMCU, you should the interpreter waiting for your input Navigate to the directory in which bin file is present and run the following command (replace the COM port with the one you found in previous step, and bin file name should the one you downloaded) esptool.py -port COM4 write_flash 0 esp8266-20171101-v1.9.3.bin NodeMCU MicroPython bin flashing Run the following command to install esptool pip install esptoolĬonnect your nodemcu to windows machine through a micro USB cable and find the COM port of the nodemcu (you will be able to find the COM port in DeviceManger, if the device is not recognized you might need to install serial chip drivers) NodeMCU COM Portĭownload latest version of stable MicroPython interpreter from ESP8266. I will discus command line approach and IDE based approach here Loading MicroPython using esptool: There are couple of ways in which you can load. In this post we will see how to load MicroPython interpreter to NodeMCU. The IDE are still in elementary stage (if you are comfortable with cmd lines tools, there is esptool which covers nearly every programming need you have for ESP8266/EPS32). You will go out of heap if you are careful with your heap usage. Its a breeze to develop connected applications with micro python on nodemcu (ESP8266), it has some limitations as well. ![]() ![]() You can check more about MicroPython project on the official website. ![]() You can get started with micro python in no time, as the syntax exactly same as that of python3. Micro python is great when it comes to ease of writing code and the read to use libraries. I have used micro python on nodemcu for couple of small projects.
0 Comments
Read More
Leave a Reply. |