Install CircuitPython firmware on Waveshare ESP32-S3-Zero, run on Raspberry Pi OS (bookworm).

With esptool installed on Raspberry Pi 5 running Raspberry Pi OS (bookworm), this video show steps to install CircuitPython 9.0.0-beta.0 on Waveshare ESP32-S3-Zero.

Visit https://circuitpython.org/downloads, search ESP32-S3-Zero. It's custom build of CircuitPython 9.0.0-beta.0 for Waveshare ESP32-S3-Zero. Download the .BIN file.

Erase flash:

$ esptool.py --chip esp32s3 --port <PORT> erase_flash
Write flash:
$ esptool.py --chip esp32s3 --port <PORT> --baud 460800 write_flash -z 0x0 <.BIN>

Test Code

pinmap.py
"""CircuitPython Essentials Pin Map Script"""
import microcontroller
import board
import os
import sys

info = os.uname()[4] + "\n" + \
       sys.implementation[0] + " " + os.uname()[3]
print("=======================================")
print(info)
print("=======================================")
print()

board_pins = []
for pin in dir(microcontroller.pin):
    if isinstance(getattr(microcontroller.pin, pin), microcontroller.Pin):
        pins = []
        for alias in dir(board):
            if getattr(board, alias) is getattr(microcontroller.pin, pin):
                pins.append("board.{}".format(alias))
        if len(pins) > 0:
            board_pins.append(" ".join(pins))
for pins in sorted(board_pins):
    print(pins)


next:
CircuitPython I2C Scanner, run on ESP32-S3-Zero
ESP32-S3-Zero/CircuitPython Display on 128x64 SSD1306 I2C OLED
ESP32-S3-Zero/CircuitPython read single key using keypad.Keys and control onboard RGB LED (NeoPixel)
Use VL53L0X (Time of Flight distance sensor) on ESP32-S3/CircuitPython
3-wire 9-bit SPI ST7789 TFT with FT6236 capacitive touch on ESP32-S3-Zero/CircuitPython
Solve FutureWarning: I2CDisplay moved from displayio to i2cdisplaybus and I2CDisplay renamed I2CDisplayBus
CircuitPython exercise to control servo motor, run on ESP32-S3-Zero/CircuitPython 9.0.0-beta.0.
Radar-like distance scanner on ESP32-S3/CircuitPython 9, using SG90 servo motor, VL53L0X distance sensor and SSD1306 OLED.

Comments

Popular posts from this blog

480x320 TFT/ILI9488 SPI wih EP32C3 (arduino-esp32) using Arduino_GFX Library

my dev.tools - FNIRSI 2C23T 3-in-1 Dual Channel Oscilloscope/Multimeter/Signal Generator