项目作者: shchers

项目描述 :
OBD-II ECU Simulator
高级语言: Python
项目地址: git://github.com/shchers/ecu-simulator.git
创建时间: 2019-04-15T15:40:05Z
项目社区:https://github.com/shchers/ecu-simulator

开源协议:Apache License 2.0

下载


ECU Simulator

Author: 2019 Sergey Shcherbakov shchers@gmail.com

Preparing environment

Prerequisits

  • OS: Linux Debian/Ubuntu, tested on Ubuntu/Kubuntu 16.04+
  • HW: any SocketCAN compatible module

Preparing host environment

  • Update packages cache

    1. sudo apt update
  • Install mandatory packages

    1. sudo apt install python3 python3-pip
  • Install Python CAN module

    1. sudo pip3 install python-can
  • Download simulator software

    1. git clone https://github.com/shchers/ecu-simulator.git
  • Connect/enable CAN module

Running test

  • Configure CAN interface. Pay attention that according to standard you can run at 250 or 500 kbps

  • Connect OBD-II probe to CAN interface

  • Go to script

    1. cd ecu-simulator
  • Run script

    1. puthon3 ecu-simulator.py

UI

  • Install additional packages, mandatory for UI
    1. sudo apt install python3-tk