物联网墨水屏Gallery_老金

物联网墨水屏
电子纸显示屏

Model 7 color gdey073d46


  • Size: 800 * 480 7.3" Black/Red/Yellow/Blue/Green/Orange (7 colors considering white)

  • Controller: SPD1656(Not 100% sure if it's this one but acts same as anothers I already had implemented for this controller)

  • Status: Implemented and available on branch 66/gdey073d46 (Tested and working)

  • Refresh time: 32 seconds

  • Partial update: Not supported as in most of the color epapers.

DEMOS available in this repository

  1. cale-7-color.cpp -> Using CALE.es you can just add a 800*480 screen and use 4 or 24 bit-depth BMP output to download a WiFi image Using idf.py menuconfig you need to previously set the WiFi configuration and your bmp cale URL

  2. demo-7-colors.cpp will just print some random color squares and some text.

Statistics

STATS (ms)4358 _wakeUp settings+send Buffer2027 _powerOn6385 total time in millis

Additional specifications

Note that this epapers are good to make a colorful sign for a store but they are not perfect for rendering full quality photos. Still they will make a nice and surprising good enough photo-portrait with their limited colors if you use a good dithering. That's why we recommend to try CALE since it has different dithering options using Image Magick included.

Implementation example

#include<gdey073d46.h> EpdSpi io; gdey073d46 display(io); uint16_trandomColor() {   srand(esp_timer_get_time());   uint8_trandom = rand()%5;   uint16_t color = 0x33;   switch (random)   {   case0:      color = EPD_GREEN;      break;      case1:      color = EPD_RED;      break;   case2:      color = EPD_ORANGE;      break;   case3:      color = EPD_YELLOW;      break;   case4:      color = EPD_BLUE;      break;   case5:      color = EPD_BLACK;      break;   }   return color; } voidapp_main() {    // Test Epd class. true to enable debug    display.init(false);    display.fillScreen(randomColor());    display.update(); }


评论