ESP32 firwmare which displays computer-rendered picture over network
With this project you can create ESP32 WiFi + Waveshare e-paper network display. With Python script you can send image or using Selenium the whole webpage. Python tool has also simple YAML
configuration for configuration of each display and parameters.
https://twitter.com/hubmartin/status/1337819964238127116 https://twitter.com/hubmartin/status/1335517146256957440
Based on project by https://github.com/danielkucera/esp8266-epaper
This code was ported to ESP32 with these features:
Work in progress:
click
and pyyaml
.. probably more packages :)Use platformio and default working projetct esp32doit-devkit-v1
. The other one with ota
doesn't work for now.
Using defines you set the kind of display.
// Uncomment single display you use
//#define EPAPER_270c
//#define EPAPER_420c
#define EPAPER_750_T7
If you use WaveShare E-Paper ESP32 Driver Board which has different SPI and control pins, uncomment this line.
#define WAVESHARE_ALTERNATE_PINS
Use ./display.py -c <config_file>.yaml
. See the example YAML files in project directory. The YAML file defines:
ip
adress and network port
width
, height
and number of colors
of the displayExample 420c.yaml
config
ip: 192.168.1.50
port: 3333
width: 400
height: 300
colors: 3
url: https://hardwario.com
url-scale: 2
#file_image: lena.png
To load a page you have to define url:
in the YAML file. You can also try optional url-scale
scaling option. Number 3 means that the page is screen-shotted with 3x time bigger resolution than display, then scaled down.
url: https://hardwario.com
url-scale: 3
To load a file use file_image: autumn.jpg