Skip to content

Latest commit

 

History

History
58 lines (49 loc) · 3.35 KB

Install Procedure.md

File metadata and controls

58 lines (49 loc) · 3.35 KB

Install Procedure

IMAGE ALT TEXT HERE

IMAGE ALT TEXT HERE

Hardware

  1. Clip TFT screen into Arduino Uno
  2. Insert USB cable into device and computer

Arduino Uno and TFT Shield Apart Arduino Uno and TFT Shield Together

Arduino Side

  1. Install the Arduino IDE software
  2. Install Adafruit GFX graphics core library to \Arduino\Sketchbook\libraries
  • There is a reference in the TFT library that requires un-commenting to ensure it works with TFT/LCD shields
  • // **** IF USING THE LCD BREAKOUT BOARD, COMMENT OUT THIS NEXT LINE. ****
  • // **** IF USING THE LCD SHIELD, LEAVE THE LINE ENABLED: ****
  • #define USE_ADAFRUIT_SHIELD_PINOUT 1"
  1. Install Adafruit 2.8" TFT display library to \Arduino\Sketchbook\libraries
  • Not all TFT's are supported and it may take some work on your behalf to identify and get the above libraries working
  1. Launch Arduino IDE program
  2. Open the Adafruit TFT example sketch
  • File > Examples > TFTLCD > GraphicsTest
  1. Ensure the COM port is correct for the Arduino
  2. Upload Adafruit TFTLCD sketch to your Arduino
  3. Open the Arduino serial monitor
  • Tools > Serial Monitor
  1. Identify LCD Driver Chip
  • If the serial monitor says Unknown LCD driver chip: 0, you will manually need to test each driver chip identifier
  1. Download the iRacing Arduino Pit Board TFT Front End.ino sketch to your computer and open it in the Arduino IDE
  2. Ensure line 68 in the Arduino front end uses the correct identifier for your TFT Screen from step 8.
  • eg: uint16_t identifier = 0x9325;
  • If Unknown lcd chip, test using each of the following until the sketch displays correctly
  • 0x9328, 0x9325, 0x9328, 0x7575, 0x9341, 0x8357, 0x9488, 0x9320, 0x9481, 0x0101, 0x7783, 0x8230, 0x4535
  1. Upload the iRacing Arduino Pit Board TFT sketch onto your Arduino Uno
  2. If successful, you should see the basic layout of the device (lines, headings, etc) without any numbers

Note: Once successfully installing and seeing the basic layout, the Arduino IDE will only be required for future front-end software updates.

Backend (Based on Python)

  1. Download the current executable file from the releases section
  2. Unzip the file to a location of your choice
  3. In Windows devices and printers, confirm the COM port number for your Arduino
  4. Download iAppStarter and then launch it
  5. Click browse and find the executable you downloaded and unzipped in iAppStarter
  6. Add the com port from step 3 in the arguments field and any other functions you desire
  • eg: arduinopitboard_v2.8.exe com7
  • eg: arduinopitboard_v2.8.exe com7 -g

Example screenshot iAppStarter