Coder Social home page Coder Social logo

epaper's Introduction

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 = 23
  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

First, a BW(black and white) image is flashed.

After a second, a BWR (black, white, red) image follows.

  • 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: 154, 213, 266, 271, 287, 370, 420, 437
#define SCREEN 271
#include "globalupdate_src/demoImageData.h"
// User Mode Image Set
//#include "globalupdate_src/userImageData.h"
  • Then select the appropriate EPD size, development board and extension kit:
  // EPD_Driver epdtest(eScreen_EPD_271, boardLaunchPad_EXT3);
  // EPD_Driver epdtest(eScreen_EPD_271, boardArduinoM0Pro_EXT2);
  EPD_Driver epdtest(eScreen_EPD_271, boardRaspberryPiPico_RP2040_EXT3);
  // EPD_Driver epdtest(eScreen_EPD_271, boardRaspberryPiPico_RP2040_EXT2);

Tech Support

epaper's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.