Difference between revisions of "Template:E-paper 2.9 Arduino"
From Waveshare Wiki
m (Text replacement - "https://www.waveshare.com/w/upload/" to "https://files.waveshare.com/upload/") |
|||
Line 28: | Line 28: | ||
==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\epd2in9_V2\epd2in9_V2.ino | *Open the test demo: E-Paper_code\Arduino\epd2in9_V2\epd2in9_V2.ino |
Revision as of 06:51, 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
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\epd2in9_V2\epd2in9_V2.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).