Waveshare e-Paper on Orange Pi Zero LTS

Recommended Posts

I am trying to use a Waveshare e-Paper (2.9") with an Orange Pi Zero LTS. To enable the SPI interface, I have added this to /boot/armbianEnv.txt:

overlays=spi-add-cs1 spi-spidev

and installed WiringPI from Github. The e-Paper module is connected to the following GPIO pins:

VCC: 3.3V
DIN: 19(phys)/11(wPi)
CLK: 23(phys)/14(wPi)
CS: 24(phys)/15(wPi)
DC: 22(phys)/13(wPi)
RST: 3(phys)/0(wPi)
BUSY: 5(phys)/1(wPi)

I have checked the connections by using the gpio command line tool to set all 6 ports above to low and to high, and verifying the output with a multimeter.


Then I downloaded the e-Paper software from Github, and made it compatible with the Orange Pi via the following changes to lib/Config/DEV_Config.c:

1. In DEV_Equipment_Testing(void), comment out the code that checks if the file /etc/issue contains the string "Raspian"
3. Uncomment "if(wiringPiSetup() < 0)", add a curly open brace, and comment out the line after.
4. Change "wiringPiSPISetup(0,10000000);" into "wiringPiSPISetup(1,10000000);" to use spidev1.0

When I run this e-Paper example, nothing happens on the e-Paper display, although I can detect voltage changes on the GPIO ports with a multimeter. The same software works on a Raspberry Pi without problems. Any hints are appreciated!

Edited by Cumulus
Link to post
Share on other sites
Donate and support the project!

Hi @Cumulus,


It has been a while since you wrote this message, so I guess you solved it by now.


I have an Orange Pi Lite and I recently bought a Waveshare e-Paper 2.13" V2.


After a few hours and some reading on the internet, I found the right modifications to make it work with that setup.


Feel free to have a look at https://github.com/Masatrad-com/e-Paper/tree/master/OrangePi



Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.