ELM327 Emulator for testing software interfacing OBDII via ELM327 adapter
Project description
ELM327-emulator
A Python emulator of the ELM327 OBD-II adapter connected to a vehicle.
ELM327-emulator provides a virtual serial communication port to client applications (via pseudo-terminal function on UNIX/Linux, or via pyserial library on Windows) and simulates an ELM327 adapter connected to a vehicle through the OBD-II protocol. It includes a command-line interface for extensive monitoring and controlling.
ELM327-emulator is agnostic of the client application accessing the serial port and has been tested with python-OBD.
An internal dictionary (named ObdMessage) allows configuring the emulation, which is currently set to reproduce the message flow generated by a Toyota Auris Hybrid car (through the scenario car option), including custom PIDs and can be easily configured to statically and dynamically update its dictionary to simulate OBDII answers produced by other vehicles.
ELM327-emulator supports all protocols allowed by python-OBD; the included dictionary uses the ISO 15765-4 CAN 11 bit ID 500 kbaud protocol.
ELM327-emulator also includes an auxiliary feature (obd_dictionary) that builds the PID dictionary of a specific vehicle by automatically querying all standard PIDs one by one (as well as querying additional custom PIDs specified by the user via CSV file). The dictionary can then be used to emulate the specific car.
Full information and usage details at the ELM327-emulator GitHub repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ELM327-emulator-1.1.0.post15.tar.gz.
File metadata
- Download URL: ELM327-emulator-1.1.0.post15.tar.gz
- Upload date:
- Size: 47.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89d8c6bd64e12985474dc0f142f505629de591ebf4efd52648ad0702265bbcd5
|
|
| MD5 |
dfa044daf6b5cba05ca7d65ebaf065bd
|
|
| BLAKE2b-256 |
b31374076afc58dd07ea7df4d8e4784f6dd30ee5b3af32d26422367b8a933c0c
|
File details
Details for the file ELM327_emulator-1.1.0.post15-py3-none-any.whl.
File metadata
- Download URL: ELM327_emulator-1.1.0.post15-py3-none-any.whl
- Upload date:
- Size: 46.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efe62746db47c3afd9b1f22c9a8b72e7a6d523d09ffd24448948ef700434a3cd
|
|
| MD5 |
88849f28e43307b6929c5feae11cf136
|
|
| BLAKE2b-256 |
c4d596c6bf9814b7f26c3ca885415abcc6d33e47b0615df00c38531188234243
|