upgrade 45-1 wheel?

Building and using the Stimulator to test your Megasquirt

Moderators: jsmcortina, muythaibxr

Post Reply
savagerocco
Master MS/Extra'er
Posts: 756
Joined: Thu Oct 20, 2005 11:09 am
Location: Ogden UT USA
Contact:

upgrade 45-1 wheel?

Post by savagerocco »

I have read thru the instructions, but I seem to be missing something. I have modified the 36-1 to allow for a 45-1 wheel. Pretty sure I got it right.

But I am having issues getting the code to load to the cpu. I open a command prompt and withe the stim turned on, i type

wheel_converter wheels_default.jsw com3 9600

but I can't get it to talk... What am I doing wrong?

here is the 45-1 code I swapped out for the 36-1 code

//wheel1
// this is 45-1 with 2nd trigger pulse
//format of wheel pattern is
//output byte, delay factor (angular or time)
00,4,
01,4, //1
00,4,
01,4, //2
00,4,
01,4, //3
00,4,
01,4, //4
00,4,
01,4, //5
00,4,
01,4, //6
00,4,
01,4, //7
00,4,
01,4, //8
00,4,
01,4, //9
00,4,
01,4, //10
00,4,
01,4, //11
00,4,
01,4, //12
00,4,
01,4, //13
00,4,
01,4, //14
00,4,
01,4, //15
00,4,
01,4, //16
00,4,
01,4, //17
00,4,
01,4, //18
00,4,
01,4, //19
00,4,
01,4, //20
00,4,
01,4, //21
00,4,
01,4, //22
00,4,
01,4, //23
00,4,
01,4, //24
00,4,
01,4, //25
00,4,
01,4, //26
00,4,
01,4, //27
00,4,
01,4, //28
00,4,
01,4, //29
00,4,
01,4, //30
00,4,
01,4, //31
00,4,
01,4, //32
00,4,
11,4, //33 // 2nd
10,4, // trig
11,4, //34 // in
10,4, // here
01,4, //35
00,4,
00,4, //36
00,4,
01,4, //38
00,4,
01,4, //39
00,4,
01,4, //40
00,4,
01,4, //41
00,4,
01,4, //42
00,4,
01,4, //43
00,4,
01,4, //44
00,4,
01,4, //45 (missing tooth)
00,4,
01,4, //1 // 2nd rev
00,4,
01,4, //2
00,4,
01,4, //3
00,4,
01,4, //4
00,4,
01,4, //5
00,4,
01,4, //6
00,4,
01,4, //7
00,4,
01,4, //8
00,4,
01,4, //9
00,4,
01,4, //10
00,4,
01,4, //11
00,4,
01,4, //12
00,4,
01,4, //13
00,4,
01,4, //14
00,4,
01,4, //15
00,4,
01,4, //16
00,4,
01,4, //17
00,4,
01,4, //18
00,4,
01,4, //19
00,4,
01,4, //20
00,4,
01,4, //21
00,4,
01,4, //22
00,4,
01,4, //23
00,4,
01,4, //24
00,4,
01,4, //25
00,4,
01,4, //26
00,4,
01,4, //27
00,4,
01,4, //28
00,4,
01,4, //29
00,4,
01,4, //30
00,4,
01,4, //31
00,4,
01,4, //32
00,4,
01,4, //33
00,4,
01,4, //34
00,4,
01,4, //35
00,4,
00,4, //36
00,4,
01,4, //38
00,4,
01,4, //39
00,4,
01,4, //40
00,4,
01,4, //41
00,4,
01,4, //42
00,4,
01,4, //43
00,4,
01,4, //44
00,4,
01,4, //45 (missing tooth)
00,4,
0xff // terminating string
Brent Savage
life behind the zion curtain
90 audi RS2 20VTQ 6sp MS3, MSX COP and Sequential and now MAF
87 Scirocco 2.0 ABA 16v EIP tubular cast MSII COP
86 Audi 4K20VTQ MSII
90 Audi 90 sedan 3.6l DOHC V8TT (project car)
89 VW cabbie (bitch basket) 2.0 ABA Turbo MSII
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: upgrade 45-1 wheel?

Post by racingmini_mtl »

As I mentioned in my PM, you need to use this:

Code: Select all

wheel_converter wheels_default.jsw wheels_default.jsr com3 9600
where the second file is the output file containing the image of the flash memory.

Also, while this is not an issue the missing tooth is not where the comments indicates it in your pattern but at tooth 36. This can be seen by the 3 successive 00 in the tooth definition. If you really want it at tooth 45, replace the 00 for tooth 36 to a 01 and the 01 for tooth 45 by a 00.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
savagerocco
Master MS/Extra'er
Posts: 756
Joined: Thu Oct 20, 2005 11:09 am
Location: Ogden UT USA
Contact:

Re: upgrade 45-1 wheel?

Post by savagerocco »

just saw that post.... I'll look at the file I modified and see if it takes. Thanks
Brent Savage
life behind the zion curtain
90 audi RS2 20VTQ 6sp MS3, MSX COP and Sequential and now MAF
87 Scirocco 2.0 ABA 16v EIP tubular cast MSII COP
86 Audi 4K20VTQ MSII
90 Audi 90 sedan 3.6l DOHC V8TT (project car)
89 VW cabbie (bitch basket) 2.0 ABA Turbo MSII
savagerocco
Master MS/Extra'er
Posts: 756
Joined: Thu Oct 20, 2005 11:09 am
Location: Ogden UT USA
Contact:

Re: upgrade 45-1 wheel?

Post by savagerocco »

here is the pattern i loaded, took out the second trigger to simplify

//wheel1
// this is 45-1
//format of wheel pattern is
//output byte, delay factor (angular or time)
00,4,
01,4, //1
00,4,
01,4, //2
00,4,
01,4, //3
00,4,
01,4, //4
00,4,
01,4, //5
00,4,
01,4, //6
00,4,
01,4, //7
00,4,
01,4, //8
00,4,
01,4, //9
00,4,
01,4, //10
00,4,
01,4, //11
00,4,
01,4, //12
00,4,
01,4, //13
00,4,
01,4, //14
00,4,
01,4, //15
00,4,
01,4, //16
00,4,
01,4, //17
00,4,
01,4, //18
00,4,
01,4, //19
00,4,
01,4, //20
00,4,
01,4, //21
00,4,
01,4, //22
00,4,
01,4, //23
00,4,
01,4, //24
00,4,
01,4, //25
00,4,
01,4, //26
00,4,
01,4, //27
00,4,
01,4, //28
00,4,
01,4, //29
00,4,
01,4, //30
00,4,
01,4, //31
00,4,
01,4, //32
00,4,
01,4, //33
00,4,
01,4, //34
00,4,
01,4, //35
00,4,
01,4, //36
00,4,
01,4, //38
00,4,
01,4, //39
00,4,
01,4, //40
00,4,
01,4, //41
00,4,
01,4, //42
00,4,
01,4, //43
00,4,
01,4, //44
00,4,
00,4, //45 (missing tooth)
0xff // terminating string
Brent Savage
life behind the zion curtain
90 audi RS2 20VTQ 6sp MS3, MSX COP and Sequential and now MAF
87 Scirocco 2.0 ABA 16v EIP tubular cast MSII COP
86 Audi 4K20VTQ MSII
90 Audi 90 sedan 3.6l DOHC V8TT (project car)
89 VW cabbie (bitch basket) 2.0 ABA Turbo MSII
savagerocco
Master MS/Extra'er
Posts: 756
Joined: Thu Oct 20, 2005 11:09 am
Location: Ogden UT USA
Contact:

Re: upgrade 45-1 wheel?

Post by savagerocco »

Here is the composite log, it only has 43 teeth showing..... what did i get wrong in the code file?
Brent Savage
life behind the zion curtain
90 audi RS2 20VTQ 6sp MS3, MSX COP and Sequential and now MAF
87 Scirocco 2.0 ABA 16v EIP tubular cast MSII COP
86 Audi 4K20VTQ MSII
90 Audi 90 sedan 3.6l DOHC V8TT (project car)
89 VW cabbie (bitch basket) 2.0 ABA Turbo MSII
savagerocco
Master MS/Extra'er
Posts: 756
Joined: Thu Oct 20, 2005 11:09 am
Location: Ogden UT USA
Contact:

Re: upgrade 45-1 wheel?

Post by savagerocco »

found it, missing 37......
Brent Savage
life behind the zion curtain
90 audi RS2 20VTQ 6sp MS3, MSX COP and Sequential and now MAF
87 Scirocco 2.0 ABA 16v EIP tubular cast MSII COP
86 Audi 4K20VTQ MSII
90 Audi 90 sedan 3.6l DOHC V8TT (project car)
89 VW cabbie (bitch basket) 2.0 ABA Turbo MSII
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: upgrade 45-1 wheel?

Post by racingmini_mtl »

Yeah, that would do it. I missed that also when I looked at it earlier.

What I usually do is that I import the data in Open office Calc (I guess Excel would also work) and separate the data in columns. I then make sure that the second column, which is the number of degrees for each tooth and gap, comes up to a total of 720. If it's not 720 then there is either something missing, added or a typo in one the values.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
jsmcortina
Site Admin
Posts: 39621
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: upgrade 45-1 wheel?

Post by jsmcortina »

I wrote a tri-tach mode for the stim the other day which simulates the raw flywheel teeth, peg and cam. However, it requires a firmware change. i.e. new chip for end users.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: upgrade 45-1 wheel?

Post by racingmini_mtl »

Which pin is used for the third output?

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
jsmcortina
Site Admin
Posts: 39621
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: upgrade 45-1 wheel?

Post by jsmcortina »

PTB1 = TX. Of course it is 3V3 too and no circuit exists on the board to use it. However, with my "tri-tach" testing, I already had wires flying all over the place and was able to route that third tach into the MS3X cam input and set the threshold appropriately.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
savagerocco
Master MS/Extra'er
Posts: 756
Joined: Thu Oct 20, 2005 11:09 am
Location: Ogden UT USA
Contact:

Re: upgrade 45-1 wheel?

Post by savagerocco »

Yes, it works now on the stim, but I think that I have the firing order screwed up on the coils. It acts like it wants to start but bucks like wrong order. I went off what you indicated jean.. I think I am getting close though. I have another Audi motor I want to run off the factory sensors. Would go a long way to make things easier on a lot of cars... At least in the motronic world.
Brent Savage
life behind the zion curtain
90 audi RS2 20VTQ 6sp MS3, MSX COP and Sequential and now MAF
87 Scirocco 2.0 ABA 16v EIP tubular cast MSII COP
86 Audi 4K20VTQ MSII
90 Audi 90 sedan 3.6l DOHC V8TT (project car)
89 VW cabbie (bitch basket) 2.0 ABA Turbo MSII
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: upgrade 45-1 wheel?

Post by racingmini_mtl »

Can you check the timing on all cylinders? If you could that would help in determining which cylinders are wrong.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
savagerocco
Master MS/Extra'er
Posts: 756
Joined: Thu Oct 20, 2005 11:09 am
Location: Ogden UT USA
Contact:

Re: upgrade 45-1 wheel?

Post by savagerocco »

I guess I could check the other cylinders, but then I would need to mark off the pulley with degrees. I think I am pretty close right now, but I think I need to get a little more timing, drop tooth one to 350 .
Brent Savage
life behind the zion curtain
90 audi RS2 20VTQ 6sp MS3, MSX COP and Sequential and now MAF
87 Scirocco 2.0 ABA 16v EIP tubular cast MSII COP
86 Audi 4K20VTQ MSII
90 Audi 90 sedan 3.6l DOHC V8TT (project car)
89 VW cabbie (bitch basket) 2.0 ABA Turbo MSII
hassmaschine
Super MS/Extra'er
Posts: 1331
Joined: Mon May 21, 2007 8:36 am

Re: upgrade 45-1 wheel?

Post by hassmaschine »

jsmcortina wrote:PTB1 = TX. Of course it is 3V3 too and no circuit exists on the board to use it. However, with my "tri-tach" testing, I already had wires flying all over the place and was able to route that third tach into the MS3X cam input and set the threshold appropriately.

James
I know this is off topic, but maybe this could help me?

http://www.msextra.com/forums/viewtopic ... 02&t=43472
Post Reply