Robert B Squires

Logo

Bachelor of Science in Computer Science, minoring in Web Development (Graduated December 2023).

View My Resume

View My LinkedIn Profile

View My GitHub Profile

Back to Portfolio

OBD-II Buddy

Project description

This application will allow you connect to your vehicle’s OBD-II port via Bluetooth BLE adapter, using your Apple Devices (iPhone & iPad) to read information such as:

How to compile and run the program

cmd(⌘) + r

UI Design

*Once the app has been loaded onto your device, it will be useable as long as developer mode is on

The user needs to ensure that their OBD-II BLE device is fully connected to the OBD-II port under the dash. The user can then turn their vehicle’s key to the on position or start the vehicle. Then start the app by tapping the OBD-II Buddy app icon (see Fig 1).

iPad-App-Icon
Fig 1. Device Home Screen

The user is prompted to allow OBD-II Buddy Bluetooth access on their device. The app uses Bluetooth to communicate with the vehicle through the OBD-II BLE adapter. Tap “OK” to continue (see Fig 2).

iPad-BT-Access
Fig 2. Bluetooth usage authorizarion

Next, the user can scan for their OBD-II BLE adapter by tapping on “Show Available Bluetooth Devices” (see Fig 3).

iPad-BT-Scan
Fig 3. View available Bluetooth devices

On the Peripherals view, the user will the see available OBD-II BLE adapter(s). In this case iOS-Vlink. Tap on the name of the adapter to connect OBD-II Buddy to your vehicle (see Fig 4).

iPad-BLE-Adapter
Fig 4. Connecting to your vehicle through the BLE adapter

The user will be shown a loading screen while the app initializes the Bluetooth connection and starts communication with the vehicle (see Fig 5).

iPad-BLE-Init
Fig 5. Initializing Bluetooth connection and communication with vehicle

The user will now be shown the Home Screen of OBD-II Buddy. The user can tap one of the available option on the screen. The triple dot symbol at the top of the screen shows the status of your Bluetooth connection. In this case green means Bluetooth is connected (see Fig 6).

iPad-Homescreen
Fig 6. OBD-II Buddy Home Screen

If the user tapped the “Live Data View” they will be shown the live data for four sensors on their vehicle. Notice the car at the top is now green. While communicating with the vehicle, the app will animate this car symbol and it will be colored green (see Fig 7).

iPad-Live-Data
Fig 7. OBD-II Buddy Live Data View

The user can change the sensors that are being read by tapping on any of the sensor’s data locations and they will be shown the other sensors that their vehicle supports. To change to a different sensor tap on the desired sensor from the list (see Fig 8). The current sensor for that positon on the screen has a green check mark, while the other sensors are marked “In Use” and are disabled from selection.

iPad-Sensors
Fig 8. OBD-II Buddy sensor customization

The user may leave the Live Data View at anytime, by double tapping on the OBD-II Buddy image in the middle of the view. Note that on iPad there is slightly different functionality. Once the OBD-II Buddy image is double tapped, the Live Data View will disappear, showing optional directions to the user (see Fig 9).

iPad-Homescreen
Fig 9. Closing Live Data View

If the user tapped “Trouble Code View” they will be shown a list of any active DTCs that their vehicle is currently storing. The user can look these codes up online to help determine what problem their vehicle has. In this case, there are no DTCs and the UI displays that to the user (see Fig 10).

iPad-DTCs
Fig 10. Trouble Code View, no DTCs

If the user tapped “Vehicle Info View” they will be shown a list of generic vehicle information. This includes their VIN, Calibration ID, OBD-II Protocol, ECU Name, and Fuel Type (see Fig 11).

iPad-Info
Fig 11. Vehicle Info View

To exit the application, use typical Apple app closure. Swipe up from the bottom and dismiss the app. This will disconnect from the BLE adapter and end communication with the vehicle.

Back to Portfolio