Various projects for ESP32 microcontrollers using MicroPython.
Note: Helper script in this repository requires Docker to execute commands.
Build the Docker image:
./helper.py build-image
Download the latest MicroPython firmware from the MicroPython download page. Use the normal firmware as .bin file.
Write the MicroPython firmware to the ESP32 microcontroller:
./helper.py flash /path/to/downloaded/ESP32_GENERIC.bin
Create a new project folder and symlink the shared files (replace {PROJECT_NAME}
with the directory name of the project):
./helper.py create-project {PROJECT_NAME}
Sync and reboot the microcontroller (replace {PROJECT_NAME}
with the directory name of the project):
./helper.py sync {PROJECT_NAME}
Some projects need some additional configuration like WLAN and MQTT credentials. For that, copy the provided sample.config.py to config.py and modify it.