While there are many ESP32 dev boards on the market, we here at Morpheans found ourselves lamenting the scarcity of such boards for the new ESP32-S2. So we decided to build one. Introducing MorphESP 240, an easy-to-use, Arduino- and CircuitPython-compatible, open hardware ESP32-S2 dev board with a built-in high-resolution, IPS-color display.
Our target was minimalism with room to grow, and—after squeezing the following specs into a 20 g, 89 x 28 x 6 mm package—we believe we’ve hit the bullseye:
- An ESP32-S2 WROOM with
- A 240 MHz single-core microcontroller
- 128 KB of ROM
- 320 KB of SRAM
- 802.11 b/g/n/ 2.4 GHz Wi-Fi
- An on-board, SPI-driven, 240 x 240 pixel ST7789 display
- A classic, multi-color WS2812B RGB LED
- A built-in, JST-connected battery with a USB charging module
- A 5 V to 3.3 V regulator to feed additional modules
- Plenty of GPIOs to play with
This is the latest unstable release of CircuitPython that will work with the MorphESP 240.
Unstable builds have the latest features but are more likely to have critical bugs.
Built-in modules available: _bleio, adafruit_bus_device, adafruit_pixelbuf, aesio, alarm, analogio, atexit, audiobusio, audiocore, audiomixer, binascii, bitbangio, bitmaptools, board, busio, canio, countio, digitalio, displayio, dualbank, errno, fontio, framebufferio, frequencyio, getpass, imagecapture, ipaddress, json, keypad, math, microcontroller, msgpack, neopixel_write, nvm, onewireio, os, paralleldisplay, ps2io, pulseio, pwmio, qrio, rainbowio, random, re, rgbmatrix, rotaryio, rtc, sdcardio, sharpdisplay, socketpool, ssl, storage, struct, supervisor, synthio, terminalio, time, touchio, traceback, ulab, usb_cdc, usb_hid, usb_midi, vectorio, watchdog, wifi
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. Try them if you want the absolute latest and are feeling daring or want to see if a problem has been fixed.
All previous releases are listed on GitHub, with release notes, and are available for download from Amazon S3. They are handy for testing, but otherwise we recommend using the latest stable release. Some older GitHub release pages include the same binaries for downloading. But we have discontinued including binaries as assets on newer release pages because of the large number of files for each release.
Install/Repair UF2 Bootloader
Latest version: 0.5.2
The bootloader allows you to load CircuitPython, Makecode, and Arduino programs. The bootloader is not CircuitPython.
It is not necessary to reinstall the bootloader unless a BOOT drive is not visible when in UF2 bootloader mode (FTHRS2BOOT, MAGTAGBOOT, HOUSEBOOT, etc.), in which case the UF2 bootloader may need to be repaired.
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 should be installed in order to flash .uf2 files onto the board.
Important: this will erase previously flashed firmware & sketches from the board, but needs to be perfomed only once.
- Unzip to find the file
- 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
- Press and release the
- Release the
combined.bin(Google Chrome 89 or newer):
- Open Adafruit WebSerial ESPTool in a new window/tab.
460800 Baudfrom the pull-down menu (top-right).
- Select the COM or Serial port from the pop-up window.
- After successful connection, click
- After successful erase, click any
Choose a file..., then locate and select the
combined.binfile unzipped earlier.
- After successfully choosing
- After the TinyUF2 firmware update is complete, press the
RESETbutton on the board. A new drive
BOARDBOOT(where BOARD is an abbreviation of your board's name) should be visible in your file browser.
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.
Update UF2 Bootloader
Latest version: 0.5.2
The bootloader allows you to load CircuitPython, Makecode, and Arduino programs. The bootloader is not CircuitPython. You can check the current version of your bootloader by looking in the INFO_UF2.TXT file when the BOOT drive is visible (FEATHERBOOT, CPLAYBOOT, etc.).
update.uf2 files are not currently working on ESP32-S2 boards.
- Save the contents of CIRCUITPY, just in case.
- Follow instructions in the Install/Repair UF2 Bootloader section above.
- Check INFO_UF2.TXT to verify that the bootloader version has been updated.
- Reload CircuitPython.