Skip to content

๐Ÿš—๐Ÿ’จ Diesel engine fuel timing calculations

Notifications You must be signed in to change notification settings

krook1024/edc15-eoi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

27 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

edc15-eoi

This is a simple tool I created to be able to easily tell the precise time of End of Injection event in PD TDI engines.

Screenshot of the application

Getting started

  1. Download & install the latest version of Python from: https://www.python.org/downloads/
  2. Download this repository as a zip and open a console window in that directory
  3. Run pip install -r requirements.txt to install the dependencies
  4. Run py eoi.py to test if the program's working

Usage

Run the following commands to get started quickly:

git clone https://github.com/krook1024/edc15-eoi.git
cd edc15-eoi
python -m pip install -r requirements.txt
py ./eoi.py -h

Listing available codeblocks

Let's imagine we have a file called current.bin, in that case we can run

py eoi.py -f current.bin -l

to list the avaiable codeblocks. The output will look something like this:

 Available codeblocks in current.bin
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚   CodeBlock ID โ”‚ Start   โ”‚ End     โ”‚ ID location   โ”‚ Gearbox type   โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚              2 โ”‚ 0x717ee โ”‚ 0x817ed โ”‚ 0x77a50       โ”‚ Manual         โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Showing actual duration & EOI

After finding out the codeblock ID, we can go ahead and run the program like this:

py eoi.py -f current.bin -c 2 

and it will show all the necessary maps and calculations.

If you want to also show the tables in a graphical view, you can use

py eoi.py -f current.bin -c 2 -p

Notes

  • You can run py eoi.py -h to print the documentation of each argument.
  • The order of the arguments don't matter, as long as all required arguments are set.

About

๐Ÿš—๐Ÿ’จ Diesel engine fuel timing calculations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages