Raspberry Pi based Digital Gauge Cluster
Setup steps on Buster Lite:
- raspi-config / Boot Options / Console Autologin
sudo apt-get install libgles2sudo apt-get install --no-install-recommends xserver-xorg x11-xserver-utils xinitsudo apt-get install --no-install-recommends chromium-browsersudo apt-get install uncluttersudo apt-get install default-jdk- Follow all steps on http://skpang.co.uk/catalog/images/raspberrypi/pican/PICAN3_UGA_10.pdf to setup/enable the PiCAN3
- Follow instructions on https://www.raspberrypi.org/forums/viewtopic.php?t=24679#p227301 to set the proper resolution
mkdir ~/pidgc- Put pidgc.jar into ~/pidgc
- Edit
/boot/config.txt. Add:
initial_turbo=60
disable_splash=1
boot_delay=0
- Add
quiet fastbootto/boot/cmdline.txt - Add contents of
linux/network_interfacesfrom repo into file/etc/network/interfaces - Add contents of
linux/.xinitrcfrom repo into file~/.xinitrc - Add contents of
linux/.bash_profilefrom repo into file~/.bash_profile - Copy contents of
linux/pidgc.servicefrom repo into file/etc/systemd/system/pidgc.service sudo systemctl enable pidgc.servicesudo /sbin/ip link set can0 up type can bitrate 500000sudo adduser pi dialout- Disable unused services once everything is done. This decreases boot time substantially:
- sudo systemctl disable ssh
- sudo systemctl disable hciuart
- sudo systemctl disable nmbd # If you have samba installed
- sudo systemctl disable smbd # If you have samba installed
- sudo systemctl disable systemd-timesyncd
- sudo systemctl disable wpa_supplicant
- sudo systemctl disable rpi-eeprom-update
- sudo systemctl disable raspi-config
- sudo systemctl disable networking
- sudo systemctl disable dhcpcd
Now when you reboot the system should start into startx and run Chromium with http://localhost:8080.