Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pins connections for D32 pro? #8

Open
juanpabloaj opened this issue Apr 28, 2019 · 1 comment
Open

pins connections for D32 pro? #8

juanpabloaj opened this issue Apr 28, 2019 · 1 comment

Comments

@juanpabloaj
Copy link

juanpabloaj commented Apr 28, 2019

Hi, I'm trying to connect D32 pro with the lolin epaper display, with the example

https://github.com/wemos/LOLIN_EPD_Library/blob/master/examples/graphicstest_2_13_inch_250x122/graphicstest_2_13_inch_250x122.ino

I'm using these pin connections

3.3V -> 3.3V
BUSY -> None
CS -> 14
SCK -> 18
MOSI -> 23
DC -> 27
RST -> 33 
GND -> GND

pins

but I don't see any change on the epaper display.
Any suggestion is welcome. Thanks

PD: where can I find the pin connection for this epaper and the D1 mini pro?

@mike2nl
Copy link

mike2nl commented May 4, 2019

@juanpabloaj
have you done the changes in the source code?

/D32 Pro/
// #define EPD_CS 14
// #define EPD_DC 27
// #define EPD_RST 33 // can set to -1 and share with microcontroller Reset!
// #define EPD_BUSY -1 // can set to -1 to not use a pin (will wait a fixed delay)

LOLIN_IL3897 EPD(250, 122, EPD_DC, EPD_RST, EPD_CS, EPD_BUSY); //hardware SPI

// #define EPD_MOSI D7
// #define EPD_CLK D5
// LOLIN_IL3897 EPD(250,122, EPD_MOSI, EPD_CLK, EPD_DC, EPD_RST, EPD_CS, EPD_BUSY); //IO

To....
/D32 Pro/
#define EPD_CS 14
#define EPD_DC 27
#define EPD_RST 33 // can set to -1 and share with microcontroller Reset!
#define EPD_BUSY -1 // can set to -1 to not use a pin (will wait a fixed delay)

//LOLIN_IL3897 EPD(250, 122, EPD_DC, EPD_RST, EPD_CS, EPD_BUSY); //hardware SPI

#define EPD_MOSI D7
#define EPD_CLK D5
LOLIN_IL3897 EPD(250,122, EPD_MOSI, EPD_CLK, EPD_DC, EPD_RST, EPD_CS, EPD_BUSY); //IO

Your question nr. 2:
where can I find the pin connection for this epaper and the D1 mini pro?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants