Skip to content

Lihauzer/Instrument_cluster

 
 

Repository files navigation

Instrument_cluster

This project involves the implementation of an instrument cluster as the second DES (Distributed Embedded Systems) project in the SEA:ME curriculum.

Overview

An instrument cluster, also known as a dashboard cluster or gauge cluster, is a critical component of a vehicle’s dashboard. It provides the driver with essential information about the vehicle’s status and performance through various gauges, indicators, and warning lights. Here, we implement an instrument cluster showing real-time speed data on a screen with GUI.

Theoratical Background

CAN bus protocol

Speed sensor

Qt framework its tools for GUI

What is Bare Metal?

System Architecture

Software Design

Configuration

Display - WaveShare 7.9inch SDI LCD

After we have written RaspberryPi OS (Debian Bookwarm, 64bit) to a sd card, we have added lines below to 'config.txt' at the root of the sd card file system. And ejected the sd card and boot up our Raspberry Pi, and we were able to see the display working as expected.

(...)
# WaveShare 7.9inch LCD
dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-dsi-waveshare-panel,7_9_inch

SeeedStudio 2-CH CAN HAT for Raspberry Pi

Followed instructions on here

Auto start Instrument Cluster at booting

# /etc/xdg/autostart/InstrumentCluster.desktop

[Desktop Entry]
Type=Application
Exec=/home/pi/InstrumentCluster
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=InstrumentCluster
Name=InstrumentCluster
Comment[en_US]=Start Instrument Cluster at startup
Comment=Start Instrument Cluster at startup

Result

Conclusion

Contributors

About

SEA:ME DES 01 Instrument Cluster

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 71.6%
  • CMake 16.5%
  • Shell 7.0%
  • Dockerfile 4.9%