Skip to content

SergeyIndik1982/Instrument_cluster

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

You can also find those topics on our Wiki.

System Architecture

diagram# Instrument_cluster

Components and Environment

Hardware

1732800781849 1732800781113 1732800781309

Software

  • Main application: C++(Qt framework)
  • Firmware(for Arduino): C
  • Host OS(for development): Ubuntu 20.04
  • Raspberry Pi: Rasbian Desktop 64bit
  • IDE: Qt Creator, Arduino IDE
  • Version control: Git

Configuration

Display - WaveShare 7.9inch DSI 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 To activate CAN protocol on Raspberry Pi, you need to run:

sudo ip link set can1 up type can bitrate 500000

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

We tested the prototype both on the stand and on the track, as a result all data is displayed correctly, both speed and battery charge 380765989-d907358c-8378-414e-980e-308d59534e3e 1732800781657 1732800781187

Conclusion

The project is very important for understanding the interaction of sensors with the controller and computer, as well as data transmission via the CAN system, and processing this data for display on the screen

Contributors

https://github.com/isragogreen https://github.com/Clearsu https://github.com/SergeyIndik1982

About

SEA:ME DES 01 Instrument Cluster

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 64.6%
  • QML 19.6%
  • CMake 9.9%
  • Shell 3.2%
  • Dockerfile 2.7%