diff --git a/README.md b/README.md index 962f71e..12ea9ae 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ See it running at [bird.onethreenine.net](https://bird.onethreenine.net). | Qty | Description | Price | Link | Notes | |-----|-------------|-------|------| ----- | -| 1 | Raspberry Pi (4B / 5 / Zero 2W) | ~$35-80 | [Amazon](https://amzn.to/43yLDZJ) | [See note for RPi20](https://github.com/mcguirepr89/BirdNET-Pi/wiki/RPi0W2-Installation-Guide) | +| 1 | Raspberry Pi (4B / 5 / 3A+ / Zero 2W) | ~$25-80 | [Amazon](https://amzn.to/43yLDZJ) | [See note for 512 MB Pis](https://github.com/mcguirepr89/BirdNET-Pi/wiki/RPi0W2-Installation-Guide) | | 1 | Micro SD Card (≥32 GB) | ~$10 | [Amazon](https://amzn.to/4eGy7te) | | | 1 | USB lavalier microphone | $16.95 | [Amazon](https://amzn.to/4vLSaMK) | | | 1 | Pi power supply | ~$10 | - | | diff --git a/frame/README.md b/frame/README.md index 39e9fc9..47d4dee 100644 --- a/frame/README.md +++ b/frame/README.md @@ -12,12 +12,14 @@ A [Pimoroni Inky Impression 13.3"](https://amzn.to/4xlAWr3) (Spectra 6) mirrorin | Qty | Description | Price | Link | |-----|-------------|-------|------| -| 1 | Raspberry Pi Zero (2) W | ~$35 | [Amazon](https://amzn.to/49Xp58I) | +| 1 | Raspberry Pi 3 A+ or Zero 2 W | ~$25-35 | [Amazon](https://amzn.to/49Xp58I) | | 1 | 13.3" E Ink Display | $299.99 | [Amazon](https://amzn.to/4xlAWr3) | | 1 | A4 Wood Photo Frame | $21.99 | [Amazon](https://amzn.to/3RWFbJE) | | 1 | Long, Flat Micro USB Cable | $7.99 | [Amazon](https://a.co/d/0a59rKSk) | | 1 | Flat USB Brick | $7.59 | [Amazon](https://amzn.to/3S4CtSs) | -| | **Total** | **~$372** | | | +| | **Total** | **~$365** | | | + +The 3 A+ and Zero 2 W are both tested and set up identically; any Pi with the 40-pin header that runs 64-bit Raspberry Pi OS works. The printed backing pressure-fits either board. CAD + 3d print files can be found in [`hardware/`](hardware/). diff --git a/frame/display.py b/frame/display.py index a4e9b4d..44fdc50 100644 --- a/frame/display.py +++ b/frame/display.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 """Frame-Pi client: turn a collage screenshot into Inky panel pixels. -Runs on the Pi Zero W on a systemd timer. Each run it decides whether a +Runs on the frame Pi (a 3 A+ or Zero 2 W) on a systemd timer. Each run it decides whether a refresh is worth it (the species set or call-count brackets changed, and it is not quiet hours), then crops the title and collage from the screenshot, centres and mats them, and pushes the result to the Inky Impression 13.3". @@ -47,7 +47,7 @@ DEFAULTS = { "hours": 24, "image": "", # local PNG written by the shooter "image_url": "", # or a published screenshot URL - "shoot": False, # or capture inline (needs a browser; the Zero 2 W handles it) + "shoot": False, # or capture inline (needs a browser; the 3 A+ and Zero 2 W both handle it) "shoot_title": None, "shoot_subtitle": None, "shoot_headline_px": 42, "shoot_eyebrow_px": 18, "shoot_lowercase": False, "shoot_mat": 0.04, "shoot_small_floor": 0.04, "shoot_count_exp": 0.65, diff --git a/frame/shoot.py b/frame/shoot.py index 3a76138..01d9bd9 100644 --- a/frame/shoot.py +++ b/frame/shoot.py @@ -7,9 +7,9 @@ titles, and rewrites a few of the page's own apt.js tunables at capture time (cluster bias, count-to-size exponent, a rare-bird floor). The result is the actual website, framed for the wall, with no changes to AvianVisitors. -Needs a real headless browser, so it runs on any 64-bit capable machine, NOT -the Pi Zero W driving the panel. Writes a 1200x1600 PNG; display.py turns it -into panel pixels. +Needs a real headless browser, so it runs on any 64-bit capable machine, +including the frame's own Pi (3 A+ / Zero 2 W) but NOT an original ARMv6 +Pi Zero W. Writes a 1200x1600 PNG; display.py turns it into panel pixels. pip install playwright && playwright install chromium python3 shoot.py --url https://bird.onethreenine.net \