Small display for the Stark Varg MX

Stark71

Member
Likes
14
Location
Germany
Hi all,

I saw in multiple threads a discussion about an alternative for the mobile. I like to share my solution for this as I am also not a big fan on the MX for this. Also CEO said in an interview that they do not plan to develop any small display.

I connected my display between the VCU and the phone bracket. CAN is running surprisingly on 1MBaud instead of typically 500k. Anyhow, listening some messages and result was easy. Of course the wireless charging pad needs to stay at the bike. It works in parallel to the mobile as my display only listen.

For me important was:
1. SOC
2.Mode (1,2,3,4,5)

Additionally I found also Speed and status. For the status I receive values (neutral, active etc..) but I was not so interested.
I do not want to replace the mobile completely and I do not want to write to CAN.. just listening.

For the HW I took the ESP32. The display I tried 2-3 different version and finally took the LilyGo:

Housing is 3D printed designed by myself. Of course you need a small DC/DC (12V-->3.3V) converter and a CAN transceiver (I took the Sn655hvd230).

As a SW base I took it from Volos Projects:

Basically all the credits goes to him and his channel and in this specific case also ti nikthefix... Great guys!


actual_Display.jpeg

On the picture you can see SOC=26% in Mode 3 (my personal 50hp setting tuned in the mobile). My display is faster (a few ms) than the mobile because it is hard wired :)!

For the CAN bus. The important ID's are:

1. 0x303 --> Speed and Mode
// Serial.println("0x303");
Stark_Mode = frame.data[0];
Stark_Speed = frame.data[2] | (frame.data[3]<<8);
Stark_Speed = Stark_Speed / 10;
if(Stark_Speed>=200)Stark_Speed=200; //maybe in the future :) !!

2. 0x302 --> SoC
// Serial.println("0x302");
Stark_SoC = frame.data[6];
if(Stark_SoC>=100)Stark_SoC=99; //stay at two digits...

3. 0x407 --> Status
//Serial.println("0x407");
Stark_Armed = frame.data[4]; // 0x30(48) disarmed 0x38(56) armed 0x6(6) Relay open 0x10(16) relay closed

With this information it should be easy to use any CAN Display like M5Stack. I like the OLED and the screen ratio therefore I went the longer way


To make this clear. it has also some side effects. I do not receive any warning because I do not have the mobile with me while riding. (e.g. water pump error) luckily I (hopefully) had never some. As far as I see also the hour counter does not go up. Also no GPS states etc. are working... All for me not important. I have this setup roughly 1 year running without any trouble.. like my Stark MX

I do also have a Stark Varg EX but because I use it also on public road I do not plan to switch there. Maybe CAN data will be identically... I do not know.
Whatever you do, it is all on your own risk.

Happy to hear feedback.

BTW my first thread :) in this forum.

Thanks and regards
Christian
 
Top Bottom