E-paper - 显示文字

材料准备

  • AmebaD [AMB21 / AMB22 / AMB23 / BW16] x 1

  • Waveshare 2.9inch e-Paper HAT (D) x 1

范例说明

在此范例中,我们使用Ameba RTL8722模块连接到Waveshare 2.9英寸e-Paper来显示一些QR码。

2.9英寸有效区域包含296×128像素,并具有白色/黑色全显示功能。每个面板都提供了一个包含gate buffer, source buffer, interface, timing control logic, oscillator等的集成电路。

您可以参考官方的 2.9 inch e-Paper HAT(D) datasheet ,以了解有关此模块的更多信息。

e-Paper模块:

../../../../_images/image146.png

AMB21 / AMB22 接线图:

../../../../_images/image243.png ../../../../_images/image329.png

AMB23 接线图:

../../../../_images/image2-11.png ../../../../_images/image3-11.png

BW16 接线图:

../../../../_images/image2-21.png ../../../../_images/image3-21.png

BW16-TypeC Wiring Diagram:

../../../../_images/image3-31.png

Download the Eink zip library, AmebaEink.zip, at https://github.com/ambiot/tree/master/Arduino_zip_libraries Then install the AmebaEink.zip. Open the “DisplayQR” example in “File” “Examples” “AmebaEink” “EinkDisplayText”:

../../../../_images/image421.png

将代码上传到开发板,上传完成后按重置按钮。就可以看到这些文字:

../../../../_images/image51.jpeg

程式码说明

[1] 我们使用Good Display GDEH029A1 2.9英寸/ 296×128解析度/部分刷新Arduino范例代码来成功获取e-Paper显示:http://www.good-display.com/product/201.html