wemos / LOLIN_EPD_Library

Arduino library for the LOLIN e-paper display
32 stars 18 forks source link

pins connections for D32 pro? #8

Open juanpabloaj opened 5 years ago

juanpabloaj commented 5 years ago

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 commented 5 years ago

@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?