ESP


http://robin.me/pi.html
Micropython Docs https://docs.micropython.org/en/latest/esp8266/tutorial/intro.html
Micropython Firmware https://micropython.org/download/
Quick reference for the ESP8266 https://docs.micropython.org/en/latest/esp8266/quickref.html
ESP-01 Micropython Firmware for ESP-01 https://micropython.org/download/esp8266/
Nice video on interfacing the ESP-01 and adapting the headers. https://youtu.be/TkLOAvP5G1A
Gives a good warning about keeping the pins high to start so it doesn't enter flash mode esp pinout Find the usb port: lsusb -t dmesg | grep ttyUSB rshell: pip install rshell rshell -p /dev/ttyUSB0 -b 115200 ls /pyboard Use Control-D to exit. screen -port /dev/ttyUSB0 115200 https://github.com/micropython/webrepl/archive/master.zip
Connect button (using the default address of ws://192.168.4.1:8266/ next to the button). To use the WebREPL on another WiFi network: import network wlan = network.WLAN(network.STA_IF) wlan.active(True) wlan.connect('ssid', 'password') wlan.ifconfig() webrepl.start() esptool.py --chip esp32 -p /dev/ttyUSB0 erase_flash esptool.py --chip esp32 -p /dev/ttyUSB0 write_flash -z 0x1000 ~/Downloads/esp32-20171219-v1.9.2-445-g84035f0f.bin screen /dev/ttyUSB0 115200 WebREPL https://learn.adafruit.com/micropython-basics-esp8266-webrepl/access-webrepl
>>> import webrepl_setup password micropythoN web client >>> help() >>> import network set hostname: wlan = network.WLAN(network.STA_IF) wlan.active(True) wlan.config(dhcp_hostname = 'esspressive' ) boot.py def do_connect(ssid, pwd): import network sta_if = network.WLAN(network.STA_IF) if not sta_if.isconnected(): print('connecting to network...') sta_if.config(dhcp_hostname="ESP32") sta_if.active(True) sta_if.connect(ssid, pwd) while not sta_if.isconnected(): pass print('network config:', sta_if.ifconfig()) # This file is executed on every boot (including wake-boot from deepsleep) #import esp #esp.osdebug(None) # Attempt to connect to WiFi network do_connect('your_ssid', 'your_password') import webrepl webrepl.start() webrepl from repl prompt: import network wlan = network.WLAN(network.STA_IF) wlan.active(True) wlan.connect('ssid', 'password') wlan.ifconfig() sta_if.config('dhcp_hostname') web server https://techtotinker.blogspot.com/2020/11/016-esp32-micropython-web-server-esp32.html
https://techtotinker.blogspot.com/2020/08/tutorial-esp32-web-server-esp32-wifi-in.html?m=1 mqtt
mqtt https://randomnerdtutorials.com/micropython-mqtt-esp32-esp8266/
https://randomnerdtutorials.com/micropython-esp32-esp8266-dht11-dht22-web-server/
https://randomnerdtutorials.com/micropython-mqtt-publish-bme680-esp32-esp8266/
https://randomnerdtutorials.com/micropython-esp32-esp8266-bme280-web-server/
Weather station web server https://randomnerdtutorials.com/micropython-esp32-esp8266-dht11-dht22-web-server/