Results 1 to 15 of 84

Thread: 2 1/16 gauge ECM data display

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Fuel Injected!
    Join Date
    Apr 2013
    Posts
    498

    2 1/16 gauge ECM data display

    I've always wanted a nice display to run inside my car and that's one of the reason I started working on Android apps. Clarion recently came out with the AX (http://clarion.com.my/ax1/), an Android based head unit. That was the first I was seeing from a decent head unit company, instead of those Chinese no name one. The main issue with that unit tho is that it's running Android 2.3.7 which is already over 2 years old. I really want Ice Cream Sandwich at the very least. I would assume 2 years ago is when they started working on this thing but they need to update it as it's already way out-dated.

    So while I'm waiting for that nice Android based head unit to come out, I thought I would come out with an alternative solution for a permanently mounted display. This is when I thought I could turn my boring Voltmeter into something much more powerful. I will be replacing it with a gauge that will be reading data from the ECM over the CAN bus. I'm mentionning CAN bus because I'm running a MegaSquirt ECM and it will be a much better option then serial as it will allow me to keep the gauge connected all the time while still have access to the USB port on the MegaSquirt to tune / datalog. Also, the gauge being a CAN device will allow me to tune it using the USB port of the ECM. That way I can change the gauge display value or whatever gauge parameter with an Android device or netbook in the same tuning software that I use to tune / datalog.

    Making this project fully customizable and working on any ECM (even any MegaSquirt) would take years so this will be mostly be an hard coded version for my specific application. I might start "unharcoding" some stuff at some point but it will take a while. The good news for you guys is that it will be open source so I really hope I will have a few person jump in and create an ALDL fork or something :)

    I've done similar project in the past but using an LCD touch screen instead and let me tell you that the OLED screen seems to be a much better option for automotive use. The display seems to look good from any angle which is definitely not the case of an LCD screen (or at least the one I had).

    Any one interested in this project ? :) I will keep updating this thread if you guys think this is an interesting project!

    The OLED I got now is this one: http://www.adafruit.com/products/938

    The code will be hosted here: https://bitbucket.org/SebGiroux/diyecmgauge/overview

    Here is where I'm at after 15 mins of work:

    Last edited by 3400tZ; 11-27-2013 at 06:33 AM.

  2. #2
    Fuel Injected!
    Join Date
    Oct 2013
    Location
    Oklahoma
    Age
    59
    Posts
    48
    Very nice.

    If anyone is interested, here's a link to a couple of Arduino based 8192 ALDL loggers that I've built: http://www.xm381.com/xm381/aldl.html

    Just like 3400tZ, mine is designed for my specific application a 1227727 ECU with $A1 code but could easily adapted to any 8192 ECU.

    3400tZ has motivated me to look a little further into a gauge mounted logger for 8192 ALDL.

    I suspect 160 baud should be quite doable too.

    My projects use a hardware serial port but I think one of my next step is to build an 160/8192 communications library based on the softwareserial one.

  3. #3
    RIP EagleMark's Avatar
    Join Date
    Feb 2011
    Location
    North Idaho
    Age
    64
    Posts
    10,477
    I approve these projects!

    Just kidding, this is way cool stuff guys!

    1990 Chevy Suburban 5.7L Auto ECM 1227747 $42!
    1998 Chevy Silverado 5.7L Vortec 0411 Swap to RoadRunner!
    -= =-

  4. #4
    Fuel Injected!
    Join Date
    Apr 2013
    Posts
    498
    Few more hours of coding:


    I have a few issue now tho.

    The first one is that I'm maxing out pretty much everything on the Uno. I tried loading all libraries I want to use at some point (GPS and all), and I got this output from the compiler:

    Binary sketch size: 18174 bytes (of a 32256 byte maximum, 56.34 percent).
    Estimated memory use: 2416 bytes (of a 2048 byte maximum, 117.97 percent).

    So It's maxing out the SRAM just loading the library, I haven't done anything with them yet.

    So Uno definitely won't work. Flora is not gonna work either (I think they are 2.5k SRAM ?) I'm thinking about getting a Mega now. I was looking at the Due but it seems to be too incompatible with so many thing, it could be annoying. The Due is somehow cheaper then the Mega tho...

    The issue with the Mega (or Due) is the SPI pins seems to be at different places then the Uno so I will end up having to do something like this:







    So as you can see in the video, I'm currently using a push button to change page. It's way too sensitive now and I need some debouncing but it's a pain to do in the software as Arduino doesn't support calling millis() function inside an interrupt which is very annoying. So I will probably end up with a hardware solution by adding a capacitor, something like this:



    The original plan tho was to use these two things:
    http://www.adafruit.com/products/1096
    http://www.adafruit.com/products/1391

    As you can see on my video. The issue is that for some reason it doesn't work. When I got the receiver, only half the pins were soldered on the PCB I went ahead and soldered everything but maybe I shouldn't have done that ? Anyway, its cheap enough, I will order another one next time and see how it goes. It would be cool to control the gauge with the remote instead.

    I've commited the code in the bitbucket repo I posted the link above if anyone is interested, but so far, it's a mess. :)
    Last edited by 3400tZ; 11-11-2013 at 07:21 AM.

  5. #5
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,044
    i'd like to see the code, but it appears that your bitbucket repo is private

  6. #6
    Fuel Injected!
    Join Date
    Oct 2013
    Location
    Oklahoma
    Age
    59
    Posts
    48
    Looking good.

    I'm sure you know this; the Meg2560 and the newer UNO's both have an 6 pin ICSP header (for SPI) in a common location, but it looks like your CAN bus shield was designed for the older style boards since it doesn't have those connections (unless they are surface mount on the bottom of the board).

Similar Threads

  1. Innovate LM-1 remote gauge advice
    By Nasty-Z in forum Other EFI systems and related topics
    Replies: 1
    Last Post: 10-15-2013, 03:49 AM
  2. narrow band autometer gauge
    By one92rs in forum GM EFI Systems
    Replies: 18
    Last Post: 04-05-2012, 07:01 PM
  3. Innovate MTX-L wideband gauge video
    By JeepsAndGuns in forum Gear Heads
    Replies: 9
    Last Post: 03-19-2012, 06:48 PM
  4. Can not get PCM bins to display correctly
    By JeepsAndGuns in forum GM EFI Systems
    Replies: 32
    Last Post: 09-20-2011, 02:45 AM
  5. Fuel Pressure Gauge Location
    By mudbuggy in forum GM EFI Systems
    Replies: 4
    Last Post: 09-11-2011, 05:02 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •