TinyS3 is an accessible ESP32S3 dev kit; it's tiny, versatile, easy to purchase, and I have a drawer full of them! The ESP32S3 chip by Espressif is a 240MHz dual-core embedded proessor with built-in wifi, bluetooth, and usb support. The TinyS3 adds 8Mb flash, 8Mb ram and pretty much everything else you need for a project.
TinyS3 is available through UnexpectedMaker's store directy, Mouser Digkey, Sparkfun and others. He's got tons of other great boards to check out to!
apt install cmake python3-libusb1
git clone --depth 1 --branch v5.2.2 https://github.com/espressif/esp-idf.git esp-idf-v5.2.2
cd esp-idf-v5.2.2
git submodule update --init --recursive
./install.sh
source export.sh
From here on, you will need to source export.sh
to setup your environment.
git clone [email protected]:micropython/micropython.git
cd micropython
git submodule update --init --recursive
make -C mpy-cross
cd ports/esp32
From here, the commands assume the current working directory is micropython/ports/esp32
.
ln -sf ~/micro-aprs/upy/boards/SS_TINYS3 boards/.
make BOARD=SS_TINYS3 USER_C_MODULES=~/micro-aprs/upy/c_modules/esp32s3.cmake
OR, try the vanilla TinyS3 board (already included in the Micropython project.)
make BOARD=UM_TINYS3
Before flashing the ESP32S3 needs to be in the bootloader. This is done by holding the boot
button and clicking reset
. You can find the right comm port with py -m serial.tools.list_ports
. You may need to py -m pip install pyserial
first.
py -m esptool --chip esp32s3 --port COM11 write_flash -z 0 .\build-SS_TINYS3\firmware.bin
Fire up a terminal and connect to the device (use py -m serial.tools.list_ports
to find the COM port)
py -m serial.tools.miniterm COM20
Launch the "hello world" example by importing the tinys3 module.
import tinys3
The output is on IO1
.
Blue line after a LPF filter, as described in the DAC section.
- Images and information from TinyS3 and the Unexpected Maker Store. Go buy some kit!