Hallo to all.

First, sorry for my English. It's not my native language.

This is the readme for MUTLogger.

License
-------------------------------------------------------------------------------------------------------------
MUTLogger. Version 0.1alpha. Programm to view and logging Data with the MUT protocol.
In Actual Version only viewing is programmed
Copyright (C) 2007  Joerg Balitzki, Mail: joebee@lycos.de

This program is free software; you can redistribute it and/or modify it under the terms of the
GNU General Public License as published by the Free Software Foundation; either version 2 of the License,
or (at your option) any later version. (See here: http://www.gnu.org/licenses/gpl.html)
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details. 
You should have received a copy of the GNU General Public License along with this program;
if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
-------------------------------------------------------------------------------------------------------------


What is it?
MUTLogger is a system (hardware an software) witch can, connected over the OBDII Connector,
view and log (logging in future releases) Data from Mitsubishi EVO Models with the MUT Protocol.

What is/do the hardware?
The hardware consists of four main blocks. 
1. Microcontroller, Atmel AVR ATMega 168, (16K Flash, 28 Pin, see  www.atmel.com)
   The controller is the brain of this system. It holds the software,
   manage the data exchange with the OBD and control the LCD Display. 
   The controller can be programmed over the 6 Pin connector JP2.
   The controller is running with 8 MHz internal RC oscillator (1 MHz default and then switched to 8 Mhz in software)

2. Connection to OBD.
   This is done with a few discrete devices. It connects the 5V UART of the microcontroller to the 12V ISO interface of the OBD.
   I got many ideas from Jeffs OBD interface and Colbys openecu interface.
   I only use the absolute necessary connection with is used in the Mitsubishi EVOs.


3. LCD Module.
   I use a 2x16 DOT Matrix module for testing in 4 Bit Mode (+3 Lines Handshake).
   It must be compatible with the Hitachi hd44780 Chipset, or you must write your own display driver.
   It is possible to use a bigger display (4*20 for example) but then the code need to be adapt.

4. Power regulator to get 5V 

What is/do the software?
The software is programmed in C. I use Atmels AVR Studio 4.12 (www.atmel.com) with 
winavr 20060421 (http://winavr.sourceforge.net/) to compile the code.
A ready compiled HEX file is found in .\Code\opti_size subdir.

How can I get the HEX file in the controller.
There are many ways. But one of the cheapest is the free program Ponyprog (www.lancos.com/prog.html)
with a self made Version of Parts from SI-Prog http://www.lancos.com/siprogsch.html
You only need the "Base board" without the power supply and the "AVR microcontroller adapter" without the crystal.
Then wire the 6 needed Lines (+5V, Gnd, MOSI, MISO, SCK and Reset) to the 6 pin Header JP2.
The simple looking parallel port programmers have a big disadvantage.
You need a special I/O Driver for WIN2000/XP or no direct communication to LPT is possible.
But there are tons of information out there, how to program Atmel AVRs.

Operation
After connecting the OBDII Connector (I build my connector myself, 4 Pins only used)
Be careful ! The 12V Power line is battery, not ignition power.
Ignition on. MUTLogger on. Then press the button, and the connection will be initialized.
If connection was successful only Numbers appear.

The numbers are:
columns 
0123456789012345
RRRR OOO TTT II  Line1  
EEE FFFF KKK MMM  Line2

R = RPM
O = octane number (0-255)
T = throttle position (0-100%)
I = ignition
E = ECU Load
F = MAF frequency
K = Knock
M = Max Knock with throttle > 30% and reset after 8 sec

By the way. There are enough Ports free. Possible extensions:
No LCD Display, only LED and Buzzer for Knock warning
Bigger Displays
More Buttons and changeable displays
Measure of the whole MAF frequency over the INT Ports.
Measure of analog signals over the free ports of Port C.
...

Future plans
2. Step: Logging to SD/MMC Card
But for this I need a bigger microcontroller. The FAT16 and SD Card Routines are to big for the ATMega 168 flash.
3. Step: Connect an innovate LC-1 to the dash/logger system

A few words
The dash was only tested a few minutes in my EVO VII, I think it works although in other EVO Models, but not tested.

The Version is 0.1alpha, so dont think everything works perfect.
I gave out this early release, so others can participate this project.
You can find this at www.aktivematrix.com


Greetings from Germany
Joerg Balitzki

