New "Instructions for Bozo". Need feedback

General Megajolt Questions and Answers

Moderators: JeffC, rdoherty, stieg, brentp

Post Reply
Todd Charles
Posts: 2
Joined: Mon May 24, 2004 5:08 pm

New "Instructions for Bozo". Need feedback

Post 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.



gav
Posts: 36
Joined: Fri Jun 30, 2006 10:58 pm
Location: Kent

bit confused

Post 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

gav
Posts: 36
Joined: Fri Jun 30, 2006 10:58 pm
Location: Kent

bit confused

Post 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

MartinM
Posts: 433
Joined: Sat Aug 27, 2005 12:08 pm

"install serial port support

Post 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?

4600cc
Posts: 0
Joined: Sun Jul 11, 2004 1:48 am

I guess I'll write a step by step too

Post 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>

MartinM
Posts: 433
Joined: Sat Aug 27, 2005 12:08 pm

I feel a book coming

Post by MartinM »

I feel a book coming on...

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

gav
Posts: 36
Joined: Fri Jun 30, 2006 10:58 pm
Location: Kent

ha ha

Post 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

brentp
Site Admin
Posts: 6275
Joined: Wed Jan 24, 2007 6:36 am

Now that is funny! Did you

Post by brentp »

Now that is funny! Did you do all of that 'by hand' or photochop a previous image?

Brent
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

davepsmith
Posts: 0
Joined: Tue Jul 11, 2006 12:26 pm

Which Tuner?

Post 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

MartinM
Posts: 433
Joined: Sat Aug 27, 2005 12:08 pm

You choose!

Post 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...

4600cc
Posts: 0
Joined: Sun Jul 11, 2004 1:48 am

both

Post 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.

davepsmith
Posts: 0
Joined: Tue Jul 11, 2006 12:26 pm

Thanks I will download and

Post by davepsmith »

Thanks I will download and try both!

Post Reply