Skip to main content

Getting Started with reTerminal E10xx in Arduino

What is Arduino

Arduino is an open-source electronics platform based on easy-to-use hardware and software. It consists of microcontroller boards and an integrated development environment (IDE). Designed for artists, hobbyists, and engineers, it simplifies creating interactive projects—from robots to home automation. With a simple programming language and vast community support, users can easily write code, upload it to boards, and bring their electronic ideas to life. Its accessibility makes it popular for learning and innovation.

Getting Started

Before diving into the specific features, let's set up our development environment for reTerminal E10xx.

Environmental Preparation

To program reTerminal E10xx with Arduino, you'll need to set up the Arduino IDE with ESP32 support.

tip

If this is your first time using Arduino, we highly recommend you to refer to Getting Started with Arduino.

Step 1. Download and install the Arduino IDE and Launch the Arduino application.


Step 2. Add ESP32 board support to Arduino IDE.

In Arduino IDE, go to File > Preferences and add the following URL to the "Additional Boards Manager URLs" field:

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

Step 3. Install ESP32 board package.

Navigate to Tools > Board > Boards Manager, search for "esp32" and install the ESP32 package by Espressif Systems.

Step 4. Select the correct board.

Go to Tools > Board > ESP32 Arduino and select "XIAO_ESP32S3".

Step 5. Connect your reTerminal E10xx to your computer using a USB-C cable.

Step 6. Select the correct port from Tools > Port.

ePaper Display

The reTerminal E1001 is a 7.5-inch black and white ePaper display and the reTerminal E1002 is a 7.3-inch full color ePaper display. Both of them provide clear visibility in various lighting conditions and ultra-low power consumption.

In this section, we'll explore how to set up and control the ePaper display using Arduino.

To control the ePaper display, we'll use the Seeed_GFX library, which provides comprehensive support for various Seeed Studio display devices.

Step 1. Download the Seeed_GFX library from GitHub:


Step 2. Install the library by adding the ZIP file in Arduino IDE. Go to Sketch > Include Library > Add .ZIP Library and select the downloaded ZIP file.

note

If you have previously installed the TFT_eSPI library, you may need to temporarily remove or rename it from your Arduino libraries folder to avoid conflicts, as Seeed_GFX is a fork of TFT_eSPI with additional features.

reTerminal E1001(7.5-inch black and white ePaper)

Let's explore a simple example that demonstrates how to draw something on the ePaper display. This example teach you how to draw a line, display words and display shapes.

Step 3. Open the example sketch from the Seeed_GFX library: File > Seeed_GFX > Examples > ePaper > Basic > HelloWrold

Step 4. Create a new file named driver.h and paste the configuration code into it. The code will be generated in next step.

Step 5. Go to the Seeed GFX Configuration Tool, and select what type of device you are using. Take reTerminal E1001 as an example.

Copy the generated code and paste it into the driver.h file you created just now. The code should look like this:

#define BOARD_SCREEN_COMBO 520 // reTerminal E1001 (UC8179)

Step 6. Now you can upload the example to your device and see the ePaper display in action!

reTerminal E1002(7.3-inch full color ePaper)

Let's explore a simple example that demonstrates how to draw something on the ePaper display. This example teach you how to draw a line, display words and display shapes.

Step 3. Open the example sketch from the Seeed_GFX library: File > Seeed_GFX > Examples > ePaper > Basic > HelloWrold

Step 4. Create a new file named driver.h and paste the configuration code into it. The code will be generated in next step.

Step 5. Go to the Seeed GFX Configuration Tool, and select what type of device you are using. Take reTerminal E1001 as an example.

Copy the generated code and paste it into the driver.h file you created just now. The code should look like this:

#define BOARD_SCREEN_COMBO 520 // reTerminal E1001 (UC8179)

Step 6. Now you can upload the example to your device and see the ePaper display in action!

Tech Support & Product Discussion

Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.

Loading Comments...