Introduction

Installation

Download the ZIP file of this library and install as instructed in Arduino or Energia.

Hardware Setup

  • If using Launchpad (Tiva-C) with TM4C123 or MSP432P401R, the SPI pins are by default:

// Using EXT3
    SCK = 7     // BROWN
    BUSY = 11   // RED
    D/C = 12    // ORANGE
    RST = 13    // YELLOW
    MOSI = 15   // BLUE
    ECSM = 19   // GRAY
    
 // Using EXT2
    SCK = 7    
    BUSY = 8  
    D/C = 9
    RST = 10
    MOSI = 15
    ECSM = 19
    PNLON = 11
    BS = 17
  • If using Arduino M0 Pro,

  SCK = 13 
  BUSY = 4  
  D/C = 5
  RST = 6
  MOSI = 12
  ECSM = 8
  PNLON = 11	only for EXT2
  BS = 9	only for EXT2
  • If using Raspberry Pi Pico,

  SCK = 18 
  BUSY = 13  
  D/C = 12
  RST = 11
  MOSI = 19
  ECSM = 17
  PNLON = 8	only for EXT2
  BS = 7	only for EXT2
  • If using ESP32DevKitC,

  SCK = 18 
  BUSY = 27  
  D/C = 26
  RST = 25
  MOSI = 19
  ECSM = 32
  PNLON = 16	only for EXT2
  BS = 17	only for EXT2

For further wiring guidance, check out the User Manuals of EXT2 and EXT3.

EPD_Driver Demo

  • The demo currently includes sample images for all the supported EPD sizes mentioned above. To implement global update demo on these other sizes, update the following lines

//------------------------------------------------------------
// DEMO Image Set <Comment out when in User Mode>
// Screen Size: 970, 1200
#define SCREEN 970
#include "globalupdate_src/demoImageData.h"
  • Then select the appropriate EPD size, development board and extension kit:

	EPD_Driver epdtest(eScreen_EPD_969, boardESP32DevKitC_EXT3);
	// EPD_Driver epdtest(eScreen_EPD_B98, boardESP32DevKitC_EXT3);

Tech Support

GitHub

View Github