nusje2000 / digital-dashboard

A digital dashboard to be used in a car

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Digital Dashboard

Roadmap and documentation: Notion

Raspberry PI Setup

curl -fsSL https://raw.githubusercontent.com/nusje2000/digital-dashboard/main/bin/setup-pi.sh > setup.sh
chmod a+x setup.sh
INSTALLATION_PATH=~/digital-dashboard ./setup.sh

sudo ip link set can0 up type can bitrate 1000000
sudo ifconfig can0 txqueuelen 65536

In /boot/config.txt

dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=i2c_baudrate=700000
dtparam=spi=on
dtoverlay=mcp2515-can0,oscillator=12000000,interrupt=25,spimaxfrequency=2000000

NOTE: If you cange the /boot/config.txt, don't forget to reboot your Raspberry PI

Create CAN Network

sudo ip link set can0 up type can bitrate 1000000
sudo ifconfig can0 txqueuelen 65536

About

A digital dashboard to be used in a car

License:MIT License


Languages

Language:TypeScript 84.4%Language:Shell 13.7%Language:JavaScript 1.8%Language:Dockerfile 0.2%