How to Program an ESP8266 or ESP32 Microcontroller Over Wi-Fi with MicroPython

The only thing better than programming MicroPython is programming MicroPython over Wi-Fi. So once you set up MicroPython on a microcontroller and have it on its own power source, you won't need to use a data cable to connect to it whenever you need to interact with it, program it, upload files, or grab data.


The MicroPython REPL interface is very simple, which makes it an attractive option for an ESP8266 or EP32 board, and the WebREPL interface is even more convenient. After setting everything up initially, you can connect and control the board over its Wi-Fi access point, then program or upload code from the handy web client.


What You'll Need


To get started with programming MicroPython on a microcontroller over Wi-Fi, you'll need an ESP8266 or ESP32 development board with Wi-Fi, such as one of these:


You'll also need a Micro-USB cable to connect your board to your Linux, macOS, or Windows computer. While we are going to be using the MCU over Wi-Fi, it will need to be set up first, so we need a cable to connect over the serial interface. Then, if you want your board powered up independently later, ..

Support the originator by clicking the read the rest link below.