Difference between revisions of "Template:2.13inch e-Paper HAT (D) arduino"
From Waveshare Wiki
(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:// | + | *[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:
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:
- Open the test demo: E-Paper_code\Arduino\epd2in13d\epd2in13d.ino
- Select the corresponding Board and Port in the Tools in the Arduino IDE.
- Finally, click upload, the upload is successful as follows (Arduino 1.8.13).