Skip to main content

The python module for OBD2/J1939/J1708 Interpreter IC: DFL168A from Dafulai Electronics Inc.

Project description

DFL168A Python Module

Simply import DFL168A module and use function to get motor data. Don't need to know OBD2 and J1939/J1708/J1587 protocol, don't need to read DFL168A data sheet, just need to know DFL168A pinout, so easily get vehicle parameters values in real time.

You can get User Manual from http://www.dafulaielectronics.com/DFL168A_python.pdf

Getting Started

Please go to http://www.dafulaielectronics.com/DFL168A_python.pdf and read "How to use Library?" section

Prerequisites

Python version should be 3.6 or higher. You should install pyserial version 3.5 or higher

pip install pyserial

If it does not work, you can try command below:

py -m pip install pyserial

Installing

You just use command below

pip install DFL168A

or

py -m pip install DFL168A

Running the tests

There are lots of example in examples folder.

Please download examples folder from

https://github.com/Dafulai/DFL168A_python/examples

You just modify your serial port Name to your actual Serial port such as "COM1" (or "/dev/ttyS0" ) instead of default "COM4". You can run it directly.

Authors

  • Jack Xia

License

This project is licensed under the MIT License - see the LICENSE file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

DFL168A-1.0.0.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

DFL168A-1.0.0-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

Details for the file DFL168A-1.0.0.tar.gz.

File metadata

  • Download URL: DFL168A-1.0.0.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.3

File hashes

Hashes for DFL168A-1.0.0.tar.gz
Algorithm Hash digest
SHA256 16bf7e550f4cc4c5052b09bbf4b07a64dbc705ceb40729743a0541e0d04faac3
MD5 d5c0f8dcfddcae677f33542ed6f348a7
BLAKE2b-256 ee2959612189b4f48b372dbb419fc6e701de8795fa7331e17bb7c3fdc3ce3f61

See more details on using hashes here.

File details

Details for the file DFL168A-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: DFL168A-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 25.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.3

File hashes

Hashes for DFL168A-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b7628a96095dcb1b062d6f39706b1286bdbd93ad82e6111639687d4be33763d4
MD5 3ecde1e854fe7c5eef14af1e722f7b97
BLAKE2b-256 007ed3f4cdb1a43f1001e0a0b8b2fa44ad3d3c936f885d04d12d020471ac8f65

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page