This is the base project for NodeMCUs to speed up IoT projects in DHWG.
- NodeMCU V3 Arduino ESP8266 ESP-12 E Lua CH340 WiFI WLan IoT Lolin Mini Micro (~5€ on eBay)
Following commands flash the MicroPython firmware:
esptool.py --port /dev/cu.wchusbserial1410 erase_flash
esptool.py --port /dev/cu.wchusbserial1410 --baud 115200 write_flash --flash_size=detect -fm dio 0 esp8266-20171101-v1.9.3.bin
The AMPY tool can be used to transfer files to the chip.
ampy -p /dev/cu.wchusbserial1410 -b 115200 put boot.py /boot.py
Make sure to create an instance of config.py
put it on the chip.
Access to the MicroPython REPL is possible with the screen tool:
screen /dev/cu.wchusbserial1410 115200
Good tools: