February 4, 2020

Quick & Easy: MicroPython on ESP32/ESP8266 on Ubuntu

You will need to have ubuntu or another linux distro, its the easiest method

setting up and upgrading firmware

setting up wifi

now we need to create nano wifi.py and save the following code in it, dont forget to change network and password so it connects

import network station = network.WLAN(network.STA_IF) station.active(True) station.connect("yournetworkname", "yourwifipassword") station.ifconfig()

connect and upload

mpfshell -o COM5 -c "put wifi.py"

mpfshell -o COM5 -c "put boot.py"

now reconnect the usb connector to reboot

mpfshell commands

Resources

DigitalOcean Referral Badge
Keep my site online & receive a $200 60-day credit at DigitalOcean for your VPS Hosting
Cheaper Games on Instant-Gaming
Creative Commons Licence