Git Product home page Git Product logo

strados's Introduction

Strados Build Status

Core library in Strados that transforms car data (On-Board Diagnostics 2) into human readable data.

The Details

Strados OBD Library

Contains the code that parses OBD2 based on a given OBD2 PID. A list of OBD2 PIDS can be found at Wikipedia.

Usage

The ObdParser class provides a static function for passing hex data from an OBD2 sensor. Based off of the mode and command of the hex string (first two bytes), the library uses reflection to find an appropriate transformation to get the value.

using Strados.Obd;

string data = "41 0D FF"; 			//hex data from OBD2
var result = ObdParser.Parse(data);

Console.WriteLine(result.Mode);		//mode: 1
Console.WriteLine(result.Command);  //command: 13
Console.WriteLine(result.Name);		//name: VehicleSpeed
Console.WriteLine(result.Value);	//value: 255 (kph)

If a PID is not currently supported, you can write an extension method for the ObdParser class. The name of the method should match an enum value in ObdPid.

Installation (from NuGet)

Install-Package Strados.Obd

Strados Vehicle Library

The Vehicle Library provides a service interface IVehicleService to interact with an OBD2 reader. An abstract implementation Elm327VehicleServiceBase for the ELM327 (and it's variants like the STN11xx chipsets) is provided. You'll need to implement a child class on your platform to interact with the vehicle service.

Usage

[TODO]

Installation (from NuGet)

Install-Package Strados.Vehicle

strados's People

Contributors

outlandnish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

strados's Issues

General Start Up: Connections, Etc.

This seems like a great platform. Is anyone following this? Not new to programming but I am no expert neither. Looking for a general foundation to get started on connection.

Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.