Raspberry Pi based Digital Gauge Cluster by Josh Ellis / josh@ellis.sh
Please Note: This library is designed for the Raspberry Pi 3B, a custom built PCB, and a 1280x480 display. It will look weird on other displays and won't function without those components.
This repository is a total rewrite of the PiDGC codebase. The kotlin hardware interface has been removed, and all code is now in either the microcontroller (Teensy 4.1) or the Qt application running on the RPi. These changes were made to simplify the system and significantly shorten the boot time.
In order to reduce the boot time significantly, this version of the gauge cluster uses buildroot. A fork of the configuration made by Furkan Tokaç is the basis of this build, so many thanks for the reduced boot time go to him! Please go and check out his work, it's great.
Since this is a buildroot build and no binaries are provided, you must build the image for the Raspberry Pi 3 yourself. This isn't a complicated process, but does require either a Linux system or WSL2.
These are high level steps only. If you have questions about how to do any step, please Google it.
cdinto thebuildrootdirectorymake pidgc_defconfigmake -j8./build-rpi3-qt.sh- Setup Qt Creator to use the qmake found in
buildroot/output/qt/qt-everywhere-src-*/aaaout/bin/qmakeand compile for the Raspberyr Pi 3. - Open
source/displayin Qt Creator and compile for RPi3. - Run
make -j8again. This should pull in therpi3-display/displaybinary and create thesdcard.imginbuildroot/output/images/sdcard.img. - Burn the image file to a micro SD card.
- All done!
The PCB was designed in EAGLE, and is located in files/PiDGCv2-pcb