Difference between revisions of "Template:2.13inch e-Paper HAT (D) arduino"

From Waveshare Wiki
Jump to: navigation, search
(Created page with " =Working With Arduino= ==Hardware Connection== Use an 8PIN cable to connect, please refer to the pin correspondence table below:<br/> {|border=1; style="border:#7eb128; width...")
 
m (Text replacement - "https://www.waveshare.com/w/upload/" to "https://files.waveshare.com/upload/")
Line 28: Line 28:
 
[https://www.waveshare.com/wiki/Arduino_ide_download Arduino IDE Windows Install Guide]
 
[https://www.waveshare.com/wiki/Arduino_ide_download Arduino IDE Windows Install Guide]
 
==Run The Demo==
 
==Run The Demo==
*[https://www.waveshare.com/w/upload/3/39/E-Paper_code.7z Download the demo] in Resource, unzip it to the "E-Paper_code" directory, and you can see the following content:
+
*[https://files.waveshare.com/upload/3/39/E-Paper_code.7z Download the demo] in Resource, unzip it to the "E-Paper_code" directory, and you can see the following content:
 
[[File:Arduinos Guides for 4.37 e-Paper 001.jpg]]<br/>
 
[[File:Arduinos Guides for 4.37 e-Paper 001.jpg]]<br/>
 
*Open the test demo: E-Paper_code\Arduino\epd2in13d\epd2in13d.ino
 
*Open the test demo: E-Paper_code\Arduino\epd2in13d\epd2in13d.ino

Revision as of 06:01, 2 September 2023

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

Arduino IDE Windows Install Guide

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\epd2in13d\epd2in13d.ino

Arduinos Guides for 2.13f.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