Skip to content

The repo contains the Python code developed for the Connected Car OSS work

License

Notifications You must be signed in to change notification settings

luigisaetta/obdii

Repository files navigation

OBDII

Author: L. Saetta

Starting Date: 27/12/2017

Last update: 04/02/2018

This repository contains most of the work I have done to develop a working prototype for my idea of a Connected Car.

Following, some details:

HW that will be used:

  • OBDII port in the car
  • OBDII Bluetooth adapter (available from Amazon, for example)
  • a Raspberry PI 3 (need bluetooth and WIFI)
  • A SmartPhone, for Internet Connectivity (in my case an iPhone)
  • a PowerBank, to power the RPI
  • GlobalSat USB GPS Receiver BU-353-S4 (SiRF Star IV)
  • (optional) Google Voice AYI kit

Cloud Services:

  • Compute and Storage Services (a Linux VM)
  • MQTT broker (TLS capable)
  • NodeRED, to process msgs (MQTT and NodeRED are incapsulated in Docker Container)

The software running on RPI is developed in Python and run as a set of System Services

SW Dependencies:

Release 0.6: This release is to test the OBDII interface and demonstrate that the project is feasible. The first release of the code will read, in a loop, a set of values from OBDII interface, format it as a JSON msg and will send it to the MQTT broker to a dedicated topic. Communication will be secure and protected using TLS1.2. QoS for msgs will be: 1 (guaranteed at least once). In a separate project I will create a NodeRED flow to show the data from the car in a Dashboard.

Release 0.7: OBD2 becomes a system service on RPI, therefore is automatically started on RPI startup!

Release 0.8: Added Command Processor. It is possible now to send commands to RPI as msgs on a topic dedicated to the car

Release 0.9 (wip): Integration with Google Voice Kit. This is the Next Big Thing!!!

Release 1.0 (not yet available, sorry): Production ready code with all the features described for vers. 0.6

Release 2.0: In release 2.0 I will integrate Oracle IoT Cloud Service and Oracle IoT Fleet Management.

Release 3.0: I will integrate the Python code with Eclipse Kura.

Release history:

  • 29/12/2017: vers. 0.6
  • 01/01/2018: vers. 0.7

For more information about OBD-II, see https://en.wikipedia.org/wiki/OBD-II_PIDs

Credits:

About

The repo contains the Python code developed for the Connected Car OSS work

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published