Problem configuring Waveshare E-Paper ESP32 Driver Board

OldSchool73
Posts: 1
Joined: Tue May 12, 2020 11:45 am

Problem configuring Waveshare E-Paper ESP32 Driver Board

Postby OldSchool73 » Tue May 12, 2020 12:23 pm

Hi

I bought a Waveshare E-Paper ESP32 Driver Board (https://www.waveshare.com/wiki/E-Paper_ ... iver_Board) together with a Waveshare 2.13 inch display. The board works nicely with the example Arduino code from Waveshare.

However I wanted to use esp-idf with the epaper.h library, but I can't get it to work.
I can compile and flash my program, but it seems that BUSY_PIN is always low => busy. Therefore the program loops in an endless loop.

I'm not sure if the GPIOs I got from the Arduino config and from the manual are correct.

Here is my Config:
#define MOSI_PIN 14
#define MISO_PIN 19 // guess not used
#define SCK_PIN 13
#define BUSY_PIN 25
#define DC_PIN 27
#define RST_PIN 26
#define CS_PIN 15

Does anyone have the board running? If so, what library do you use and how have you configured the SPI PINs?

Thanks in advance
Tobias

konstantin.schubert
Posts: 1
Joined: Sat Aug 29, 2020 7:58 pm

Re: Problem configuring Waveshare E-Paper ESP32 Driver Board

Postby konstantin.schubert » Sat Aug 29, 2020 8:02 pm

Hi Tobias,

which epaper.h library are you referring to? And did you get it to work in the end?

Cheers
Konstantin

User avatar
fasani
Posts: 195
Joined: Wed Jan 30, 2019 12:00 pm
Location: Barcelona
Contact:

Re: Problem configuring Waveshare E-Paper ESP32 Driver Board

Postby fasani » Wed Apr 07, 2021 9:08 am

Hi Tobias,

I made a repository that supports many epaper models including the one that you are using. The repository + dependencies all together with test examples is here:
https://github.com/martinberlin/cale-idf

Now if you want to use only the epaper component for ESP-IDF you can use this one as a git submodule in the components folder:
https://github.com/martinberlin/CalEPD

Good luck! Let us know if it worked for you
epdiy collaborator | http://fasani.de Fan of Espressif MCUs and electronic design

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 258 guests