OutPI utilizes BeamNG's OutGauge functionality to take Gauge info from the game and sending it out the Raspberry PI's GPIO.
This project is guage clusters that don't feature Canbus.
Currently this project is in its experimental stage, not all functionality has been implemented yet. As of 11/11/24 only the dash lights are being displayed.
The current code as of 11/11/24 is here
To build the code run this command:
g++ -o Outgauge_Ledtest Outgauge_Ledtest.cpp -lwiring
This project utilizes WiringPi
Installing WiringPi:
-
sudo apt-get update
-
git clone https://github.com/WiringPi/WiringPi
-
cd WiringPi
-
./build
In my personal gauge cluster I have removed the older Incandscent lights and swapped them with LED's due to the PI's limited output. I highly recommend you also do this since LEDs use up to 90% less energy than incandescent bulbs.