DEVELOPBY UNEXPECTED MAKER

Develop

Languages, development tools and ready-made projects for your next build.

If this is your first time using an Unexpected Maker development board, please check out the Getting Started guide → first.

Languages / platforms

Choose your language and development tools. Runtime support varies by chip; follow the linked project’s hardware requirements and board setup.

PlatformIO

Manage Arduino and ESP-IDF projects, libraries and builds in VS Code.

Choose your MCU

1

Install PlatformIO IDE

Install Visual Studio Code, then install the PlatformIO IDE extension from the VS Code Extensions view.

2

Use pioarduino for Arduino ESP32 core 3.x

3

Configure your board manually

Create a new PlatformIO project, then replace the contents of platformio.ini with the configuration below. Change the board line to your board’s ID from the table.

[env:tinys3]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
board = um_tinys3
framework = arduino
monitor_speed = 115200
board_upload.wait_for_upload_port = false

build_flags =
    -D ARDUINO_USB_MODE=1
    -D ARDUINO_USB_CDC_ON_BOOT=1
PlatformIO board IDs
Your boardBoard ID
TinyS3[D] / TinyS3um_tinys3
FeatherS3[D] / FeatherS3um_feathers3
ProS3[D] / ProS3um_pros3
EdgeS3[D]um_edges3_d
NanoS3um_nanos3
OMGS3um_omgs3
FeatherS3 Neoum_feathers3_neo

ARDUINO_USB_MODE=1 and ARDUINO_USB_CDC_ON_BOOT=1 send Serial output over the board’s USB connection using Hardware CDC and JTAG.

For a complete working project, see the UM FeatherS3 PlatformIO example. It uses the same settings; change its board line for other UM S3 boards.

4

Enter download mode for the first upload

If your board is running firmware from another platform, such as CircuitPython, put it into download mode before your first upload.

1Hold BOOT

Keep BOOT pressed.

2Tap RESET

Press and release RESET while still holding BOOT.

3Release BOOT

Select the download-mode port on your computer.

There is no LED signal to confirm download mode. Check your computer’s serial-port list instead.

5

Build and upload

Click Upload in the PlatformIO toolbar. If you entered download mode manually, press RESET after the upload finishes to start your program. Open the Serial Monitor to see your program’s output.

Deployable projects

Ready-made firmware and connected applications for lighting, sensors and home automation. Follow each project’s supported hardware and configuration guide.