- For Windows must install CP210x USB to UART Bridge
- Download the latest Micropython Firmware: https://micropython.org/download/#esp8266
- For easy flash install Thonny IDE.
- Open Thonny IDE Tools > Interpreter.
- Choose the MicroPython ESP8266 as interpreter.
- Choose port that your ESP8266 connected to.
- Click Install or update firmware at the bottom right.
- Choose port that your ESP8266 connected to.
- Browse the firmware that you download.
- Click install. if its error, check your thonny IDE if its access sudo/administrator privilege.
- Open Thonny IDE make sure the intrepreter is Micropython ESP8266.
- Create new file named main.py and write a simple python print hello world code.
- Save it choose on MicroPython Device.
- And run the script on Thonny IDE. We will see the hello world is displayed on terminal thats mean the MicroPython is successfully installed.
- We were follow this tutorials for installing MQTT client: https://randomnerdtutorials.com/micropython-mqtt-esp32-esp8266/