This Arduino based DIY kit is ideal for putting up a customizable vehicle telematics data logging device with OBD-II/GPS/G-force data data logging, live data display and Bluetooth SPP and BLE wireless connectivity. The whole setup is powered by OBD-II port. The well developed and actively maintained Arduino sketches and libraries for this kit make it easy-to-go and easy-to-modify. The kit consists of following parts:

  • Freematics OBD-II Adapter for Arduino
  • Arduino MEGA compatible board
  • Telematics Shield for Arduino MEGA (with 3.5″ TFT LCD touch display, microSD seat and I/O sockets)
  • 10Hz GPS/GLONASS Receiver for Arduino (optional)
  • BLE wireless connectivity with mobile devices (optional)
  • Car window mount for the whole setup (optional)

Parts of Advanced Telematics Kit

With this kit, you can:

  • Obtain OBD-II data and display or manipulate with the data
  • Obtain GPS (raw NMEA or parsed) data  and display or manipulate with the data
  • Obtain MEMS module (accelerometer, gyroscope, magnetic field meter, temperature sensor) data and display or manipulate with the data
  • Log all or selected data-set to microSD card
  • Transmit all or selected data-set to computer via USB
  • Transmit all or selected data-set to a mobile device wirelessly via BLE (Bluetooth Low Energy)
  • Test and observe OBD-II communication

 

Arduino Board

The kit comes with Arduino MEGA compatible board. Besides standard MEGA 2560 board, we also provide 3 varieties to provide additional features. They are:

  • MEGA ADK – Arduino MEGA plus USB host (supported by Google Android ADK)
  • Bluno MEGA 1280 – Arduino MEGA 1280 plus Bluetooth Low Energy (CC2540)

 

Telematics Shield

We developed a dedicated Arduino Mega shield for telematics applications. The shield has color TFT LCD module, microSD card seat, and I/O sockets for connecting OBD-II adapter, GPS receiver and additional devices. Two different LCD sizes are available, 3.2″ (320×240) and 3.5″ (480×320). MegaLoggerHD is designed to work with the higher resolution while MegaLogger works for lower resolution.

dfr0387kit3-lcd35-2 kit3-lcd35-1
Newly released Telematics Shield with 3.5″ LCD (R61581 controller)

 

OBD-II Adapter

Two types of OBD-II Adapters, OBD-II UART Adapter V2 or OBD-II I2C Adapter, are available for choice, both with MEMS sensor. UART adapter connects to Serial1 socket and I2C adapter connects to I2C socket of the Telematics Shield.

 

Wiring

OBD-II adapter and GPS receiver are both connected to the Telematics Shield on which 4 I/O sockets are available. For I2C version of the OBD-II adapter, the 4-pin connector (marked I2C) goes into I2C socket on the Telematics Shield. For UART version, the 4-pin connector (marked Serial1) goes into Serial1 socket. The 4-pin connector (marked Serial2) from GPS receiver goes into Serial2 socket. That’s it. You can’t mess it up.

telematics_shield_diagram

telematics_shield_sockets

OBD-II adapter line definition:

  • Red: VCC (5V)
  • Black: GND
  • Green: SDA or Tx
  • White: SCL or Rx

GPS connector line definition:

  • Red: VCC
  • Black (thick): GND
  • White: Tx (to Arduino Serial2 Rx)
  • Black: Rx (to Arduino Serial2 Tx)

 

Libraries

Following libraries provided for supporting with hardware.

 

Sketch

MegaLoggerHD is a ready-to-go sketch developed for the kit working as a OBD-II, GPS and 6-axis MEMS data logger with live display. Please make sure to import all libraries in the repository before compiling the sketch.

For getting started easier, a complete package containing the sketch and all referenced libraries is available here. We recommend using Arduino IDE 1.7.x from arduino.org as some users have reported weird LCD display issues when uploading the sketch with Arduino IDE from arduino.cc.

megaloggerHD_configSketch loaded in Arduino IDE

Kit3_assembled_1Sketch uploaded running on the assembled kit

 

How to view logged data?

When loading with MegaLogger sketch, all vehicle data is logged on microSD in this format. As it is a text based format, it is easy to manipulate the data with some data processing software.

The easiest way to view the logged data is using Freematics Data Charting Service (might be under maintenance currently), an online service which renders data log file into interactive chart and map in your web browser.

freematics_charting

freematics_chart_zoom

If you prefer to do everything offline, Data2KML is provided as an open-source utility for converting data log file to KML format which can be loaded by Google Earth.

Wollongong Mount Dash

 

Gallery

Links