AEM 4-channel UEGO CANbus?

General support questions and announcements for MS3. See also MS3 manuals.

Moderators: jsmcortina, muythaibxr

subwoofer
Super MS/Extra'er
Posts: 884
Joined: Sat Apr 30, 2011 12:34 pm
Location: Sandefjord, Norway

AEM 4-channel UEGO CANbus?

Post by subwoofer »

I was just reading up on a few WBO2 controller threads and started looking around when I found the 4-channel controller: http://www.aemelectronics.com/wideband- ... roller-60/

Quoting that page: "The CAN bus datastream output is compatible with most programmable ECUs, data loggers, dashes and dyno systems, and provides users with the ability to data log for each individual cylinder without tying up all of the ECU’s channels."
Can the MS3 do anything useful with the AEMnet data streams? The cost for a 4-cylinder kit is within reason, and it can even be pressure compensated for the turbo guys to measure per-cylinder AFR.

I have not read up on CANbus yet, so I am really a cluebie in that respect.
Joachim
1974 Jensen-Healey
1990 VW Caravelle Syncro - running MS3+X
2014 Ford Fiesta EcoBoost
jsmcortina
Site Admin
Posts: 39611
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: AEM 4-channel UEGO CANbus?

Post by jsmcortina »

I looked at the datasheet for the product and Appendix A on page 19 onwards details the CAN message format. It ought to be possible with the "CAN receiving" in MS3 pre-1.4 codes to receive the data being broadcast and translate it into an AFR in MS3.
(As an aside, I wasn't able to implement CAN receiving on MS2 as there isn't enough RAM left.)

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".
subwoofer
Super MS/Extra'er
Posts: 884
Joined: Sat Apr 30, 2011 12:34 pm
Location: Sandefjord, Norway

Re: AEM 4-channel UEGO CANbus?

Post by subwoofer »

Good to know, I have to read a bit. This may belong in MS3 Development, but if I understand you correctly you are adding a generic mechanism for retrieving data from incoming CANbus data streams in 1.4? That could be immensely useful for a lot of purposes.

Aside: The 4-channel UEGO has differential outputs for the analog AFR channels, in contrast to the Innovate products. IMHO single ended analog signals have nothing to do in our applications due to the ground currents running everywhere. Differential or current loop signaling would have reduced a lot of problems. The MS3+X really should have had differential analog inputs for the generic inputs - although that could be added with addon cards.
Joachim
1974 Jensen-Healey
1990 VW Caravelle Syncro - running MS3+X
2014 Ford Fiesta EcoBoost
hardline
Master MS/Extra'er
Posts: 503
Joined: Mon Sep 08, 2008 8:37 pm
Location: Peoria, IL

Re: AEM 4-channel UEGO CANbus?

Post by hardline »

Gentlemen, I have been consulting with Inis and I figure this would work with him for his AEM UEGO controller. Please see the attached data.


Image

CANADC01 - 04 are the Wideband sensors, output into an ADC format that MS can understand ADC value of 0 = 0.00 Lambda, ADC value of 1023 = 6.5535 Lambda
CANADC05 is the exhaust pressure in PSIg, per the backpressure sensor. ADC Value of 0 - 0.00 PSIg, ADC Value of 1023 = 655.35 PSIg

Image

This is the transformation of the Exhaust Backpressure Gauge

Image

Looking at it, I know you're like: "WTF! That AFR Value is huge, it will never read right." If it were analog, yes, I'd agree. However, since it is Digital pretending to be analog, it has much better resolution. Each ADC point is .0064 Lambda or .09408 of an AFR point. Very decent resolution.
Last edited by hardline on Tue Apr 08, 2014 12:45 am, edited 1 time in total.
2000 ZX2 : Sequential COP, MS3 + MS3X + TinyIOx, PWM Returnless Fuel, Flex Fuel, Variable Geometry Intake Manifold, Garrett GTX2863R .82AR housing @ 15 psi
subwoofer
Super MS/Extra'er
Posts: 884
Joined: Sat Apr 30, 2011 12:34 pm
Location: Sandefjord, Norway

Re: AEM 4-channel UEGO CANbus?

Post by subwoofer »

There is something wrong with your links.
Joachim
1974 Jensen-Healey
1990 VW Caravelle Syncro - running MS3+X
2014 Ford Fiesta EcoBoost
hardline
Master MS/Extra'er
Posts: 503
Joined: Mon Sep 08, 2008 8:37 pm
Location: Peoria, IL

Re: AEM 4-channel UEGO CANbus?

Post by hardline »

Is that better? If not, I'll have to use photobucket, but I don't like to because it is blocked at work.
2000 ZX2 : Sequential COP, MS3 + MS3X + TinyIOx, PWM Returnless Fuel, Flex Fuel, Variable Geometry Intake Manifold, Garrett GTX2863R .82AR housing @ 15 psi
subwoofer
Super MS/Extra'er
Posts: 884
Joined: Sat Apr 30, 2011 12:34 pm
Location: Sandefjord, Norway

Re: AEM 4-channel UEGO CANbus?

Post by subwoofer »

Works now.
Joachim
1974 Jensen-Healey
1990 VW Caravelle Syncro - running MS3+X
2014 Ford Fiesta EcoBoost
Six_Shooter
Super MS/Extra'er
Posts: 1423
Joined: Mon Oct 17, 2011 7:28 pm
Location: South Western Ontario

Re: AEM 4-channel UEGO CANbus?

Post by Six_Shooter »

So did this work?

I have an AEM Failsafe gauge and would like to use the AEMnet/CANbus because, well... it would be neat to do so.
Tha Toy: 1973 Datsun 240Z Turbocharged, and loads of fun, now MS'd
Tha Otha Toy: 1923 T-bucket Hot Rod, Currently Sniper'd
Tha Daily: 2005 Chevy Blazer
Tha Summer Daily: 1987 Buick Skyhawk hatchback
Tha Long Term Project: 1985 GMC S-10 Jimmy, hasn't been fun for a while
quark2501
Master MS/Extra'er
Posts: 393
Joined: Sat Mar 03, 2007 9:27 am
Location: Denmark, Fyn
Contact:

Re: AEM 4-channel UEGO CANbus?

Post by quark2501 »

Got it working.

Only "problem" is that you need to calibrate all sensors together. So if you have a fifth sensor, it bad luck. Will there be a work around this James?

Mvh
Christian


Sendt fra min SM-N950F med Tapatalk
nathaninwa
Super MS/Extra'er
Posts: 2638
Joined: Tue Sep 14, 2004 4:17 pm
Location: Aberdeen, Wa

Re: AEM 4-channel UEGO CANbus?

Post by nathaninwa »

Is it still only setup to run the aem box on the cunbus only? I have 3 other devices using megasquirt can and want to add this aem 4 channel box as well
Volvo 940, 2jzge, MS3Pro, daily
240Z, 2JZ, MS3Pro boost control
racingmini_mtl
Super MS/Extra'er
Posts: 9129
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: AEM 4-channel UEGO CANbus?

Post by racingmini_mtl »

nathaninwa wrote:Is it still only setup to run the aem box on the cunbus only? I have 3 other devices using megasquirt can and want to add this aem 4 channel box as well
Look at the manual: http://www.msextra.com/doc/pdf/html/Meg ... 5-282.html. Since the AEM CAN protocol uses 29-bit IDs, there is no choice but to disable the Megasquirt protocol because there could be conflicts between protocols that could create serious problems.

That's not something that can be fixed through an MS3 firmware update. It would either require AEM to change their protocol or have the other devices you use update their firmware to not use the Megasquirt protocol. Which devices are you using?

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
nathaninwa
Super MS/Extra'er
Posts: 2638
Joined: Tue Sep 14, 2004 4:17 pm
Location: Aberdeen, Wa

Re: AEM 4-channel UEGO CANbus?

Post by nathaninwa »

Thanks Jean

I'm running micro as an I/O box, CANegt box, and the perfect tuning gauge

My plan is to Black Friday another micro for the aem setup
Volvo 940, 2jzge, MS3Pro, daily
240Z, 2JZ, MS3Pro boost control
jsmcortina
Site Admin
Posts: 39611
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: AEM 4-channel UEGO CANbus?

Post by jsmcortina »

The IO-box is compatible because it uses regular 11bit broadcasts.
The CAN-EGT could be compatible, Jean sent me some test firmware, but I've not yet completed the additions to MS3 to fully support it.

I don't know about the gauge. If it uses Megasquirt-CAN then nope. If it listens to "Dash broadcast" then yes.

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".
quark2501
Master MS/Extra'er
Posts: 393
Joined: Sat Mar 03, 2007 9:27 am
Location: Denmark, Fyn
Contact:

Re: AEM 4-channel UEGO CANbus?

Post by quark2501 »

Is it also possible to put a ms2e on the Canbus with Aem connected to a ms3x?

Sendt fra min SM-N950F med Tapatalk
jsmcortina
Site Admin
Posts: 39611
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: AEM 4-channel UEGO CANbus?

Post by jsmcortina »

No. CAN is a bus topology where messages are sent to all nodes. So if any one node is trying to talk "Megasquirt CAN" then the AEM box will interfere with it.

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".
quark2501
Master MS/Extra'er
Posts: 393
Joined: Sat Mar 03, 2007 9:27 am
Location: Denmark, Fyn
Contact:

Re: AEM 4-channel UEGO CANbus?

Post by quark2501 »

Okay. But i would be possible with a microsquirt as an I/O Box.
jsmcortina
Site Admin
Posts: 39611
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: AEM 4-channel UEGO CANbus?

Post by jsmcortina »

quark2501 wrote:Okay. But i would be possible with a microsquirt as an I/O Box.
Yes, that should work with:
MS3 with "Megasquirt CAN" disabled.
AEM
Microsquirt IO-box.

However... I haven't tested this. The Microsquirt IO-box does still listen for Megasquirt-CAN so could possibly be disrupted. IF that happens I can put out a version that disables the Megasquirt-CAN totally.

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".
nathaninwa
Super MS/Extra'er
Posts: 2638
Joined: Tue Sep 14, 2004 4:17 pm
Location: Aberdeen, Wa

Re: AEM 4-channel UEGO CANbus?

Post by nathaninwa »

I've ordered two of the aem boxes, still waiting for responce from the perfect tuning guage gentleman

Edit, email sent again. And my Canegt is from DIY. Does Jean do the firmware for these?
Volvo 940, 2jzge, MS3Pro, daily
240Z, 2JZ, MS3Pro boost control
Suprazz
Master MS/Extra'er
Posts: 499
Joined: Mon Jan 22, 2007 7:58 pm
Contact:

Re: AEM 4-channel UEGO CANbus?

Post by Suprazz »

The Perfect Tuning gauge work by default with the original megasquirt protocol 29 bits.

But I also have the other firmware version for the gauge that I'm using for the ms2 that is working with dash broadcasting and it would work with ms3 too.

So you can change the firmware and it would work. But if you were using the 3x analog input on the gauge as an expansion box, I'm not sure if this will interfere or still work well...
Best looking and most advanced CAN-bus gauge
Toyota Supra 7MGE, 7M-GTE and 1JZ-GTE Plug and play ECUs: http://www.perfecttuning.net
Serial to Bluetooth or Serial to WiFi
DIYAutotune Canadian, EFI Source and ECUMaster reseller!
nathaninwa
Super MS/Extra'er
Posts: 2638
Joined: Tue Sep 14, 2004 4:17 pm
Location: Aberdeen, Wa

Re: AEM 4-channel UEGO CANbus?

Post by nathaninwa »

I'm only using the guage to send crank case vacuum from an analog input through the gauge. I'm able to use a micro input for that now so the perfect tuning guage would only be used for displaying
Volvo 940, 2jzge, MS3Pro, daily
240Z, 2JZ, MS3Pro boost control
Post Reply