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

程式碼説明

我們使用Good Display GDEH029A1 2.9英寸/ 296×128解析度/部分刷新Arduino範例代碼來成功獲取e-Paper顯示:http://www.good-display.com/product/201.html