{"id":20236757,"url":"https://github.com/vedantparanjape/esp-epaper-display","last_synced_at":"2025-04-10T19:11:17.371Z","repository":{"id":47333972,"uuid":"296017656","full_name":"VedantParanjape/esp-epaper-display","owner":"VedantParanjape","description":"ESP-IDF component for waveshare epaper displays","archived":false,"fork":false,"pushed_at":"2024-11-04T16:08:39.000Z","size":8589,"stargazers_count":27,"open_issues_count":3,"forks_count":16,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T16:52:05.316Z","etag":null,"topics":["c","embedded","epaper-displays","esp-idf","esp32","waveshare"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VedantParanjape.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-16T11:53:09.000Z","updated_at":"2025-01-13T12:43:01.000Z","dependencies_parsed_at":"2024-11-04T17:30:52.998Z","dependency_job_id":null,"html_url":"https://github.com/VedantParanjape/esp-epaper-display","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VedantParanjape%2Fesp-epaper-display","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VedantParanjape%2Fesp-epaper-display/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VedantParanjape%2Fesp-epaper-display/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VedantParanjape%2Fesp-epaper-display/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VedantParanjape","download_url":"https://codeload.github.com/VedantParanjape/esp-epaper-display/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248279675,"owners_count":21077408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","embedded","epaper-displays","esp-idf","esp32","waveshare"],"created_at":"2024-11-14T08:23:04.709Z","updated_at":"2025-04-10T19:11:17.353Z","avatar_url":"https://github.com/VedantParanjape.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/VedantParanjape/esp-epaper-display\"\u003e\n    \u003cimg src=\"assets/logo.png\" alt=\"Logo\" width=\"400\" height=\"200\"\u003e\n  \u003c/a\u003e\n\n  \u003cp align=\"center\"\u003e\n    ESP-IDF component for Waveshare epaper displays\n    \u003cbr/\u003e\n    \u003cbr/\u003e\n    \u003ca href=\"https://github.com/VedantParanjape/esp-epaper-display/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/VedantParanjape/esp-epaper-display/issues\"\u003eRequest Feature\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/VedantParanjape/esp-epaper-display/pulls\"\u003eSend a Pull Request\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://img.shields.io/github/stars/VedantParanjape/esp-epaper-display\"\u003e\n\u003cimg src=\"https://img.shields.io/github/forks/VedantParanjape/esp-epaper-display\"\u003e\n\u003cimg src=\"https://img.shields.io/github/issues/VedantParanjape/esp-epaper-display\"\u003e\n\u003cimg src=\"https://img.shields.io/github/repo-size/VedantParanjape/esp-epaper-display\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"assets/output_o3.gif\"\u003e\n\u003c/p\u003e\n\n# ESP32 Epaper Display component\nESP-IDF Component for driving waveshare's epaper displays. This is a port of Waveshare's official code for driving epaper display.     \n* [ ] [1.02\" D module](https://www.waveshare.com/wiki/1.02inch_e-paper_Module)    \n* [x] [1.54\" V2 module](https://www.waveshare.com/wiki/1.54inch_e-Paper_Module)   \n* [ ] [1.54\" B module](https://www.waveshare.com/wiki/1.54inch_e-Paper_Module_(B))    \n* [ ] [1.54\" C module](https://www.waveshare.com/wiki/1.54inch_e-Paper_Module_(C))    \n* [ ] [2.13\" V2 module](https://www.waveshare.com/wiki/2.13inch_e-Paper_HAT)    \n* [ ] [2.13\" B module](https://www.waveshare.com/wiki/2.13inch_e-Paper_HAT_(B))   \n* [ ] [2.13\" C module](https://www.waveshare.com/wiki/2.13inch_e-Paper_HAT_(C))   \n* [x] [2.13\" D module](https://www.waveshare.com/wiki/2.13inch_e-Paper_HAT_(D))   \n* [x] [2.66\" module](https://www.waveshare.com/wiki/2.66inch_e-Paper_Module)    \n* [x] [2.7\" module](https://www.waveshare.com/wiki/2.7inch_e-Paper_HAT)   \n* [ ] [2.7\" B module](https://www.waveshare.com/wiki/2.7inch_e-Paper_HAT_(B))   \n\n\n## Installation\n\n```\ncd \u003cyour_esp_idf_project\u003e\nmkdir components\ncd components\ngit clone https://github.com/VedantParanjape/esp-epaper-display.git epaper\n```\n\nChange CMakeList.txt to add the line given below:\n\n`set(EXTRA_COMPONENT_DIRS \u003crelative_path_to_component_folder\u003e)`\n\ncomponent folder must contain `epaper` component\n\n## Configuration\n\nSet the pins used and appropriate display module used in menuconfig\n\n```bash\nidf.py menuconfig\n```\n\nSetting present at: `Component config --\u003e  E-Paper display configuration`\n\n#### Pin setting\nPath: `Component config --\u003e  E-Paper display configuration`\n\n![](assets/pin_config.png)\n\n#### Display model setting\nPath: `Component config --\u003e  E-Paper display configuration --\u003e Display Type`\n\n![](assets/display_model_config.png)\n\n## Example code\n\nExample app: https://github.com/VedantParanjape/esp-component-examples/tree/master/esp-epaper-example\n\n```c\n#include \"epaper.h\"\n#include \"esp_log.h\"\n#include \"freertos/FreeRTOS.h\"\n#include \"freertos/task.h\"\n#include \"driver/timer.h\"\n\n#define COLORED     0\n#define UNCOLORED   1\n\nextern \"C\" void app_main() \n{\n  Epd epd;\n\n  unsigned char* frame_ = (unsigned char*)malloc(epd.width * epd.height / 8);\n\n  Paint paint_(frame_, epd.width, epd.height);\n  paint_.Clear(UNCOLORED);\n\n  ESP_LOGI(\"EPD\", \"e-Paper init and clear\");\n  epd.LDirInit();\n  epd.Clear();\n\n  vTaskDelay(2000);\n  int d = 3;\n  for (char i = '0'; i \u003c= '9'; i++)\n  {\n    paint_.DrawCharAt(d, d, i, \u0026Font20, COLORED);\n    epd.DisplayPart(frame_);\n    vTaskDelay(100);\n    d = d + 20; \n  }\n  epd.Sleep();\n}\n\n\n```\n\n# Credits\n* Thanks to [ayoy](https://github.com/ayoy), Adapted the code for other display models using this [project](https://github.com/ayoy/esp32-waveshare-epd).\n* Thanks to waveshare for sharing [arduino codes](https://github.com/waveshare/e-Paper/tree/master/Arduino) for epaper displays.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvedantparanjape%2Fesp-epaper-display","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvedantparanjape%2Fesp-epaper-display","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvedantparanjape%2Fesp-epaper-display/lists"}