The ESP8266 is a low-cost Wi-Fi microchip with full TCP/IP stack and microcontroller capabilities. ![](https://images-na.ssl-images-amazon.com/images/I/51XTrgJ-HLL._SL500_AC_SS350_.jpg | width=300x) ![](https://cdn3.volusion.com/btfzd.umflq/v/vspfiles/photos/AD247-2.jpg?1456512809 | width=300)
- CPU: 80 MHz
- Memory: 32 KiB instruction, 80 KiB user data
- Input: 16 GPIO pins
- Power: 3.3V DC
MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments. Differences from CPython (normal Python)
- Install ch340 USB driver. For OSX Serria, install this driver
- Download firmware
- Install esptool:
pip install esptool
- For OSX, the device port will be something like /dev/tty.wchusbserial1410, /dev/tty.wchusbserial1420
- For Windows, the port is COM4
- For Linux, the port is /dev/ttyUSBO
- Earase current firmware:
esptool.py --port YOUR-PORT erase_flash
- Upload microphython firmware:
esptool.py --port YOUR-PORT --baud 115200 write_flash -fm dio --flash_size=detect 0 esp8266-20180511-v1.9.4.bin
- Test new firmware:
screen [YOUR-PORT] 115200