Skip to content

Base project for NodeMCUs to speed up IoT projects in DHWG

Notifications You must be signed in to change notification settings

DHWG/esp8266-micropython-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP8266 MicroPython Base

This is the base project for NodeMCUs to speed up IoT projects in DHWG.

Hardware

  • NodeMCU V3 Arduino ESP8266 ESP-12 E Lua CH340 WiFI WLan IoT Lolin Mini Micro (~5€ on eBay)

Installation

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

Configuration

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.

REPL Access

Access to the MicroPython REPL is possible with the screen tool:

screen /dev/cu.wchusbserial1410 115200

MQTT Access

Good tools:

About

Base project for NodeMCUs to speed up IoT projects in DHWG

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages