You are using staging server - a separate instance of the ESP Component Registry that allows you to try distribution tools and processes without affecting the real registry.

crosser/esp-lcd-panel-uc8179

0.1.0

Latest
uploaded 1 day ago
ESP LCD UC8179 e-paper driver

readme

# esp\_lcd\_panel driver for e-paper panels based on UC8179

Developed using

- Waveshare 5in83 panel V2

Probably will work with

- Good Display model GDEY0583T81
- Waveshare 7in5 panel V2

Possibly with other e-paper panels that use UC8179 IC

# Design and use

For SPI-driven E-Paper displays, existing esp-idf framework for LCD displays
is almost, but not entirely, sufficient. Like with LCD / OLED panels, MCU
needs to transfer image pixmap (bitmap in the case of B/W e-paper) data
to the panel's memory over SPI. But unlike LCD/OLED, e-paper panels typically
need to be "refreshed" via a separate SPI transaction _after_ image data has
been transferred. After this command is sent, display spends some seconds
refreshing the picture, and reports completion by changing state of a
dedicated GPIO pin.

Thus, program flow cannot rely on the callback notification sent by the
esp-lcd framework once SPI transfer is complete, but need to keep track
of the "refresh complete" GPIO notification.

This driver uses SPI callback to issue "refresh" command. User program
_must not_ register such callback. Instead the user program may register
driver-specific callback that will be called when refresh is complete.

Also, the calling program _must_ issue `gpio_install_isr_service()` as
it is used by the driver.

See examples for supported workflow.

# Inspiration

[esp-bsp driver for ssd1681](
https://github.com/espressif/esp-bsp/tree/master/components/lcd/esp_lcd_ssd1681
)

Working Arduino code ${Arduino}/libraries/esp32-waveshare-epd/src/

[github repo](https://github.com/waveshareteam/e-Paper)

Links

Supports all targets

License: Apache 2.0

To add this component to your project, run:

idf.py add-dependency "crosser/esp-lcd-panel-uc8179^0.1.0"

download archive

Stats

  • Archive size
    Archive size ~ 42.85 KB
  • Downloaded in total
    Downloaded in total 0 times
  • Downloaded this version
    This version: 0 times

Badge

crosser/esp-lcd-panel-uc8179 version: 0.1.0
|