How to flash MicroPython firmware to your ESP32
â Back to Main PageThis guide will walk you through flashing the MicroPython firmware to your ESP32 microcontroller for the PySTEM Mini Bot. The firmware enables Python programming and provides all the necessary libraries for robot control.
ESP32_GENERIC-20250415-v1.25.0.bin
MicroPython v1.25.0 specifically configured for ESP32 Generic boards
đž Download FirmwareFlashing firmware will erase all existing code on your ESP32. Make sure to backup any important files before proceeding. Ensure your ESP32 is properly connected and your computer recognizes the device.
Using esptool.py for more control
If pip doesn't work, try pip3. Similarly, if python doesn't work, try python3.
If this doesn't work, try: pip3 install esptool
cmd, press Enter
terminal, press Enter
The M5StickS3 can act as a voice-command controller for the Mini Bot. Its firmware is MicroPython v1.25 with an on-device speech-recognition module plus drivers for all StickS3 hardware (LCD, microphone, speaker, IMU, buttons). Train your own commands on the Speech page.
speech-commands-sticks3.bin
MicroPython v1.25.0 with the speech_commands recognition module, for M5StickS3 (ESP32-S3)
đž Download FirmwareFlashing replaces the factory UiFlow2 firmware on the StickS3 (you can restore it later with M5Burner). The StickS3 flashes at offset 0x0 with --chip esp32s3 â different from the robot's ESP32.
speech_model.py (plus a main.py that acts on the commands) through the IDE.
sudo usermod -a -G dialout $USERAfter successful flashing, verify your ESP32 is working correctly:
>>>If you see the MicroPython prompt and can run basic commands, your firmware flash was successful! You're now ready to start programming your PySTEM Mini Bot.
With firmware successfully flashed, you're ready to start programming!