inkplate13/diagnostics/gallery

Example of the component solderedelectronics/inkplate v1.1.0
# Gallery

SD card image gallery with deep sleep on Soldered Inkplate 13SPECTRA.

## Overview

Initializes the microSD card, scans the root directory for image files (BMP, JPG, PNG), picks one at random, displays it on the e-paper screen, then enters deep sleep for 5 minutes before waking and repeating. Acts as a low-power digital picture frame.

## Hardware Required

- Soldered Inkplate 13SPECTRA
- USB cable
- MicroSD card (FAT32 formatted) with BMP, JPG, or PNG images

## Setup

### 1. Prepare the SD card

Copy BMP, JPG, or PNG images to the root of a FAT32-formatted microSD card.

### 2. Select the board

Run `idf.py menuconfig` and navigate to:
**Inkplate Boards → Inkplate13**

## Build and Flash

```
idf.py build
idf.py -p PORT flash monitor
```

## Expected Output

- A randomly selected image from the SD card displayed on screen.
- Board enters deep sleep for 5 minutes, then wakes and picks a new image.

## Notes

- Deep sleep resets normal RAM; the whole program runs in `app_main` each wakeup.
- Hidden files and files without a supported extension are ignored.
- Adjust `TIME_TO_SLEEP_US` in `main.cpp` to change the refresh interval.

## Resources

- Docs: https://docs.soldered.com/inkplate
- Support: https://forum.soldered.com/
- Image tool: https://tools.soldered.com/tools/image-converter/

To create a project from this example, run:

idf.py create-project-from-example "solderedelectronics/inkplate=1.1.0:inkplate13/diagnostics/gallery"

or download archive (~3.23 KB)