Page 1 of 1

New "Instructions for Bozo". Need feedback

Posted: Fri Feb 18, 2005 5:16 am
by Todd Charles
Brent has allowed me to give a stab at writing some software instructions that an idiot like me can understand. During the process of getting my own MJLJ going I seemed to stumble apon every possible problem mostly due to my ineptness with computers. These instruction will probably seem terribly tedious to most but I think they should help some. Everyone on this board was great in helping me out but I am sure it was a bit trying for you sometimes! I would like to get some feedback if you feel I have missed something or did not make some things clear enough. Basically, I just rewrote Brents instructions.

Installation
Prerequisites

Install Java

Go to http://java.com/ and install the latest version of Java
follow the "Free Download / Get it now link". Install this even if you already have a version of Java on your computer. Note: you need Windows 98 or better. It is best to download direct to your existing Java folder which can be found in C:\Program Files. This should be done automaticaly but if not this folder can be found by right clicking your start button then clicking "Explore". If this is too difficult to download to then download to your desktop then move or copy to the Java folder.

Make sure it's installed correctly by running one of their demo programs. These programs are provided by a shortcut installed on your desktop during the download. Reboot after this.

Install Serial Port support (Java COMM API)

For windows, download: Java Comm for Windows. It is easiest to just download to your desktop allowing it to make its own folder or you may make a folder for it.
Unzip this file into another folder. From the unzipped folder, copy the following files:

- Copy comm.jar to c:\Program Files\Java\j2re1.4.2_04\lib
- Copy javax.comm.properties to c:\Program Files\Java\j2re1.4.2_04\lib
- Copy win32com.dll to c:\Program Files\Java\j2re1.4.2_04\bin

The easiest way to copy the files is to right click the file to be copied then click "copy". You then open the specified folders by right clicking the Start button and clicking "Explore" then "Program Files" then "Java" then "j2re1.4.2_06" or the latest version of Java you earlier downloaded. You then right click the appropriate "lib" or "bin" folder and click "paste".


or, for Linux see RxTx for Linux

MJLJ Configurator

Create an installation directory and download the current version of the MJLJ tuning software into it. It is important to follow these directions if you are running XP and\or IE 6.0. Prepare by creating and naming a folder on your desktop or in your documents folder. Click the "Download" button at the top of this page then right click "Version 2.0.3 MJLJ Tuning Software" (or latest version) then click "save target as". At this point in the "Save as type:" window select "All Files" or anything but zipped folder. Select the folder you created on your desktop then click save.

Ok, now open the "javacomm20-win32" you downloaded earlier and the tuning software you just downloaded. Look at the "COMM executable jar" file icon and the "mjljtune-2.0.3 executable jar" file icon. If they look the same then everything downloaded properly. If not you need to download the configurator (tuning software) again following the directions more closely.

Now right click the COMM jar file and copy. Paste this to the same folder as the mjlj-tune2.0.3 jar file.

Running
To run, double-click the MJLJ Configurator file: mjljTune-(version).jar

If that doesn't work, open a command line, move to the folder where you installed it, and start the configurator buy typing
java -jar mjljTune-1.0.0.jar


If this doesn't work you need to look very closely that some other application is not hogging your serial port. "PALM" software is a prime suspect if you are running it. The best way I found is just CTRL-ALT-DELETE then pick the application and shut it off. It will restart next time you restart your computer.

Select the appropriate Communications port and connect the MJLJ to the computer using a standard serial cable. Be sure you also have the board powered up with an external 12 volt source if you are trying this off the car.

Configuring the MJLJ

Reading The Configuration

To retrieve the current configuration, click the button "Get Config". This will retrieve the current configuration from MJLJ.
Configuring ignition settings

Modify the data in the ignition map as needed- RPM bins are in whole values in increments of 100 RPM (e.g. 1000,2000,3500,6700). MAP bins are in KPa-- 100KPa = atmospheric pressure. Be sure to set the correct number of cylinders, or RPM calculations will be off!

To send the configuration to MJLJ, click "Update Config"- the current configuration is stored in RAM on the MJLJ. To preserve the current settings after it is powered down, click the "Write Flash" button- this will write the values in the MJLJ's RAM to flash memory- analogous to a PC saving a file in memory to disk. Newer versions of this software "Write Flash" during "Update Config".

User Outputs

Four user-defined outputs are available for controlling various devices like fans, intercooler sprays, etc. The outputs can be triggered by either manifold pressure (MAP) or RPM. Outputs can be further configured to either go high or low upon crossing the trigger threshold.

Rev Limiter output

Since the EDIS doesn't have an "ignition enable" line, rev-limiting would be accomplished by cutting power to the ignition coils using an external power transistor or a solid state relay.

Currently, the Rev Limiter is another simple RPM switch. In the future, the rev limit output will be enhanced to cause a significant ignition retard before triggering a hard ignition cut.

Shift light output

Yet another simple RPM switch, the shift light output may be enhanced in the future by having it rapidly flash after exceeding the configured threshold by a set amount.



bit confused

Posted: Sat Jul 01, 2006 9:33 pm
by gav
hi, great site btw, cheers for rewriting the instructions it helped me a lot (i'm not too good with computers lol), what i'd like to know is where it says "install serial port support (java comm api)" is this the heading or do i have to find this? i've done all the stuff below it and i can get the programme up to fill in values etc so is that all i need to do? thanks, gav

bit confused

Posted: Sat Jul 01, 2006 9:38 pm
by gav
hi, great site btw, cheers for rewriting the instructions it helped me a lot (i'm not too good with computers lol), what i'd like to know is where it says "install serial port support (java comm api)" is this the heading or do i have to find this? i've done all the stuff below it and i can get the programme up to fill in values etc so is that all i need to do? thanks, gav

"install serial port support

Posted: Sat Jul 01, 2006 10:06 pm
by MartinM
"install serial port support (java comm api)" is a heading.

If you can start the configurator and change the advance values in the map, then you're doing good!

Have you got a MJLJ to connect it to? Do "Get Config" and "Update Config" work?

I guess I'll write a step by step too

Posted: Sun Jul 02, 2006 3:44 am
by 4600cc
<body>

<p><u><b><font size="4">Installing Tuner</font></b></u></p>
<ul>
<li>Download and save<a href="http://picasso.org/mjlj/?q=filestore2/d ... taller.exe">
this software</a></li> on your desktop
<li>Once downloaded double-click the <u>
mjtuner_0.2.2.1260_preview-Installer.exe</u> file on your desktop to launch
the installer.</li>
<li>Installer program will show up, click NEXT, then click I AGREE, then
select Desktop Shortcut option, then click NEXT, then click INSTALL, then
click FINISH.</li>
<li>Double click Megajolt Lite Jr Tuner icon on your desktop.&nbsp; A tuner
program will show up.</li>
</ul>
<p>&nbsp;</p>
<p><u><b><font size="4">Tuning</font></b></u></p>
<ul>
<li>In the bottom left corner select a serial port to which Megajolt box is
connected.</li>
<li>Click Get Config to get config from Megajolt box</li>
<li>Click Update Config to send config to Megajolt box</li>
<li>Click File then click Open to open a file</li>
<li>Click File then click Save to save a file</li>
<li>Click File then click Import/Export a CFG file to import or export (or
load/save) an original Megajolt Java Tuner configuration file</li>
<li>Click on General tab, and then select number of cylinders.</li>
</ul>
<p><u><b><font size="4">Rolling Road Tunning</font></b></u></p>
<ul>
<li>Click on Runtime Display tab, then connect Megajolt box, once connected
select proper serial port and click the green Start button.&nbsp; If
Megajolt box was already connected and proper serial port selected then
Runtime Display would start automatically.</li>
<li>To get minimum and maximum numbers for MAP and RPM, stop Runtime
Display, start your engine then start Runtime Display, rev your engine all
the way to its rev limit.&nbsp; Minimum and Maximum values will be displayed
on the top-right corner.</li>
<li>You can mark places on the map where detonation or hesitation occurs.&nbsp;
To do that start Runtime Display, set your laptop on the passenger's side so
that you have easy access to the SPACE button, and drive with your hand on
the SPACE button, when you notice detonation or hesitation, press the SPACE
button.&nbsp; A mark will appear on Runtime Display, indicating on which
cell detonation or hesitation has occurred.&nbsp; Notice on the right there
is a Mark List window, which shows a mark value that looks like this:&nbsp;
N, 2{}, 1{133}, 40, 0.&nbsp; This means the following, N stands for type of
engine acceleration when the event was recorded, N = less than 500 rpm/sec,
A = 500 to 1000 rpm/sec, B = 1000 and above rpm/sec.&nbsp; 2{} shows RPM bin
number, 1{133} shows MAP bin number which is 1, and MAP value which is 133.&nbsp;
40 shows ignition advance value.&nbsp; The last 0 would correspond to engine
acceleration number in rpm/sec. <font color="#008080">&nbsp;</font><font size="2" color="#008080">Although
buggy, this beats the driving while watching Runtime Display.</font></li>
</ul>

</body>

I feel a book coming

Posted: Sun Jul 02, 2006 9:35 am
by MartinM
I feel a book coming on...

<img src="http://www.milleners.eclipse.co.uk/MJLJ ... jpg"></img>

ha ha

Posted: Sun Jul 02, 2006 10:16 am
by gav
yes that book would be great lol, i havent got the actual unit yet as someone is building it for me, just wanted to check i could get the programme up and running, thanks for the help, gav

Now that is funny! Did you

Posted: Sun Jul 02, 2006 4:46 pm
by brentp
Now that is funny! Did you do all of that 'by hand' or photochop a previous image?

Brent

Which Tuner?

Posted: Tue Jul 11, 2006 12:52 pm
by davepsmith
Guys
I have an MJ (built by Bill Shurvinton) and pre-loaded with a map, about to sort out my PC to allow me to power everthing up. QUESTION do I go Java route or Alex's route which appears to be windows based for the tuner????????? I know nothing about Java except people say its difficult to work with.

Thanks in advance

Dave

You choose!

Posted: Tue Jul 11, 2006 1:13 pm
by MartinM
You choose!

The Java-based Configurator one is the 'official' one i.e. Brent wrote it. It runs on Windows just fine. You have to install Java on your computer first, but if you follow the instructions to the letter it installs fine. The Configurator is open source, so you can change it if you really, really want to.

Alex's Tuner runs directly in Windows and is really easy to install. It has some extra user facilities, but in terms of it changing the map etc inside the MJLJ it's identical. The source code is not published.

They both work...

both

Posted: Tue Jul 11, 2006 1:52 pm
by 4600cc
Do what Alex does, install them both. Whether you tune using one or the other, and whether you save your tune files using one or the other does not matter.

Thanks I will download and

Posted: Tue Jul 11, 2006 5:05 pm
by davepsmith
Thanks I will download and try both!