← All posts
Electrics··1 min read

The old FCM and the new instrument cluster

My late-night trip to the car ended in disappointment: when I press the FCM button, I hear a beep, but nothing appears on the screen. Just to remind you, I have a 2017 instrument cluster. The only way to find out what mode the system is currently in is through the data list in MUT—which is completely useless.

MUT—Informative, but impractical.

A solution was found fairly quickly in the form of an additional Arduino-based CAN signal conversion module. The sketch will be as follows:

#include <SPI.h>
#include <mcp_can.h>

#define CAN_CS_PIN 10
MCP_CAN CAN(CAN_CS_PIN);

unsigned long rxId;
unsigned char len = 0;
unsigned char rxBuf[8];
unsigned long timer = 0;
float z = 0.0;

void setup() {
  if (CAN.begin(MCP_ANY, CAN_500KBPS, MCP_8MHZ) != CAN_OK) {
    while (1);
  }

  pinMode(2, INPUT);

  unsigned char stmp[8] = {0};
  CAN.sendMsgBuf(0x22e, 0, 8, stmp);
}

void loop() {
  if (millis() - timer > 100) {
    timer = millis();

    unsigned char stmp[8] = {0};
    stmp[0] = (unsigned char)z;

    CAN.sendMsgBuf(0x22e, 0, 8, stmp);
  }

  if (!digitalRead(2)) {
    if (CAN_MSGAVAIL == CAN.checkReceive()) {
      CAN.readMsgBuf(&rxId, &len, rxBuf);

      if (rxId == 0x22b) {
        z = rxBuf[3];
      }
    }
  }
}

I bought all the ingredients from the recipe and started sculpting, in FreeCAD, the pot it would all cook in. I used an Arduino Nano + MCP2515 enclosure as the base. The voltage converter fit perfectly inside it.

General view of the CAN adapter enclosure
Inside view of the CAN adapter enclosure showing component placement

The case was 3D-printed. The components were ordered from Ozon.

Assembly process

The fuse holder comes from a Toyota Fielder (it’s what I had), and the power connector is from my old stash. The end result is this stick of dynamite:

The CAN adapter is ready for installation

It’s mounted behind the instrument cluster. CAN is taken from the C-34 connector; CANH is any pin in the top row; CANL is any pin in the bottom row. Power and ground come from the instrument cluster connector. The Arduino sketch was uploaded to the already-assembled device.

The unit is installed and hangs on a clip behind the instrument cluster.

After installing the unit, go to the FCM 2 function in the ETACS coding menu and change the value to “Present.”

Done!

The instrument cluster displays all the necessary information on the screen, and most importantly, a warning that it’s time to brake!

More posts

Electrics·

Surround View System

Replacing the multimedia and finding a compromise solution for the cameras left room to implement a proper surround view system (surround view from here on). Let’s do it! Plus…

5 min readRead →
Electrics·

Automatic windows for the driver

It’s so frustrating when you turn off the car, get out, start locking it up, and realize the passenger windows are still open because, for some reason, no one ever closes them! I…

3 min readRead →