|
|
|
|
|
|
|
# Usage Instructions
|
|
|
|
* Plug HDMI into Beamer
|
|
|
|
* Plug USB into Computer
|
|
|
|
* booting the Raspberry takes approximately ?? seconds. the ?? led will light up when ready
|
|
|
|
* start freeze.exe from the (now attached) USB-Drive
|
|
|
|
* press WindowsKey+Y or PRINTSCREEN to take a screenshot
|
|
|
|
* simply unplug after use
|
|
|
|
|
|
|
|
# Initial setup
|
|
|
|
|
|
|
|
## Parts
|
|
|
|
* Mini-HDMI <-> HDMI Adapter
|
|
|
|
* Mini-USB <-> USB A Cable
|
|
|
|
* Micro-SD-Card >= 2GB
|
|
|
|
* Raspberry Pi Zero or Zero W or Model A (Model B/2B/3 not supported!)
|
|
|
|
|
|
|
|
## Hardware
|
|
|
|
D D (Status LEDs)
|
|
|
|
_______________||||___
|
|
|
|
| :::::::::::::::::::: |
|
|
|
|
| |
|
|
|
|
|_HDMI________USB__PWR_|
|
|
|
|
| | nc
|
|
|
|
v v
|
|
|
|
Beamer PC
|
|
|
|
|
|
|
|
## Build windows snapshot-tool
|
|
|
|
|
|
|
|
cd windows-snapshot-tool
|
|
|
|
mkdir build && cd build
|
|
|
|
cmake -DCMAKE_TOOLCHAIN_FILE=../Toolchain-cross-mingw32-linux.cmake ../
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
|
|
## prepare raspberry pi
|
|
|
|
|
|
|
|
install raspbian lite
|
|
|
|
|
|
|
|
sudo raspi-config
|
|
|
|
* ??
|
|
|
|
* ??
|
|
|
|
|
|
|
|
sudo su -
|
|
|
|
apt update
|
|
|
|
apt dist-upgrade
|
|
|
|
apt install python3-pyinotify python3-rpi.gpio
|
|
|
|
apt clean
|
|
|
|
|
|
|
|
echo "dtoverlay=dwc2" >> /boot/config.txt
|
|
|
|
|
|
|
|
add "console=tty3" to /boot/cmdline.txt
|
|
|
|
(console=tty3 loglevel=3 vt.global_cursor_default=0 logo.nologo
|
|
|
|
|
|
|
|
copy everything to /opt/freezer/
|
|
|
|
add to /etc/rc.local: python3 /opt/freezer/display.py
|
|
|
|
|
|
|
|
### read-only root
|
|
|
|
wget https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/read-only-fs.sh
|
|
|
|
sudo bash read-only-fs.sh
|
|
|
|
* continue: y
|
|
|
|
* jumper: n
|
|
|
|
* gpio-halt: n
|
|
|
|
* watchdog: n
|
|
|
|
* continue: y
|
|
|
|
|
|
|
|
|
|
|
|
### this is how to remount read-write later to make changes to the fs
|
|
|
|
mount -o remount,rw /
|
|
|
|
mount -o remount,rw /boot
|
|
|
|
|
|
|
|
|
|
|
|
## ToDo
|
|
|
|
* bootsplash
|
|
|
|
* dritte led für boot?: dtoverlay=gpio-poweroff,gpiopin=23,active_low
|
|
|
|
* gpio pins ändern
|
|
|
|
* screenshot-tool option für sofortigen screenshot
|