Linux setup and control scripts to run "Die drei Jahreszeiten" diorama / multimedia installation with all connected peripherals: 3x Audio Speakers, Waveshare 7.8inch e-Paper HAT via IT8951 controller, 3x Waveshare 11.9inch LCD via HDMI, 3x Arduino Nano controlling motors via Ethernet, 90x90cm LCD display with BrightSign controller via Ethernet.
- Tested on ASRock DeskMini 310 with Intel Core i7 8700T CPU, Samsung 970 Evo Plus 500GB and 16GB G.Skill Ripjaws memory
- Operating System: Ubuntu Server 22.04.2
- SSH for remote access
192.168.1.100
Main computer192.168.1.111
Bright Sign LCD Screen192.168.1.112
Arduino Nano (Servo & Rotation Motors)192.168.1.113
Arduino Nano (Stepper Motors)192.168.1.114
Arduino Nano (LEDs)
ffmpeg
- X11 with
xinit
andxterm
mplayer
aplay
figlet
tmux
- it8951-video
- rkpzavav
git clone https://github.com/adzialocha/dreijahreszeiten
ln -s ./dreijahreszeiten/.bashrc .
# etc.
Edit /etc/netplan/00-installer-config.yaml
network:
version: 2
ethernets:
eno1:
optional: true
dhcp4: false
dhcp6: false
addresses:
- 192.168.1.100/24
nameservers:
addresses:
- 192.168.1.1
- 8.8.8.8
routes:
- to: default
via: 192.168.1.1
- Edit
/etc/systemd/logind.conf
- Change values to
NAutoVTs=6
andReserveVT=7
, uncomment both of them - Create the following folder:
sudo mkdir /etc/systemd/system/getty@tty1.service.d/ sudo vim /etc/systemd/system/getty@tty1.service.d/override.conf
- Edit contents of
override.conf
file:[Service] ExecStart= ExecStart=-/sbin/agetty --noissue --autologin <your user name> %I $TERM Type=idle
echo "options snd_hda_intel power_save=0" | sudo tee -a /etc/modprobe.d/audio_disable_powersave.conf