Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 995 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 995 Bytes

DriverHUD

Displays information in the car for the driver to see such as speed, battery, and the rearview camera. Designed to run on two 800x480 resolution displays in the chromium browser on a Raspberry Pi 4. Requires flask to run (pip3 install flask).

Config files

These are files that need to be configured throughout the OS for the DriverHUD to work

  • config.txt: This configures the resolution of the displays. Append to the existing file in /boot (can also be accessed on microSD directly in Windows).
  • driverhud-flask.service: This is used to automatically start the Flask server on boot. Place in /lib/systemd/system/.
  • autostart: This removes the cursor (sudo apt-get install unclutter) and prevents screen saver. Place in /home/pi/.config/lxsession/LXDE-pi (may need to create some of those directories)
  • start-hud.sh: This is called by autostart and opens a chromium browser in fullscreen to the correct URL on each monitor. Place in /home/pi.