There are a number of IDEs available, pick which ever works best for you...
-
ESPCut - A portable version of the software is available in the tools folder
-
uPyCraft - Highly recommended
You will need to install the MicroPython firmware on your ESP8266 device before you go any further.
Download the latest stable ESP8266 firmware
Flash the firmware to the device, ESPCut and uPyCraft have this functionality built in but alternatively you can use PyFlasher, pre-compiled windows versions are available.
You can interact with MicroPython either in interactive mode or use it to run files.
You can upload multiple files to your device but there are two reserved file names:
- /boot.py - This file is on run immediately on power up/reset and should contain any code for configuring the device. Generally just leave this alone unless you're customizing MicroPython itself.
- /main.py - This file (if present) is run after boot.py and should contain any code to be executed every time the device is powered on or reset.
Beware of writing code containing infinite loops as if may interfer with your ability to interact with MicroPython.
Further information regarding MicroPython on ESP8266 devices can be found in the offical documentation.