Playground

Setting up your own vehicle tracking system with Arduino

This article will guide you through the simple steps to set up your own vehicle telemetry system with any computer (e.g. a PC) and some knowing of Arduino.

Prerequisites

A vehicle tracking system allows one or more vehicles to be monitored in real-time from a user terminal (computer or mobile device).

Telemetry Data Server

Freematics Hub is a free light-weight telemetry data server which receives, caches, stores and illustrates data received from telemetry devices. Designed with efficiency and portability in priority, it runs on systems of any footprint, servers, desktops or a SBCs like Raspberry Pi. The computer running the software, however, must have inbound WAN access, in other word, an IP address accessible from Internet. This depends on broadband companies. If you deploy the server software on a virtual private server in the cloud, then this is not an issue. Two ports are used by Freematics Hub, 8080 for HTTP and 8081 for UDP. The ports must be unblocked for access.

By |July 16th, 2017|Playground|0 Comments

Using ESP8266 WIFI bee with Freematics ONE

Freematics ONE is an Arduino UNO in the form of OBD-II dongle with an xBee socket inside that allows Freematics ONE to get different wireless communication capability by various xBee modules. Today let’s show how a ESP8266 WIFI bee module gives Freematics ONE WIFI connectivity.

F-ONE_ESP8266_3 F-ONE_ESP8266_4

To communication with xBee module in the socket, it is recommended to use xBee APIs (function names begin with xb) provided by our library. This test sketch initiates ESP8266, joins a WIFI network (with correct SSID and password set) and communicates with a remote server with HTTP GET. It runs like following. Here is ESP8266 AT command set for a reference.

F-ONE_ESP8266_Terminal

Update (9 May)

A more comprehensive and well commented Arduino sketch for Freematics ONE with ESP8266 WIFI module is available here.

By |February 26th, 2016|Playground|Comments Off on Using ESP8266 WIFI bee with Freematics ONE

New tester sketch for OBD-II Adapter

This new Arduino sketch is designed for testing out OBD-II Adapter (both model A and model B) and benchmarking the data access speed of OBD-II and MEMS sensor. It works with our OBD-II Telematics Kit #2 and #3 as well as an Arduino board stacked with any of the color LCD shields available in our online store. Code committed – http://github.com/stanleyhuangyc/ArduinoOBD

10659272_414877985360559_8551540378490248864_n 11168031_414878005360557_9071125221504877935_n

By |May 17th, 2015|Playground|Comments Off on New tester sketch for OBD-II Adapter

OBD-II + GPS + G-force data logger based on Arduino MEGA2560

This will be the most comprehensive OBD-II data logger kit and also the biggest in size as it is based on Arduino MEGA2560. Te kit consists of:

By |April 20th, 2013|Playground|Comments Off on OBD-II + GPS + G-force data logger based on Arduino MEGA2560

Arduino OBD-II library gets updated

This maintenance update mainly fixed the library’s compatiblity issue with Arduino Leonardo and other ATMega32U4 based new boards. The folder structure has also some adjustments. The shield library files which demo sketches use are now placed in their sub-folders respectively. A new demo sketch was added in the release package (source code) which drives a tiny cool OLED module to make a dashboard for the car. The module can be ordered here.

1359818923

Links

By |February 2nd, 2013|News & Events, Playground|Comments Off on Arduino OBD-II library gets updated

Arduino OBD-II library updated

I just updated the OBD-II library for Arduino. The update improves initialization routine and added compatibility with adapters of new revision.

The latest source code has been committed to SF.net subversion repository.

 

By |November 15th, 2012|Playground|Comments Off on Arduino OBD-II library updated

Google Earth based web viewer for Arduino GPS/OBD logger

The whole thing is still in early stage. The idea is converting logged data file into a KMZ file and a HTML file which can be loaded and viewed in web browser.

   

By |August 2nd, 2012|Playground|1 Comment

Arduino GPS module test sketch

This is a GPS module test sketch for Arduino based on a LCD1602 shield. You can either save it to local INO file and build width Arduino IDE (TinyGPS library is required). You can also compile it online into a HEX file and upload to Arduino with AVRDUDE or other uploading utilities.

By |July 5th, 2012|Playground|Comments Off on Arduino GPS module test sketch