Coder Social home page Coder Social logo

nodemcu-32s-micropython's Introduction

安可信 NodeMCU-32S MicroPython 开发入门

准备工作

工具

  • esptool: 用于与ESP32微控制器中的ROM引导加载程序通信,允许访问闪存固件,读回固件,查询芯片参数等
  • adafruit-ampy: 用于通过串口连接操作文件并在CircuitPython或MicroPython板上运行代码。使用ampy,您可以将文件从计算机发送到电路板的文件系统,将文件从电路板下载到计算机,甚至可以将Python脚本发送到电路板上执行
  • Thonny: Thonny官网 ;如果官网下载太慢可以使用此项目 development/software 下的 thonny 安装程序

刷写固件

安装依赖

pip install -r requirements.txt

擦除原 ESP32

下面两步使用的COM3需要根据设备管理器中的端口号进行修改

esptool --chip esp32 --port COM3 erase_flash

烧录 MicroPython

esptool --chip esp32 --port COM3 --baud 115200 write_flash -z 0x1000 ./firmware/ESP32_GENERIC-20231005-v1.21.0.bin

参考

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.