by Banana Pi
The BPI-Leaf-S3 is a basic development board equipped ESP32-S3R2 chip , provides Wi-Fi and Bluetooth LE functions via PCB antenna.
- ESP32-S3R2: Xtensa® dual-core 32-bit LX7 microprocessor, up to 240 MHz; 2.4G Wi-Fi + Bluetooth LE; RISC-V Ultra Low Power Co-processor; 2 MB Quad SPI PSRAM is integrated in the package, so don’t worry too much about using massive buffers, it’s basically sufficient.
- 8MB Quad SPI Flash
- Reserve extra Quad SPI PSRAM pad: Keep upgrades possible, just in case.
- 36 x GPIO: All available GPIO pins, are broken out to the pin headers on the board for easy interfacing and programming.The amount, order, and spacing of IO pins on board are identical to the Espressif ESP32-S3-DevKitC-1, of course is Breadboard-Friendly.
- Native USB Port: ESP32-S3 full-speed USB OTG interface, using USB-C Connector with back-feed protection. The interface is used for power supply to the board, for flashing applications to the chip, for communication with the chip using USB protocols, as well as for JTAG debugging.
- 5V to 3.3V DC/DC: Maximum theoretical output 2A 3.3V.
- Lithium battery power supply & charging: MX 1.25mm 2-Pin Socket.Supports arbitrary switching between 3.7V lithium battery and 5V USB power supply without interrupting program operation.
- Battery voltage detection: On GPIO14, detection half value of battery voltage.
- STEMMA QT / Qwiic connectors: JST SH 1mm 4-Pin Socket, SDA&GPIO15, SCL&GPIO16.
- Boot Button: Download button. Holding down Boot and then pressing Reset initiates Firmware Download mode for downloading firmware through the serial port or USB port.
- Reset Button New v1.1 version support double-clicking the reset button to enter the UF2 bootloader.
- RGB LED: Addressable RGB LED, driven by GPIO48.
- Power LED: Steady on when power is supplied.
- Charging LED: Always off when only the battery is powered, slightly on when only the USB 5V is powered, and always on when the battery is charging.
Have some info to add for this board? Edit the source for this page here.
This is the latest stable release of CircuitPython that will work with the BPI-Leaf-S3.
Use this release if you are new to CircuitPython.
Built-in modules available: _asyncio, _bleio, _pixelmap, adafruit_bus_device, adafruit_pixelbuf, aesio, alarm, analogbufio, analogio, array, atexit, audiobusio, audiocore, audiomixer, binascii, bitbangio, bitmaptools, board, builtins, builtins.pow3, busio, busio.SPI, busio.UART, canio, collections, countio, digitalio, displayio, dualbank, errno, espcamera, espidf, espnow, espulp, fontio, framebufferio, frequencyio, getpass, gifio, hashlib, i2ctarget, io, ipaddress, json, keypad, keypad.KeyMatrix, keypad.Keys, keypad.ShiftRegisterKeys, math, mdns, memorymap, microcontroller, msgpack, neopixel_write, nvm, onewireio, os, os.getenv, ps2io, pulseio, pwmio, qrio, rainbowio, random, re, rgbmatrix, rotaryio, rtc, sdcardio, select, sharpdisplay, socketpool, ssl, storage, struct, supervisor, synthio, sys, terminalio, time, touchio, traceback, ulab, usb_cdc, usb_hid, usb_midi, vectorio, watchdog, wifi, zlib
Included frozen(?) modules: neopixel
Every time we commit new code to CircuitPython we automatically build binaries for each board and language. The binaries are stored on Amazon S3, organized by board, and then by language. These releases are even newer than the development release listed above. Try them if you want the absolute latest and are feeling daring or want to see if a problem has been fixed.
Previous Versions of CircuitPython
All previous releases of CircuitPython are available for download from Amazon S3 through the button below. For very old releases, look in the OLD/ folder for each board. Release notes for each release are available at GitHub button below.
Older releases are useful for testing if you something appears to be broken in a newer release but used to work, or if you have older code that depends on features only available in an older release. Otherwise we recommend using the latest stable release.
Install, Repair, or Update UF2 Bootloader
Latest version: 0.16.0
The UF2 bootloader allows you to load CircuitPython, MakeCode, and Arduino programs. The bootloader is not CircuitPython. If a UF2 bootloader is installed, you can check its version by looking in the INFO_UF2.TXT file when the BOOT drive is visible (FTHRS2BOOT, MAGTAGBOOT, HOUSEBOOT, etc.)
It is not necessary to reinstall a UF2 bootloader you unless a BOOT drive is not visible when in UF2 bootloader mode, or you know of a problem with your current UF2 bootloader.
If a UF2 bootloader has never been installed on the board, or the UF2 bootloader was removed by erasing or overwriting the flash, the UF2 bootloader must be installed in order to flash .uf2 files onto the board. .bin files can be uploaded without a UF2 bootloader, using the ESP Web Flasher or esptool.py.
Note: update.uf2 files are not currently working on ESP32-S2 or ESP32-S3 boards.
Important: this will erase previously flashed firmware and sketches from the board, but needs to be perfomed only once.
The instructions here are general. We recommend you consult the manufacturer's board documentation for detailed instructions, which may be different.
- Unzip to find the file combined.bin.
- Place board in bootloader mode:
- Plug board into a USB port on your computer using a data/sync cable. Make sure it is the only board plugged in, and that a charge-only cable is not being used.
- Press and hold down the BOOT or 0 button.
- Press and release the RESET or RST button.
- Release the BOOT button.
- Upload combined.bin (Google Chrome 89 or newer):
- Open ESP Web Flasher in a new window/tab.
- Select 460800 Baud from the pull-down menu (top-right).
- Click Connect (top-right).
- Select the COM or Serial port from the pop-up window.
- After successful connection, click Erase.
- After successful erase, click any Choose a file..., then locate and select the combined.bin file unzipped earlier.
- After successfully choosing combined.bin, click Program.
- After the TinyUF2 firmware update is complete, press the RESET button on the board. A new drive BOOT should be visible in your file browser.
After installing the UF2 bootloader, enter the bootloader by double-clicking the reset button. On boards with an RGB status LED, tap reset once, wait for the LED to turn purple, and tap again before the purple goes away. On other boards, consult the board documentation.
After you update, check INFO_UF2.TXT to verify that the bootloader version has been updated. Then you will need to load or reload CircuitPython using the .uf2 file.