NefMoto

Technical => Data Logging => Topic started by: ibanezgomez on August 25, 2017, 03:53:05 AM



Title: FISBlocks, real-time monitoring on your cluster
Post by: ibanezgomez on August 25, 2017, 03:53:05 AM
Hello guys, I would like to present you the FISBlocks.

https://www.youtube.com/watch?v=SrW62MARdsM

It is a personal proyect which I have also been working for a long time and it consist in an Arduino based device that allows us to consult in real time mechanical parameters of the vehicle based on Measurment Blocks. It implements part of the KWP1281 to carry out the diagnosis and obtain the information.

In addition, this device also implements part of the private 3LB protocol that allows us to control the content that is displayed by the secondary screen of 2 lines x 8 digits of the instruments that incorporate FIS-DIS technology wich are in some VAG clusters.

All the information is here: https://github.com/ibanezgomez/fisblocks

This is my way of thanking the entire open source community for all the work that has been done with the development of Nefmoto and the forum.

Thank you very much to all, you are AWESOME!

Hope you like it  ;)


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: BlackT on August 25, 2017, 05:54:06 AM
Great work you did there  ;D  I was searching something like this Arduino and K-line. Thank you


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: nyet on August 25, 2017, 06:06:09 PM
Stickied. Thank you!


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: ibanezgomez on September 11, 2017, 01:01:50 PM
Stickied. Thank you!

Great work you did there  ;D  I was searching something like this Arduino and K-line. Thank you

You're welcome, hopefully useful :)


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: adam- on September 11, 2017, 01:44:12 PM
I wish we could figure out how to use the entire screen...


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: ibanezgomez on September 11, 2017, 11:15:59 PM
I wish we could figure out how to use the entire screen...

Yes... maybe some day  :)


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: Tony@NefMoto on September 17, 2017, 09:48:13 AM
Great project. I was always hoping to find the time to do something similar myself. Thanks for sharing on GitHub.


Title: Re:
Post by: THANAS on September 17, 2017, 10:12:53 AM
Really well done and thanks a lot for sharing it :).


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: focalpoint519 on September 18, 2017, 09:33:34 AM
Very nice work mate, i wonder if these measuring blocks have a high enough sample rate to be tweaked into water meth controller output, looks like a good foundation for it.


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: NateDawg on October 16, 2017, 08:51:35 AM
Thank you so much this is awesome!!  I've always wanted something that could communicate with my FIS but had no idea how to figure out the 3LB protocol.


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: adam- on October 17, 2017, 02:21:08 PM
I bought a KKL cable yesterday and have a UNO sitting; so this will start soon. :)

I'm going to leave the UNO on all the time and get it to sense when I turn the ignition on; that way I can have it greet me "good morning/good afternoon".  It can get the time from the cluster (the first time it ever boots) and then keep an eye on it.

How are you toggling through the menus?


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: Black_A4 on October 18, 2017, 02:19:45 AM
Why not just use a Color MFA?

https://www.youtube.com/watch?v=9AKjIYAWn7g


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: adam- on October 18, 2017, 02:53:27 AM
Because this is <£10 and a ColourMFA >£190 exc. fitting.


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: flamy on October 18, 2017, 11:10:58 AM
Thank you very much! Great project!


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: adam- on October 19, 2017, 11:55:52 AM
Code:
#include <TimeLib.h>

const int IgnitionMonitorPin = 8;
int IgnitionState = 0;         // variable for reading the pushbutton status

int CurrentHour = 0;
String GreetingMessage = "";

void setup() {
  // put your setup code here, to run once:
  Serial.begin(9600);

  setTime(19, 00, 00, 00, 00, 00);
  pinMode(IgnitionMonitorPin, INPUT);

  //say hi on boot
  Serial.println("Hello, world");
}

void loop() {
  // put your main code here, to run repeatedly:
  IgnitionState = digitalRead(IgnitionMonitorPin);
  CurrentHour = hour();

  if (IgnitionState == 1)
  {
    // turn LED on:

    if (CurrentHour > 00 && CurrentHour < 12)
    {
      GreetingMessage = "Good morning, Adam.";
    }

    if (CurrentHour >= 12 && CurrentHour < 18)
    {
      GreetingMessage = "Good afternoon, Adam.";
    }

    if (CurrentHour >= 18 && CurrentHour < 24)
    {
      GreetingMessage = "Good evening, Adam.";
    }

    Serial.println(GreetingMessage);
  }

  delay(1000);
}

This is my first block of C and I'm obviously still learning, but this is just an hour.  It checks the status of Pin 8 and see's if it's High or Low (ignition or off).  If it's went live, I've turned the ignition on, so get the time (currently just force set to 19hours), then create a message of "Good evening, Adam.".

Baby steps!


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: Colt45 on October 27, 2017, 04:45:08 PM
Cool. This looks like it only works on cars that have 3-wire (~SPI) connection from radio.

Other car (B6 A4, for example) use the infotainment CAN bus for that link. I don't know if there is information about it, but both VFIZ and the russian one do it over CAN, so *someone* knows how to do it.


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: adam- on December 04, 2017, 06:28:08 AM
https://github.com/adamforbes92/FISCuntrol

I've editted this slightly and now have checking for birthday, time of day greetings.  Good morning, good afternoon etc.

Have successful conn onto ECU too, will work on using the buttons to toggle through blocks next.

What would people like to see?


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: adam- on December 10, 2017, 03:20:22 AM
https://github.com/adamforbes92/FIScuntrol

So I've been working on this for a while.  Doesn't cost the world (about £20).

Can people give me a list of measuring blocks they would use while logging?  I know this forum hates VCDS for logging, but you gotta piss with the cock you've got.  I'm not re-writing ME7Logger for a 'duino.


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: jakubzik on November 22, 2018, 03:13:24 PM
hello :) i want this but for Can bus no 3lb :( have somebody got it ?


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: BlackT on February 28, 2019, 12:49:49 PM
Hello adam,anything new on this? If you need some help, i can help you  ;)


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: adam- on February 28, 2019, 01:08:03 PM
Fully working.  Reset if it jams up, logs into modules, displays custom and normal measuring blocks, can turn off so it's just the greeting.  Stalk buttons work and control it.  When turned off it works OEM.


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: BlackT on March 04, 2019, 06:11:57 AM
Than great work you did there  ;)
What is the fastes refresh rate you can achieve?


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: adam- on March 04, 2019, 06:27:36 AM
It's slow, like VCDS.  It's more a gimmick.  I wouldn't use it to actually log.


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: BlackT on March 04, 2019, 12:15:34 PM
Yes I see, I have same problem, for one group the refresh rate is 300 mS, so if I want to monitor 3 groups refresh rate is around 1s, not so great.  Did you manage to go with higer baud rate?


Title: Re: FISBlocks, real-time monitoring on your cluster
Post by: adam- on March 05, 2019, 05:35:50 AM
You'd need to write ME7Logger for Arduino and use to record that way.  There's also no way you'll be doing a pull staring at the cluster.