FRAMING JOHN DELOREAN - ON VOD www.framingjohndeloreanfilm.com
Page 9 of 22 FirstFirst ... 7 8 9 10 11 19 ... LastLast
Results 81 to 90 of 220

Thread: Backlit Electronic Instrument Cluster

  1. #81
    DeLorean Owner, Missouri jmrydholm's Avatar
    Join Date:  Jun 2011

    Location:  Missouri

    Posts:    191

    My VIN:    10715

    This is very cool. I like!

  2. #82
    EFI DeLorean dmc6960's Avatar
    Join Date:  May 2011

    Location:  Minnesota

    Posts:    1,591

    My VIN:    06960

    Simulating Real Needle Movement

    Well I've done it. I've created software that simulates real life movement of the pointer needle based of a variable input. Its crude software, and leaves out many functions that will later be incorporated. However this proof-of-concept confirms that it can certainly be done.

    In the video, it starts off at a random position, rotates completely counter-clockwise, has a 1 second pause, then jumps about 10º clockwise just to back off a little from the internal stop. After another 2 second delay, it reads the position of the potentiometer and moves the needle to that position. Subsequent moving of the POT then moves the needle in the corresponding direction. You'll notice a bit of jitter in the movement, best I can tell this is due to noise from the POT itself, its a pretty weak unit. The in-car sensors will provide much more fluid movement. Also, the motor is currently moving in 2º increments, while the final design will have it moving in 1/3º increments, so it will appear completely fluid.

    Jim Reeve
    DMC6960

  3. #83
    Senior Member Bitsyncmaster's Avatar
    Join Date:  May 2011

    Location:  Leonardtown, MD

    Posts:    9,633

    My VIN:    03572

    Very cool. Now your getting pretty good writing code.
    Dave M vin 03572
    http://dm-eng.weebly.com/

  4. #84
    Senior Member DavidProehl's Avatar
    Join Date:  May 2011

    Location:  Maple Grove, MN (Minneapolis)

    Posts:    1,432

    My VIN:    05457

    Nicely done! Great to see the steady progress you are making.
    David Proehl

  5. #85
    Senior Member robvanderveer's Avatar
    Join Date:  May 2011

    Location:  Netherlands

    Posts:    612

    My VIN:    3695

    Club(s):   (DCN)

    To stop the erratic fluctiations of the needle due to false readings of the pot you can always add a running average function to the input (or output). Say for example you take 10 readings a second, take the average of the last 10 readings using a circular buffer. The processor should have to problem doing that. No only does this dampen any off readings, it also provides for a smooth tweaning of the needle without any complex logic. For even smoother results you can use a larger buffer.

  6. #86
    EFI DeLorean dmc6960's Avatar
    Join Date:  May 2011

    Location:  Minnesota

    Posts:    1,591

    My VIN:    06960

    Quote Originally Posted by robvanderveer View Post
    To stop the erratic fluctiations of the needle due to false readings of the pot you can always add a running average function to the input (or output). Say for example you take 10 readings a second, take the average of the last 10 readings using a circular buffer. The processor should have to problem doing that. No only does this dampen any off readings, it also provides for a smooth tweaning of the needle without any complex logic. For even smoother results you can use a larger buffer.
    Thats been the plan for the fuel sender from the start (30-60 second average). Other gauges need quicker response time. Right now its about a 20-40ms delay between single readings. The lag with that is barely noticeable, I can only see it because I know its there. While experimenting, a 200ms smoothed it out nicely but there was a noticeable delay in the readings. Perhaps having 4 readings 5-10ms apart would provide good results.

    Further logic will incorporate acceleration into the needle. So it if only needs to move a few degrees or so, it will do it mildly. If it need to move a full swing right away, it will accelerate to the stepper's full speed (which is still I think about twice as fast as seen here).
    Jim Reeve
    DMC6960

  7. #87
    Senior Member robvanderveer's Avatar
    Join Date:  May 2011

    Location:  Netherlands

    Posts:    612

    My VIN:    3695

    Club(s):   (DCN)

    What kind of servo's are you using? I remember the servos from my RC car back in the days, those servo's made quite the bit of noise, probably because of the gears involved.

    Wouldn't like anything like 8 of those noisemakers in my binnacle.

  8. #88
    EFI DeLorean dmc6960's Avatar
    Join Date:  May 2011

    Location:  Minnesota

    Posts:    1,591

    My VIN:    06960

    They are X25.168 stepper motors. They are designed specifically for automotive instrument clusters. When driven with a proper pulsetrain, they are not noisy at all.

    It is a Lavet style stepper motor with two coils. Turns nominally in 1/3º (on the pointer shaft) partial steps. A full step is 3 partials, and the complete pulse cycle (2 steps) is 6 partial steps, which equates to 2º on the pointer (hens why right now its moving in 2º increments). Unit has internal stops, with a total of 315º available on the pointer shaft.
    Jim Reeve
    DMC6960

  9. #89
    Senior Member robvanderveer's Avatar
    Join Date:  May 2011

    Location:  Netherlands

    Posts:    612

    My VIN:    3695

    Club(s):   (DCN)


  10. #90
    Owner since 2007 Farrar's Avatar
    Join Date:  May 2011

    Location:  Fort Lauderdale

    Posts:    4,740

    My VIN:    02613

    Club(s):   (DCF)

    Quote Originally Posted by robvanderveer View Post
    +1
    3.0L, automatic, carbureted

Page 9 of 22 FirstFirst ... 7 8 9 10 11 19 ... LastLast

Posting Permissions

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