Template: 4.2inch e-Paper Module (C) Arduino

From Waveshare Wiki
Revision as of 06:02, 2 September 2023 by Waveshare-admin (talk | contribs) (Text replacement - "https://www.waveshare.com/w/upload/" to "https://files.waveshare.com/upload/")
Jump to: navigation, search

Working With Arduino

Hardware Connection

Use an 8PIN cable to connect, please refer to the pin correspondence table below:

Connect To Arduino
e-Paper Arduino UNO Mega2560
VCC 5V 5V
GND GND GND
DIN D11 D51
CLK D13 D52
CS D10 D10
DC D9 D9
RST D8 D8
BUSY D7 D7

Install IDE

Run The Demo

  • Download the demo in Resource, unzip it to the "E-Paper_code" directory, and you can see the following content:

Arduinos Guides for 4.37 e-Paper 001.jpg

  • Open the test demo: E-Paper_code\Arduino\epd4in2bc\epd4in2bc.ino

Arduinos Guides for 4.2invh c.jpg

  • Select the corresponding Board and Port in the Tools in the Arduino IDE.

Arduinos Guides for 4.37 e-Paper 003.jpg

  • Finally, click upload, the upload is successful as follows (Arduino 1.8.13).

Arduinos Guides for 4.37 e-Paper 004.jpg