/iRacing-Arduino-Pit-Board

The iRacing Arduino Pit Board is a small Arduino based device designed to give you live up to date information about your fuel requirements in any session online or offline including races that requires one or more pit stops. It works with both timed and lap based sessions up to 24 hours in length.

Primary LanguageC++OtherNOASSERTION


The iRacing Arduino Pit Board is an Arduino based device that can help with pit strategies by giving you live up to date information about your fuel requirements in any session online or offline, including those races that require one or more pit stops. An executable program (based on python) runs in the background and reads the live telemetry data coming out of any iRacing session and calculates when you should and/or need to stop and how much fuel you need to add to finish. The application then sends updates to the Arduino Uno via the USB serial port and displays the information on a small touch screen. It is designed to work on a 2.8 inch (320 x 240) TFT or LCD screen or shield that is supported by the Adafruit graphics library and works out to be around $12 to $13 in hardware costs.


Features:

  • session laps / time
  • laps completed
  • laps / time remaining
  • fuel remaining
  • laps until you run out of fuel
  • how much fuel you will need to add at the next stop
  • imperial and metric fuel calculations
  • 5 lap average fuel burn
  • race fuel burn
  • which lap you should pit on
  • pit windows to make it to the end with only one more stop
  • weather and session information
  • information on when your last stop was
  • shows the amount that should be in your tank when you leave the pits
  • target burn rate if you need a splash and dash for less than 1 lap worth of fuel
  • Warning flashes to help inform the driver that something critical has happened
  • laps on tires
  • last lap you stopped
  • optional repairs left when leaving the pits
  • fuel added last stop
  • tire wear as a percentage
  • tire temperatures as colors (blue, green, orange, red)
  • fuel stint burn rates
  • last pitted under flag status
  • fuel to add indicator
  • fuel to leave with indicator

Note: The calculations for required fuel automatically includes an extra half of a lap to ensure you can cross the finish line. The half lap fuel addition is calculated using half of the current 5 lap average fuel burn rate and is automatically included in the required fuel figure.

If you have a feature request or an problem with the code, please create an entry in the issue section

Demonstration of v2.4 (Alpha)

IMAGE ALT TEXT HERE

Click the above image to watch the video on youtube

Optional arguments:

  • -h, --help show this help message and exit
  • -g This option will use imperial measurements for weight, temperature and volume
  • -sfr This option will disable the show fuel required on pit exit informational messages
  • -spl This option will supress the in pit lane messages
  • -c This option will disable the uploading of logs to the cloud
  • --version show program's version number and exit

Hardware

Mounting Options

A number of people are coming up with creative ways to mount the device including using 3D printers. The Mounting Options Page lists out the options as well as a link to the 3D printer object files.