Microsquirt/MS2 based transmission controller

This forum is for the discussion of other projects on Megasquirt/Microsquirt hardware that don't fit into any of the other forums

Moderators: muythaibxr, jsmcortina

Microsquirt/MS2 based transmission controller

Postby eliotmansfield » Fri Dec 28, 2007 1:16 am

Mod edit: -> See http://www.msextra.com/viewtopic.php?f=123&t=30663#p203612 and http://www.jsm-net.demon.co.uk/trans for more info

jsmcortina wrote:
devojet wrote:Hi james, Do you plan to add the CAN code to your Microsquirt transmission code.

Done. Only took just over an hour and seems to work ok with MS2/Extra.
I've not released this new version yet.

James

Does that mean it now relies on can for the RPM/TPS or (i.e. i will need to upgrade to MS2) or you can still share signals, aka your original alpha.
Long term I intend to upgrade to ms2/extra, but my existing ms1 works just fine!
I better tag mr shurvalot for a ms2 processor chip i guess.
Eliot Mansfield
5.7L Twin Turbo Dakar 4x4.
www.mez.co.uk
User avatar
eliotmansfield
Experienced MS/Extra'er
 
Posts: 249
Joined: Sat Apr 03, 2004 1:39 am
Location: Milton Keynes - UK

Postby jsmcortina » Fri Dec 28, 2007 3:51 am

eliotmansfield wrote:Does that mean it now relies on can for the RPM/TPS or (i.e. i will need to upgrade to MS2) or you can still share signals, aka your original alpha.

That next release of my trans code lets you choose between local signals and CAN acquired data.

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 26055
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Postby devojet » Fri Jan 04, 2008 4:33 am

I just set up two MS2extra's on the bench and had a play with the ADC's over the CAN. It worked well. I then tried the GPIO tranmission code with MS2extra but the transmission processor wasn't receiving any info over CAN. I must have a setting wrong somewhere. I then tried the GPIO trans code with the latest B&G code and it worked fine.

This CAN stuff is very interesting. When can I get a copy of the new version of the trans code so I can have a play with it?

Cheers

Daniel
devojet
Experienced MS/Extra'er
 
Posts: 257
Joined: Sat Dec 30, 2006 6:00 am
Location: Gold Coast, Australia

Postby jsmcortina » Fri Jan 04, 2008 5:55 pm

devojet wrote:I just set up two MS2extra's on the bench and had a play with the ADC's over the CAN. It worked well. I then tried the GPIO tranmission code with MS2extra but the transmission processor wasn't receiving any info over CAN.

I haven't uploaded the CAN-enabled trans code yet - that's why it didn't work....
(new copy sent by email)

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 26055
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Postby devojet » Fri Jan 04, 2008 6:42 pm

Hi James, it was Lance's trans code I was trying to use with MS2extra that didn't work. It doesn't worry me though as I plan to use MS2extra and your trans code plus I was probably doing something wrong. Just thought I would let you know that it didn't work for me.

Cheers

Daniel
devojet
Experienced MS/Extra'er
 
Posts: 257
Joined: Sat Dec 30, 2006 6:00 am
Location: Gold Coast, Australia

Postby devojet » Sun Jan 06, 2008 4:29 am

Hi James,

I had your new trans code working today on one of my megasquirts and it was talking to my other MS running MS2extra beta 17. It seemed to work fine except for two little things;

1. It doesn't recieve CLT temp over the CAN.

2. The Line Pressure output doesn't make it passed the AND chip on MS2. I think the PWM2 output (see MS2 schmatic) needs to be set low.

I have started building my own trans controller using an MS2 card and Vero Board. see attached photo.
Last edited by devojet on Thu Jan 15, 2009 8:54 pm, edited 2 times in total.
devojet
Experienced MS/Extra'er
 
Posts: 257
Joined: Sat Dec 30, 2006 6:00 am
Location: Gold Coast, Australia

Postby jsmcortina » Sun Jan 06, 2008 4:36 am

(I've split this topic)
I forgot the CLT - easy fix though.

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 26055
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Postby 6040solder » Sun Jan 06, 2008 4:55 am

good work devojet :-) keep us posted with lots of pics :-)

Check out this open source trans controller project: http://forum.diyefi.org/viewtopic.php?f=16&t=1823
Last edited by 6040solder on Sun Jul 29, 2012 8:07 pm, edited 2 times in total.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS on facebook! - a convenient way to get your updates!
My FreeEMS powered DOHC Holset turbo Mazda truck!
The ever growing list of FreeEMS success stories!
User avatar
6040solder
Experienced MS/Extra'er
 
Posts: 307
Joined: Mon Oct 22, 2007 7:15 am
Location: Auckland, New Zealand

Postby jsmcortina » Sun Jan 06, 2008 5:50 am

I posted a new alpha
http://www.jsm-net.demon.co.uk/trans/fi ... 080106.zip

This now collects the engine temp via CAN.

On the EPC, I think you need to make a minor mod to your MS2 card to get that pin out if I'm right. Because both pins going to the AND gate are used.
Run a small jumper wire from each of the AND gate inputs to one of the spare MS2 pins.
e.g. AND gate pin 4 to DIP40 pin 4
AND gate pin 5 to DIP40 pin 5

Pin4 = uS IGN2
Pin5 = us INJ2

These will be inverted with respect to the Microsquirt equivalent pins, let me know and I can change this inversion in the code.

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 26055
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Postby devojet » Sun Jan 06, 2008 3:12 pm

Thanks for the new code and clarification, I forgot the other pin going to the AND gate is being used. I won't have to do those mods with my board as the two outputs are already sent directly to pins on the MS2 card. I only suggested that "Bug" as I thought others might want to try use a V3 pcb as a trans controller. The outputs also won't need inverting in the code as I have allowed for this in my circuits.

Cheers

Daniel
devojet
Experienced MS/Extra'er
 
Posts: 257
Joined: Sat Dec 30, 2006 6:00 am
Location: Gold Coast, Australia

Postby devojet » Tue Jan 08, 2008 4:45 am

Hi James,

I tried out the new alpha trans code today. I installed MS2extra beta 18 on one MS2 and the trans code on the other MS2. The CLT input now works over CAN but TPS no longer works at all CAN or Local.

Also another issue I found earlier but forgot to mention it. When the Trans code is running in local mode (No CAN) with a stim plugged in when I turn the EGO pot the gear selector changes as it should but the CLT gauge also moves. I'm not sure if this is hardware or software issue, but the EGO input should have nothing to do with the CLT input.

Cheers

Daniel.

P.S. do you want me reporting bugs here or would you prefer me to email you privately?
devojet
Experienced MS/Extra'er
 
Posts: 257
Joined: Sat Dec 30, 2006 6:00 am
Location: Gold Coast, Australia

Postby jsmcortina » Wed Jan 09, 2008 3:49 pm

Your testing is useful.
The TPS was broken over CAN, a simple fix.

http://www.jsm-net.demon.co.uk/trans/fi ... 080109.zip

I found that TPS, EGO and CLT behaved normally in local mode. However, if nothing is wired to the new CLT input and it is floating it may inadvertently pickup some voltage from the other signals - perhaps.

How's the physical testing?

I'd have thought a car on jackstands would be useful for some rudimentary testing at least. e.g.
-does gear lever selection display correctly
-does it upshift under low load ok
-do manual gears hold

Even if this is incomplete or basic testing it is still good info on whether the code is vaguely useful at this point.

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 26055
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Postby devojet » Wed Jan 09, 2008 4:34 pm

Just for other people reading this. My plan is to use this code with a Toyota A341E gearbox which is found behind the 1uzfe V8 and others. This gearbox functions simular to a 4L80E except the shift solinoids have a different patern for gear shifts which is not a big deal to change in the code.

James,
I had the CLT input floating so I guess that is all that was. The Physical testing is still a little way off though, I haven't even wired up the MS to the engine yet, not to mention the fuel system, exhaust, cooling system, etc. I'm back at work this week so I only have a couple of hours a night to work on this. I only finished off the vero board circuits last night but it still has a bug I need to work out.

I will continue to do what ever testing I can with this though. Controlling the A341E gearbox has been a back ground project of mine for a few years now. I just never had a reason to do anything about it until I started building my hot rod.

I'm supprised there isn't more people wanting to test this. There always seems to be people on these forums asking about gearbox control. Maybe they are just waiting for the GPIO.

Cheers

Daniel.
devojet
Experienced MS/Extra'er
 
Posts: 257
Joined: Sat Dec 30, 2006 6:00 am
Location: Gold Coast, Australia

Postby jsmcortina » Wed Jan 09, 2008 4:47 pm

Coolant, exhausts? Who needs them!

Fuel system = fuel pump shoved into a petrol can and some nylon hoses.

Or is that just me...

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 26055
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Postby devojet » Wed Jan 09, 2008 4:55 pm

No it's not just you! I have been thinking that as well. But to test the gearbox I will need a cooling system, But I could always wear earmuffs instead of fitting an exhaust. Although the exhaust I have is only a set of flanges bolted to the heads, with no pipes at all!
devojet
Experienced MS/Extra'er
 
Posts: 257
Joined: Sat Dec 30, 2006 6:00 am
Location: Gold Coast, Australia

Postby jsmcortina » Wed Jan 09, 2008 5:19 pm

devojet wrote: But to test the gearbox I will need a cooling system,

Why?

However there are times where it makes sense to get the job done fully instead of "playing" with it half finished.

Vid of LT1 with no coolant or exhausts: http://www.youtube.com/watch?v=_0KoF7qnRv0

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 26055
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Postby devojet » Thu Jan 10, 2008 4:17 am

One question, If I have no exhaust where do I put my WBO2?? :shock: :lol:

I tested out the latest version of the code and finished off my vero board controller. It all seems to be working well now. Next I will have a go at modifying the code to suit the shift patern of my gearbox, then start looking at wiring up the engine and gearbox.

Attached is an updated picture of my controller. When I get a chance I will update the schematic for my controller and post it.

cheers

Daniel
devojet
Experienced MS/Extra'er
 
Posts: 257
Joined: Sat Dec 30, 2006 6:00 am
Location: Gold Coast, Australia

Re: Microsquirt/MS2 based trans controller+ CAN

Postby LT401Vette » Sun Oct 26, 2008 12:40 am

James,
I have your trans code running on the bench, it is pulling all the CAN values from a 2.886 controller fine. One thing I found though:
When I call the och get command ("r\x07\x07\x00\x00\x00\x2c"), I am expecting 44 bytes, but it will actually just keep giving me bytes well beyond 44. I didn't test how far... With all the other Firmwares TunerStudio was throwing an exception if i got more than I was expecting, as it was assumed that what I got is probably not what I was looking for, so it is garbage.

To avoid this I had to force a break on read when I hit the expected byte count, which is simple enough, but means I will be bypassing the check for all firmwares. Any Idea why this code does this?

Also; Is CAN pass through enabled on this code? Should I be able to connect to it through the EFI controller? Currently i can only connect by putting the serial cable on the Unit running the trans code.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
User avatar
LT401Vette
Super MS/Extra'er
 
Posts: 7777
Joined: Sat Jul 16, 2005 8:07 am
Location: Charlotte, NC

Re: Microsquirt/MS2 based trans controller+ CAN

Postby devojet » Sun Oct 26, 2008 3:11 am

I can answer the last question. CAN pass through works if your efi controller is running the extra code. James changed something in the extra code that allowed the CAN pass through to work with Megatune.
26 chev Hot rod with 1uzfe, MS2extra + James transmission control firmware + LCDash.
EF falcon turbo MS2extra
Hilux 22R MS2 (mates car)
devojet
Experienced MS/Extra'er
 
Posts: 257
Joined: Sat Dec 30, 2006 6:00 am
Location: Gold Coast, Australia

Re: Microsquirt/MS2 based trans controller+ CAN

Postby LT401Vette » Sun Oct 26, 2008 5:19 am

Thanks... I'll go ahead and give that a shot then.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
User avatar
LT401Vette
Super MS/Extra'er
 
Posts: 7777
Joined: Sat Jul 16, 2005 8:07 am
Location: Charlotte, NC

Next

Return to Other Development

Who is online

Users browsing this forum: No registered users and 2 guests