Skip to content

Adman1020/esp32-pictureframe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32 picture-frame

Downloads PNG image from the network and displays it on e-ink / e-paper display. An example of a service that generates suitable image is here.

The project uses ESP32 and WaveShare 4.2" 400x300 display described here. The display can be purchased here.

image

Building

The project uses PlatformIO as the development environment.

Configure

Create configuration file under data subdirectory of the the source code repository and configuration file

mkdir -p data
cat > data/config.json <<EOF
{
    "wifi_ap_mode": {
        "ssid": "pictureframe",
        "pass": "esp32frame"
    },
    "image_url": "IMAGE_DOWNLOAD_URL",
    "refresh_period_sec": 600
}
EOF

Note that passphrase must be 8 characters or longer, otherwise SoftAP will fail to initialize correctly and the SSID and PSK for the AP will be corrupted.

Next, generate and upload SPIFF filesystem out of the contents of data directory

pio run -t uploadfs

Compile and flash

Run following commands to compile and flash the program:

pio run -t upload

# run to see debug messages
pio device monitor -b 115200

Credits

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 86.8%
  • C++ 13.2%