In this example, we use the Ameba RTL8722 module to connect to a Waveshare 2.9-inch e-Paper module to display a few QR codes. The display uses the flexible substrate as base plate, with an interface and a reference system design.
The 2.9” active area contains 296 x 128 pixels and has 1-bit white/black full display capabilities. An integrated circuit contains gate buffer, source buffer, interface, timing control logic, oscillator, etc… are supplied with each panel.
You may refer to the official 2.9 inch e-Paper HAT(D) datasheet to know more information about this module.
Next, go to “Tools” -> “Board” -> “Boards Manager” to install AmebaD package.
Find “Realtek Ameba Boards (32-bits ARM Cortex-M33 @200MHz)” in the list, click “Install”, then the Arduino IDE starts to download required files for AmebaD.
2
Connection between AMB23 and E-paper Display
Take a look at the pin diagram.
AMB21 / AMB22:
AMB23:
BW16:
BW16 type C:
and connect accordingly.
3
Prepare picture/photo
Firstly, you need to prepare a picture/photo in the format of 296×128 pixels. We can easily find a photo resizing tool online.
Following the instructions on the website, then download the generated image in JPG format.
Secondly, we use the Image2LCD tool to transfer the downloaded 296×128 image into hexadecimal codes. You can visit this YouTube link to get detailed instructions.