MCE18 – Can Bus Extension

MCE18 stands for “Multifunction Can Bus Extension” with previously 18 connections (now 19) – why is this module needed?
Our displays ( MFD15 , MFD28 , MFD32 ,  MFD32S ) have four analog inputs. However, for some applications this may be too little and more inputs are required.
It makes sense to map this using the flexible Can Bus protocol. For this purpose, the sensors are connected to our MCE18 and sent via Can Bus to the device to be received – for example one of our displays.

But even freely programmable control devices only have a limited number of inputs. This can be easily expanded with our module and sent directly to the control unit.

9 analog inputs (0-5V)
8 digital inputs (on/off)
3 digital outputs (on/off LOW SIDE 0.5A) (new in v2!)

Tested with:
CANchecked MFD28/MFD32/MFD32S
MaxxECU
Ecumaster
LinkECU
Haltech (emulates an IO Extender A+B or just B)
Syvecs (coming soon)
Motec (coming soon)
aim

This device is also available without a housing:  CFE18 – can switch board

MCE18 can bus extension

– hardware –

Scope of delivery:

  • MCE18 with case
  • Connector Superseal 34pin (TE 4-1437290-0)
  • Pins Superseal 1.0 20AWG (TE 3-1447221-4)
  • 3 jumpers
MCE18 measures
MCE18 can bus extension
MCE18 can bus extension
MCE18 can bus extension

– pin assignment –

MCE18 v3 pinout
Pin codeDesignationDescription
1+12V12V power supply
2GNDGround power supply
3+5V5V sensor power supply
4+5V5V sensor power supply
5VBUS5V USB (usually red)
6D+D+ USB data (mostly green)
7DD- USB data (mostly white)
8thUSBGNDUSB ground (usually black)
9D6Digital input 6
10D7Digital input 7 (unused in v2 – board v0.8)
11D0Digital input 0
12A1Analog input 1
13A2Analog input 2
14A3Analog input 3
15AUX3Digital output 3
16AUX2Digital output 2
17AUX1Digital output 1
18SGNDsensor mass
19SGNDsensor mass
20A0Analog input 0
21D1Digital input 1
22A6Analog input 6
23A7Analog input 7
24A4Analog input 4
25D5Digital input 5
26CANHCan Bus High
27CANLCan Bus Low
28SGNDsensor mass
29+5V5V sensor power supply
30D4Digital input 4
31D3Digital input 3
32A5Analog input 5
33A8Analog input 8
34D2Digital input 2

– Jumper configuration –

MCE18 inside jumpers

If you remove the front 4 screws, you can pull off the housing. There are three jumpers on the back.

1) JP1 inserted activates the 120 ohm resistor for the Can Bus
2) JP2 inserted activates the 1K1 pullup resistor for A1 and A2
3) JP3 inserted activates the 1K1 pullup resistor for A6 and A7

By default, all jumpers are removed


– Default CAN Bus Stream –

The input data is queried and transmitted every 50ms (20Hz – changeable). The data is transmitted as “unsigned big endian”.

As soon as 12V and ground are connected, the green status LED on the back lights up.
Can Bus ID: 0x700 ( Base Data CAN ID – changeable)

byte01234567
Base IDAIN0 0-1023AIN1 0-1023AIN2 0-1023AIN3 0-1023
Base ID +1AIN4 0-1023AIN5 0-1023AIN6 0-1023AIN7 0-1023
Base ID +2AIN8 0-1023bit masked
DIN0-6
bit masked
AUX1-4
N/AN/Adevice chip
temperature
Version=4

MCE18 TRI File Download MCE18/CFE18 Tri File
MCE18 DBC File Download MCE18/CFE18 DBC File

The configuration or modification of the Can Stream is described in CFE18 – Can Bus Function Extension .


– Digital outputs –

The MCE18 has three digital outputs in the v2. These can be loaded up to a maximum of 500mA and switch to ground (LOW SIDE).

To do this, you send a Can Bus frame every 100ms (CAN Id can be configured here – if there is a 500ms pause between the frames, the timeout is activated and the outputs are deactivated): (
0=inactive, 1=active)

byte01234567
CAN RX ID (default: 0x640)AUX1
0/1
AUX2
0/1
AUX3
0/1
unused

The setting is made via Can Bus – see CFE18 => ” Configuration options “


– AIN smoothing –

If the analog inputs fluctuate too much, they can be smoothed out using software. This can be configured separately for each analog input.

The higher the smoothing, the quieter (smoother) the value becomes, but it also reacts more slowly to fluctuations. Here you have to find a healthy middle ground.

Values ​​go from 0-249 – the higher the more smoothing, 0= no smoothing, default: 160

The setting is made via Can Bus – see CFE18 => ” Configuration options “


– Control unit / ECU configuration –


The analog inputs provide 10-bit resolution and therefore values ​​from 0 to 1023. The value must be converted in the control unit. All values ​​are “unsigned big endian”

Examples:
5V voltage AIN0
0x700 Byte0+1
Multiplier: 5; divisor: 1023; Offset: 0

or multiplier: 0.004887585533

Exhaust gas temperature (type k) AIN7:
0x702 Byte6+7
Multiplier: 1250; divisor: 1023; Offset: 0

or multiplier: 1.2218963832


Either the individual bytes are used for the digital inputs. Eg DIN6: 0x702 byte 6 or the bit mask at 0x702 byte2

e.g. DIN6: 0x702 Byte2 Mask:0x40

Here is a little cheat sheet to do the calculations for a MaxxECU: maxxecu-sensor-calculation.xlsx


– Documentation / Download –


MCE18 TRI File Download MCE18/CFE18 Tri File
MCE18 DBC File Download MCE18/CFE18 DBC File
MCE18 MaxxECU File Download MCE18/CFE18 MaxxECU File