phillipjhl / esp8266-led-controller

Micro Python program to run on an ESP8266 microcontroller to control addressable led strips.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESP8266 Chip Micro Python

  • make sure driver is installed correctly
  • port is /dev/ttyUSB0
  • baud rate 9600
  • make sure user in in dialout group if permission is denied

Getting Started

Requirements

  • pip install esptool
  • pip install setuptools

Make sure you have a working firmware for your device.

i.e. - esp8266-1m-20200902-v1.13.bin for an ESP8266

Erase Flash

  • python -m esptool --port /dev/ttyUSB0 erase_flash

Deploy MicroPython Firmware

  • python -m esptool --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=detect 0 bin/esp8266-1m-20200902-v1.13.bin

REPL

WIFI

SSID: MicroPython7729e2 PSK: micropythoN

About

Micro Python program to run on an ESP8266 microcontroller to control addressable led strips.


Languages

Language:Python 50.3%Language:C++ 49.7%