Skip to content

fludar/pi-outgauge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 

Repository files navigation


img
Pi Outgauge

BeamNG OutGauge โ†’ Raspberry Pi PWM pin output

Key Features โ€ข Build Instructions โ€ข Screenshot โ€ข Credits โ€ข License

๐Ÿงฎ Key Features

  • Reads live telemetry from BeamNG.drive OutGauge.
  • Parses speed, RPM, throttle, and other telemetry data.
  • Outputs PWM signals to Raspberry Pi GPIO pins.
  • Can drive real gauges, LEDs, or servos.
  • Lightweight, runs in real time with minimal CPU usage.

๐Ÿ›  Build Instructions

This project was developed using Python 3 and pigpio.

To set it up:

  1. Clone the repo
  git clone https://github.com/fludar/pi-outgauge.git
 cd pi-outgauge 
  1. Install dependencies:
sudo apt-get update
sudo apt-get install python3-pigpio pigpio
  1. Find your Raspberry Piโ€™s IP address ifconfig

(Look for the IP under wlan0 if using Wi-Fi, or eth0 if using Ethernet.)

  1. Start the script python main.py
  2. Configure BeamNG OutGauge
  • Open BeamNG
  • Go to Settings โ†’ Other โ†’ OutGauge Protocol
  • Enable it
  • Enter the Raspberry Piโ€™s IP (from step 3)
  • Set the port (default is 4444, unless changed in the script)

๐Ÿ“ธ Screenshot

Demo 1

Demo 2

๐Ÿ™ Credits

  • BeamNG forum for the struct

๐Ÿ“– What did I learn?

  • How to output PWM on GPIO pins
  • How to bridge game telemetry with real hardware.
  • Basics of integrating simulation data with electronics.

About

BeamNG OutGauge data converted to Raspberry Pi PWM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages