🛠 Getting started with M5Stack PaperDIY
Objectives
This tutorial aims to assemble the PaperDIY kit, establish reliable serial communication, and flash the base firmware to validate the ED047TC1 e-paper display and ESP32-S3-WROOM-1 module.
Materials needed
- M5Stack PaperDIY Kit (components to solder or clip)
- USB-C data cable
- PC with Arduino IDE or PlatformIO
- Soldering iron and solder (if not pre-soldered)
Steps
- Mechanical Assembly: Insert the ESP32-S3-WROOM-1 module into its socket. Carefully connect the 4.7-inch e-paper display ribbon, respecting the connector orientation. Attach the 140 mAh battery to the dedicated JST connector, respecting polarity.
- Dependency Installation: Open Arduino IDE. Go to *Boards Manager* and add the M5Stack board manager URL. Install the "M5Stack-ESP32-S3" board.
- Port Configuration: Connect PaperDIY via USB-C. In *Ports*, select the corresponding COM or tty port. Ensure the physical button is accessible.
- Firmware Flash: Open the "HelloWorld" example from the M5Unified library. Select the "Paper" model. Click *Upload*. If flashing fails, hold the BOOT button while connecting USB to enter download mode.
- Visual Test: After flashing, the screen should display text or a logo. The e-paper uses an 8-bit parallel interface; ensure no wires are desoldered if the display remains white.
Verification
Open the Serial Monitor at 115200 bauds. You should see initialization messages for the ESP32-S3 SoC (dual-core LX7) and 8 MB Octal PSRAM. WiFi 4 and Bluetooth 5.0 LE should initialize without errors. If the screen does not light up, check the ribbon soldering and battery voltage via the M5PM1 chip.
Going further
Explore low-power management to extend the 140 mAh battery life. Test MicroSD card reading to store grayscale images.
Other tutorials for this board
Code examples for this board
epaper_hello_world.inoC++wifi_web_dashboard.inoC++sdcard_logger.inoC++deep_sleep_battery.inoC++ble_beacon.inoC++gpio-button-led-basic.inoC++ (Arduino)