Skip to content

North101/pico-frame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PicoFrame

This code is designed to run on a Pimoroni Inky Frame paired with the server code.

It will grab a random image from the server every hour (by default) and display it.

If it is unable to connect to wifi or the A button is pressed on boot, it will enter Acess Point mode allowing you to connect to it and enter the wifi details.

Installing via mpremote

Install mpremote

pip install mpremote

Connect your inkyframe and find its id

mpremote devs

Copy over the required files

./run.sh $id

Config

# Name of the Access Point when it is unable to connect to wifi
AP_NAME = 'PicoFrame'
# Access Point password (min 8 characters, max 63)
AP_PASSWORD = None
# Access Point domain for entering wifi credentials
AP_DOMAIN = 'http://picoframe.net'
AP_TEMPLATE_PATH = 'ap_templates'

# Name of the file containing wifi credentials
WIFI_FILE = 'wifi.json'
# Max number of attempts connecting to wifi before entering AP mode
WIFI_MAX_ATTEMPTS = 3

# API Key used to protect server endpoints
API_KEY = ''

# Url to get a random image
IMAGE_URL = ''
# Directory to store the current image.
# Use /sd/ if you are using an SD card
IMAGE_DIR = '/images'
# How often to display a new image (in minutes)
IMAGE_UPDATE_INTERVAL = 60

Frame Kit

I've designed a frame kit to allow the Inky Frame 7.3 to be displayed in a picture frame.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published