Things used in this project

Hardware components:
Ek tm4c123gxl tivalp angle new
TI LaunchPad EK-TM4C123GXL TM4C Tiva LaunchPad
×1
200x200, 1.54inch E-Ink display module
×1
SparkFun IOIO Breadboard Holder
×1
61vhxtmzbyl
AA Batteries
×3
SparkFun Kaplon Tape
×1
Adafruit industries ada830 image 75px
4xAA battery holder
×1
Adafruit industries ada592 image 75px
USB-A to Micro-USB Cable
×1
USB Female Port
×1
Software apps and online services:
Energiabadgelogo2
TI LaunchPad Energia
Ide web
Arduino IDE
Hand tools and fabrication machines:
Hy gluegun
Hot glue gun (generic)
Hand Drill

Schematics

Real Connection
Sch (2) hmln8gdlqh

Code

main.cC/C++
#include <SPI.h>
#include "EPD_drive.h"
#include "EPD_drive_gpio.h"
#include "Display_Lib.h"
int SW1= 17;
int SW2= 31;

int month = 8;
int year = 2017;

WaveShare_EPD EPD = WaveShare_EPD();
void setup() {

  pinMode(CS,OUTPUT);  //  pin 12
   pinMode(DC,OUTPUT);  //  pin 10
   pinMode(RST,OUTPUT); //  pin 09
   pinMode(BUSY,INPUT); //  pin 19
   pinMode(SW1, INPUT_PULLUP);
    pinMode(SW2, INPUT_PULLUP);
// MOSI/DIN is pin 8
// SCK/CLK is pin 11

 // mySPI.beginTransaction(mySPISettings(2000000, MSBFIRST, mySPI_MODE0)); // Use this line if you are using arduino Mega
SPI.begin();
SPI.setModule(0);

// following 3 lines of code is required in Tiva TM4C123, in Arduino Mega remove these 
SPI.setClockDivider(SPI_CLOCK_DIV4);
SPI.setBitOrder(MSBFIRST);
SPI.setDataMode(SPI_MODE0);
     EPD.Dis_Clear_full();

 }

void loop() {
 
    if (digitalRead(SW1)==0|digitalRead(SW2)==0)
  month=month+1; 
    if (month>12)
 { month =1;
  year =year+1;}
  
  print_calendar(month,year);
 
delay(2000);

  
}
E_Ink_display_Calendar.zipArduino
No preview (download only).

Credits

Inductor color code   copy
Shahariar
17 projects • 57 followers
The Material/Worldly Life is void setup () { } The Spiritual/After Life is void loop () { }
Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Sign up / LoginProjectsPlatformsTopicsContestsLiveAppsBetaBlog