🛠 M5Paper: First Connection and Start-up

M5Stack M5Paper · debutant · Guide pas à pas pour allumer votre M5Paper, charger le firmware de démonstration et vérifier le fonctionnement de l'écran e-Ink.

Objectives

This tutorial guides you through discovering your M5Paper kit. The goal is to successfully perform the first physical start-up, install the Arduino IDE development environment, and load the official demo program. By the end of this step, you will know how to turn on the device, understand its touch interface, and verify that the 4.7-inch e-Ink screen responds correctly to commands. We will also cover key specifications like the ESP32 microcontroller and available memory to better understand the board's capabilities.

Required Materials

Steps

  1. Hardware Preparation: Insert the rechargeable battery into the compartment located on the back of the M5Paper. Ensure the USB-C cable is securely connected to the board's port and your computer or charger. A small LED lights up to indicate charging.
  2. Library Installation: Open Arduino IDE. Go to Tools > Manage Libraries. Search for "M5Paper" and install the latest version. This library contains essential drivers for the IT8951 controller and GT911 touch.
  3. Serial Port Configuration: Connect the M5Paper to the computer. In Arduino IDE, go to Tools > Port and select the COM (Windows) or tty (macOS/Linux) port corresponding to the board. If no port appears, check the USB cable or install CH340/CP210x drivers if necessary.
  4. Loading Demo Code: In the File > Examples > M5Paper menu, select HelloWorld. This code uses 520 KB of SRAM and 8 MB of PSRAM to display text and images on the 960x540 pixel screen.
  5. Compilation and Upload: Click the "Upload" arrow. The compiler will generate the binary for the ESP32-D0WDQ6-V3. Wait for the process to finish, which may take a few minutes due to the program size.

Verification

The screen should light up and display "Hello World" text or a demo image. Touch the screen with your finger: the GT911 capacitive controller should react immediately, changing the display or triggering an action. Verify that the display is sharp, utilizing the 16 gray levels. If the screen remains black, check the power supply and selected serial port.

Going Further

Explore the TouchTest examples to understand multi-touch gesture handling. You can then modify the code to display real-time data via the integrated 2.4 GHz Wi-Fi, leveraging the low power consumption of e-Ink mode for sustainable IoT applications.

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials