{"id":20072206,"url":"https://github.com/endurodave/obdii-adapter-software","last_synced_at":"2026-05-01T06:33:18.819Z","repository":{"id":262461926,"uuid":"887304486","full_name":"endurodave/OBDII-Adapter-Software","owner":"endurodave","description":"OBDII adapter source code and schematic for automotive diagnostic vehicle communication.","archived":false,"fork":false,"pushed_at":"2025-02-18T16:21:05.000Z","size":10664,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T12:17:57.383Z","etag":null,"topics":["canbus","elm","elm327","obd-ii","obd2","obdii","obdii-dongle","obdii-interface","obdii-library","scan-tool"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/endurodave.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-12T14:13:01.000Z","updated_at":"2025-02-18T16:20:59.000Z","dependencies_parsed_at":"2024-11-12T15:34:20.706Z","dependency_job_id":"eb731af7-018d-48b2-843f-89c1798a5bcc","html_url":"https://github.com/endurodave/OBDII-Adapter-Software","commit_stats":null,"previous_names":["endurodave/obdii-adapter-software"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endurodave%2FOBDII-Adapter-Software","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endurodave%2FOBDII-Adapter-Software/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endurodave%2FOBDII-Adapter-Software/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endurodave%2FOBDII-Adapter-Software/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/endurodave","download_url":"https://codeload.github.com/endurodave/OBDII-Adapter-Software/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241502916,"owners_count":19972956,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["canbus","elm","elm327","obd-ii","obd2","obdii","obdii-dongle","obdii-interface","obdii-library","scan-tool"],"created_at":"2024-11-13T14:38:54.826Z","updated_at":"2026-05-01T06:33:18.793Z","avatar_url":"https://github.com/endurodave.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OBD-II Scan Tool Adapter \n\nC language source code and schematic for an automotive OBD-II scan tool adapter. \n\n# Table of Contents\n\n- [OBD-II Scan Tool Adapter](#obd-ii-scan-tool-adapter)\n- [Table of Contents](#table-of-contents)\n- [Overview](#overview)\n- [Auterra Scan Tools](#auterra-scan-tools)\n- [OBD-II Adapter Host Protocol](#obd-ii-adapter-host-protocol)\n  - [Enhanced OBD-II](#enhanced-obd-ii)\n- [OBD-II Adapter Software Source Code](#obd-ii-adapter-software-source-code)\n  - [SAE J1850 VPW/PWN](#sae-j1850-vpwpwn)\n  - [ISO 9141 and 14320](#iso-9141-and-14320)\n  - [ISO 15765](#iso-15765)\n- [OBD-II Adapter Hardware Schematic](#obd-ii-adapter-hardware-schematic)\n- [Why Open Source?](#why-open-source)\n- [Auterra Scan Tool Products](#auterra-scan-tool-products)\n  - [Dyno-Scan for Windows](#dyno-scan-for-windows)\n  - [DashDyno SPD](#dashdyno-spd)\n  - [Dyno-Scan for Android](#dyno-scan-for-android)\n\n# Overview\n\nAn OBD-II (On-Board Diagnostics II) scan tool adapter serves as a bridge device between a host (e.g. PC, phone, embedded device) and the vehicle. The OBD-II adapter translates serial messages to and from OBD-II vehicle messages. Very similar in concept to an ELM327 chip except all C language source code, protocol documentation and schematic is provided. The adapter supports all known OBD-II automotive protocols starting from 1996 model year.\n\n* SAE J1850 (VPW, PWM)\n* ISO 9141-2 (ISO)\n* ISO 14320-4 (KWP 2000)\n* ISO 15765-4 (CAN bus)\n\nA vehicle 16-pin OBD-II connector is typically located on the driver's size under the dashboard.\n\n![OBD II Diagram](images/DynoScanLineArtWindows.gif)\n\nThe software source code is being open-sourced for public use under the MIT License.\n\n# Auterra Scan Tools\n\nThe Auterra series of scan tools was sold for about 15 years starting in 2000. Different versions of the tool were sold. See the [docs](docs/) folder for user manuals.\n\n* [DashDyno SPD](/docs/DashDynoManual.pdf) - an all-in-one handheld scan tool\n* [Dyno-Scan for Windows](/docs/Dyno-ScanWindowsManual.pdf) - a Windows scan tool (serial, USB, Bluetooth)\n* [Dyno-Scan for Android](/docs/Dyno-ScanAndroidManual.pdf) - a Android scan tool for phone/tablet (Bluetooth)\n* [Dyno-Scan for Palm OS](/docs/Dyno-ScanPalmManual.pdf) - a Palm Pilot scan tool (serial)\n\nA road dynamometer feature was added to measure horsepower and torque during vehicle acceleration extending the usefulness beyond diagnostics.\n\nSee [Auterra Scan Tools](http://auterraweb.com/index.html) company website for more product information. \n\n# OBD-II Adapter Host Protocol\n\nThe OBD-II host protocol is documented within the [OBD II Adapter Protocol](/docs/OBD%20II%20Adapter%20Protocol.pdf) document.\n\n## Enhanced OBD-II\n\n\"Enhanced OBD-II\" refers to a more advanced version of the standard OBD-II system, which provides additional diagnostic information specific to a vehicle's manufacturer. Whereas the generic OBD-II standards are readily available, the manufacturer specific protocol specifications are obtained with a subscription from [ETI](https://etools.org/). \n\nThe OBD-II adapter source code supports generic and enhanced protocols. Auterra products supported enhanced OBD-II from many vehicle manufacturers such as GM, Ford, Toyota, Nissan, and Mazda. \n\n# OBD-II Adapter Software Source Code\n\nThe OBD-II adapter software is written in C and compiled using [CCS](https://www.ccsinfo.com/compilers.php) PCH C Compiler, Version 3.167. The code executes on the Microchip PIC18F248 microcontroller. The source code serves as a translator of generic (universal) and enhanced (manufacturer specific) OBD-II messages to/from a host device.\n\nAll microcontroller host communication is serial. On USB and Bluetooth, a serial translator was used to convert host serial messages into USB/Bluetooth. On Bluetooth, the Microchip RN42 chip was utilized in lieu of a host serial connector.\n\nThe adapter source code is located within the [src](/src/) directory. **Main.HEX** is the last adapter release. \n\n## SAE J1850 VPW/PWN\n\nVPW and PWM are legacy protocols used by Ford (PWM) and GM (VPW). These interfaces were painstakingly bit-banged using assembly language and a logic analyzer. Excellent comments document the source code. Software simulation tools assisted with development.\n\n## ISO 9141 and 14320\n\nThe ISO and KWP protocols are serial interfaces. A software-based UART available as part of the CCS compiler turns any unused port into a serial interface.\n\n## ISO 15765\n\nCAN bus is the latest OBD-II interface with all known speeds and modes supported by the source code. The Microchip processor has an on-board CAN bus interface.  \n\n# OBD-II Adapter Hardware Schematic\n\nThe OBD-II adapter schematic is shown below. Actually its from the DashDyno, so the MODULAR 10 connector is a DB9 on the adapter variants. Both cable diagrams shown below. \n\n![OBD II Adapter Schematic](images/OBD%20II%20Adapter%20Schematic.jpg)\n\n![OBD II Cable](images/OBDII%20Cable%20Modular.jpg)\n\n![OBD II Cable](images/OBDII%20Cable%20DB9.jpg)\n\n# Why Open Source? \n\nAuterra products are no longer commercially available. However, the released source code and documentation may serve as valuable resources for future automotive-related projects.\n\n# Auterra Scan Tool Products\n\nAuterra products were designed for Palm OS, Windows, Android and DashDyno platforms. All products utilized the Microchip OBD-II adapter interface processor. Software languages utilized across the various platforms was C, C++, C#, Java and assembly. \n\n## Dyno-Scan for Windows\n\n\u003cimg src=\"images/DynoScan.jpg\" alt=\"Dyno-Scan for Windows\" width=\"50%\" /\u003e\n\u003cimg src=\"images/DynoWindows.jpg\" alt=\"Dyno-Scan Dyno Screen\" width=\"50%\" /\u003e\n\u003cimg src=\"images/ScanToolWindows.jpg\" alt=\"Dyno-Scan Scan Tool Screen\" width=\"50%\" /\u003e\n\n## DashDyno SPD\n\n\u003cimg src=\"images/DashDyno.jpg\" alt=\"DashDyno SPD\" width=\"50%\" /\u003e\n\u003cimg src=\"images/DashDyno2.jpg\" alt=\"DashDyno SPD\" width=\"50%\" /\u003e\n\u003cimg src=\"images/DashDyno3.jpg\" alt=\"DashDyno SPD\" width=\"50%\" /\u003e\n\u003cimg src=\"images/DashDynoScreens.jpg\" alt=\"DashDynoScreens\" width=\"50%\" /\u003e\n\n## Dyno-Scan for Android\n\n\u003cimg src=\"images/DynoScanAndroid.jpg\" alt=\"DashDyno SPD\" width=\"50%\" /\u003e\n\u003cimg src=\"images/DynoScanAndroid2.jpg\" alt=\"DashDynoScreens\" width=\"50%\" /\u003e\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendurodave%2Fobdii-adapter-software","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fendurodave%2Fobdii-adapter-software","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendurodave%2Fobdii-adapter-software/lists"}