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
Hashes for ELM327-emulator-1.1.1.post18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 713fe7a4d7e2c68618e1fb50a8dc7ea1b910832b7f53e8ef7d829a933a391815 |
|
MD5 | 842b33123bf12abd2f8e436b5525db66 |
|
BLAKE2b-256 | 3d3b480cd456f2f09d6b1b12c96461da250691041bd5f456269858c31f9bb55f |
Hashes for ELM327_emulator-1.1.1.post18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f194f240ac34763fb91eab911a85ff8ba1e4b0e5c5425984fe26e90546bb111e |
|
MD5 | 5a4023eb883c479fb1da1cd2ee29486b |
|
BLAKE2b-256 | ea266e3e7c0ab587d3d8085d15f17d137654cb1b93df8582a35dd0974aa85f6c |