Skip to content

A lightweight image sender library for ZigBee USB sticks running the cc2531-OEPL OpenEPaperLink station firmware.

License

Notifications You must be signed in to change notification settings

leso-kn/epaper-central

Repository files navigation

epaper-central banner

libepaper-central

A lightweight image sender library for ZigBee USB sticks running the cc2531-OEPL OpenEPaperLink station firmware.

About

This C library acts as a serial-driver for CC2531-based ZigBee USB sticks. It can be used to transmit bi-color images to hacked supermarket price-tags via the OpenEPaperLink protocol (tested with OpenEPaperLink v1.9.0).

The data-source are generic rgb pixel-arrays, which could be fully generated in memory with no need for intermediate files.

API

To integrate libepaper-central in your project, head over to the docs.

Usage (command-line)

The library comes with a standalone reference-program "epaperd" which picks up PPM images (P6) from a folder and sends them to nearby OpenEPaperLink displays.

The program will check for files named after tag mac addresses (e.g. 00112233aabbccdd.ppm for a tag with mac address 00:11:22:33:aa:bb:cc:dd) and falls back to default.ppm if no specific image exists for a tag – in this case the mac address will be visible on the display in addition until an applicable .ppm-file becomes available in the cache folder.

> epaperd [/cache/directory]

Compatible Hardware

The library is compatible with CC2531-based ZigBee USB sticks running the cc2531-OEPL station firmware.

The firmware can be obtained from Jonas Niesners OpenEPaperLink repository – for flashing there's several options available:

  1. Using a proprietary CC Debugger adapter
  2. Using a Raspberry Pi (or other single-board computer) via cc2531-flasher-pi
  3. Using an esp32 (see https://youtu.be/98fOzZs__fc)

License

libepaper-central is licensed under the MIT License.

Changelog

v0.2.0

  • Pixmap format optimizations (Improved refresh speed)
  • epaperd: Added command line option "-D" to specify ZigBee radio device
  • epaperd: Display error message if serial device cannot be opened
  • Fix: Fixed minor offset between black and red pixels

v0.1.1

  • Fix: Added fallback install dirs in CMake configuration (#1)
  • Docs: Added build instructions page

v0.1.0

  • Initial version of the library
    • Transmit images from generic rgb pixel-arrays
    • Simple "epaperd" reference-program to load .ppm-images from a folder and transmit them to price-tags

Created by Lesosoftware in 2023

About

A lightweight image sender library for ZigBee USB sticks running the cc2531-OEPL OpenEPaperLink station firmware.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published