Results 1 to 12 of 12

Thread: segment gauge

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,055
    really i think it was just sampling with arbitrary intervals that was the problem. i just changed my strategy so speed sensor polling happens in a tight loop for >50ms. there's a lot of dead air while displaying stuff.

    the only reason i wanted to catch every sample rather than overall frequency was a total pulse accumulator so i'd have a perfect odometer, but i'd gladly sacrifice that so i don't loose speedometer precision at high speed.

    i'll just calculate a rough average meters per second for an interval and feed the odo/trip accumulator with that, should be accurate enough.

  2. #2
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,055
    just tested this:

    http://yaab-arduino.blogspot.com/201...log-input.html

    using interrupt driven input gives you much faster sampling and you can multitask (the processor is still available while the ADC is processing, the analogRead() function just blocks until it's finished)

    actually dont think i'll need it, but for other projects, will come in handy to be able to sample at much higher rates.

  3. #3
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,055
    it works pretty well

    the cable between the ardunio and the display, i just chopped an old usb cable.

    i ended up going with a really tiny sparkfun ardunio clone, as the uno wouldn't really fit in a container i liked.

    external circuitry was really minimal, just a cheap switching power supply, a few lm7805s to step down the signal and high beam inputs to 5v, and two diodes for the signals so i didnt have to add a third regulator.

    indicator logic: uses the first digit for signal (S) and high beam (H) (alternating), second digit for neutral (n) or the hundreds of speed (100+kph you aren't going to be in neutral, hopefully) and the last two digits for speed only.

    it does FI light and oil pressure too, displays 0IL or ECU alterating with the speed/indicator display when these errors occur

    inside, it's really hacky and circuit boards are held together with silicone, but i think it'll live.

    speedo seems really accurate up to insane speeds, calibrated with GPS


  4. #4
    Fuel Injected!
    Join Date
    Sep 2016
    Location
    Fort Collins, Colorado
    Age
    63
    Posts
    58
    Looks good! I love how bright that display is. :)

  5. #5
    Carb and Points!
    Join Date
    Sep 2018
    Location
    Alamogordo, NM
    Age
    82
    Posts
    4
    Been toying with the Arduino a bit but have hit a brick wall. No matter what I do with a sketch when I go to compile "file not found". Great potential with this unit (or Raspberry Pi) that can bring cheap fuel injection, displays and transmission controls.

Similar Threads

  1. Segment Swaps
    By mecanicman in forum OBDII Tuning
    Replies: 10
    Last Post: 09-17-2019, 03:47 AM
  2. 4L60E --> 4L80 segment swap question
    By mekkis in forum TunerCat OBDII
    Replies: 2
    Last Post: 06-14-2016, 12:20 AM
  3. Replies: 2
    Last Post: 04-02-2015, 08:42 AM
  4. Looking for file/trans segment from 96 suburban.
    By Playtoy_18 in forum TunerCat OBDII
    Replies: 3
    Last Post: 06-07-2014, 12:09 AM
  5. $0D transmission segment swap?
    By EagleMark in forum GM EFI Systems
    Replies: 6
    Last Post: 10-11-2013, 07:31 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
  •