Use the Waveshare ePaper display Wifi example to automate image uploads
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Norman Köhring 6f3979d6d0 first steps towards image generation 11 months ago
orig init 11 months ago
.gitmodules first steps towards image generation 11 months ago
README.md init 11 months ago
deno.jsonc first steps towards image generation 11 months ago
deno.lock first steps towards image generation 11 months ago
dither.ts init 11 months ago
generate-image.ts first steps towards image generation 11 months ago
generated-image.png first steps towards image generation 11 months ago
main.ts init 11 months ago
main_test.ts init 11 months ago
monofur.ttf first steps towards image generation 11 months ago
test.png init 11 months ago
transmit.ts init 11 months ago

README.md

Info Display

This Deno application transforms (resizes and dithers) and image and sends the image to Waveshare's E-Paper ESP32 driver board. For it to work, you need the original wifi example code to be loaded on the board. The code is derived from the wifi example web app, but specialized for the Waveshare 7.5 V2 monochrome display.

Usage

# just send the image to the display
deno --allow-read --allow-net main.ts /path/to/original/image

# store dithered image on disk, before sending
deno --allow-read --allow-write --allow-net main.ts /path/to/original/image /path/to/output.image