Go Back   EcoModder Forum > EcoModding > Instrumentation > OpenGauge / MPGuino FE computer
Register Now
 Register Now


Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 09-11-2008, 11:36 PM   #21 (permalink)
EcoModding Lurker
 
Join Date: Sep 2008
Location: Olympia, wa
Posts: 65

Red Beast - '82 V45 Sabre Vetter Fairing
90 day: 39.38 mpg (US)

Da Truck - '92 B2600I
90 day: 25.66 mpg (US)

The Wife's bike - '82 CM450E Red
90 day: 57.22 mpg (US)

Yellow Submarine - '04 Neon SXT
90 day: 28.71 mpg (US)

Blue Magoo - '93 Metro
90 day: 44.57 mpg (US)
Thanks: 0
Thanked 0 Times in 0 Posts
well, If the pulses are unsteady at a constant speed, then the problem is mechanical, as mentioned before. a well lubricated speedo shaft could help, or find another source for the signal.

(The only thing I had at work to see the waveform with was "Windows Media Player")


(Support Ecomodder.com & get rid of these annoying ads!)      
 
__________________

  Reply With Quote
Old 09-12-2008, 12:27 AM   #22 (permalink)
dcb
Don't Panic
 
dcb's Avatar
 
Join Date: Feb 2008
Location: 3rd rock
Posts: 2,674

pimp mobile - '81 gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Golf TDI
90 day: 53.56 mpg (US)
Thanks: 7
Thanked 28 Times in 26 Posts
ac7, I used a way old copy of cooledit. dunno if it still exists.

forgotten, if the changing the vss enable event timing doesn't fix it then I would ask that you set it back to 2ms and then drive with the wonky speed reading and see if distance tracking is still ok at those speeds.

I just took a road test with the stock .72 codebase. Didn't have any issues at 75mph. I didn't have a spot I was comfortable going faster than that within reasonable driving distance. At some speed the pulses WILL be less than the debounce period but I expected it to at least get folks to 80mph @2ms.
__________________
"I kicked a giant mouse in the butt! Do I have to draw you a diagram?"

Last edited by dcb; 09-12-2008 at 12:55 AM..
  Reply With Quote
Old 09-14-2008, 10:34 PM   #23 (permalink)
testing the waters
 
Join Date: Jun 2008
Location: usa
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by dcb View Post
ac7, I used a way old copy of cooledit. dunno if it still exists.

forgotten, if the changing the vss enable event timing doesn't fix it then I would ask that you set it back to 2ms and then drive with the wonky speed reading and see if distance tracking is still ok at those speeds.

I just took a road test with the stock .72 codebase. Didn't have any issues at 75mph. I didn't have a spot I was comfortable going faster than that within reasonable driving distance. At some speed the pulses WILL be less than the debounce period but I expected it to at least get folks to 80mph @2ms.
Hey there,

My vss code is 32816 (8204*4) and it's very very accurate now that i changed it to 1 milisec. Much better, but at 60 mph the vss reading starts slowing down just like it used to at 40 mph. Sometimes I do go faster than 60 and it messes up, is there anyway I can go lower than 1 milisec?

Also, quick question. I tried creating a timer a while back, and it was only accurate within a half a second, is that just the nature of the clock on the board or my code? If my code, I think I can fix it.
  Reply With Quote
Old 09-15-2008, 07:01 AM   #24 (permalink)
dcb
Don't Panic
 
dcb's Avatar
 
Join Date: Feb 2008
Location: 3rd rock
Posts: 2,674

pimp mobile - '81 gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Golf TDI
90 day: 53.56 mpg (US)
Thanks: 7
Thanked 28 Times in 26 Posts
Let me have you try one more thing, I think you are chasing noise with that 32k number.

change your vsspulsesPerMile to 4104
and change the addEvent line to
addEvent(enableVSSID,4 )

and report your findings. (how does the speed signal look, how accurate is the distance over a few miles of driving)



re:timer, please leave it out while we are troubleshooting, ensure you have a fresh copy of .72 loaded.
__________________
"I kicked a giant mouse in the butt! Do I have to draw you a diagram?"

Last edited by dcb; 09-15-2008 at 07:10 AM..
  Reply With Quote
Old 09-16-2008, 02:14 PM   #25 (permalink)
testing the waters
 
Join Date: Jun 2008
Location: usa
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Didn't work, just made things more wacky

Now the speed reading is about 4 times higher than it should be up to about 25mph then it just starts counting backwards again
  Reply With Quote
Old 09-16-2008, 02:38 PM   #26 (permalink)
dcb
Don't Panic
 
dcb's Avatar
 
Join Date: Feb 2008
Location: 3rd rock
Posts: 2,674

pimp mobile - '81 gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Golf TDI
90 day: 53.56 mpg (US)
Thanks: 7
Thanked 28 Times in 26 Posts
Did it effect the distance tracking?

You can also try:
32832 vsspulses per mile.
and
change:
addEvent(enableVSSID,2 ); //check back in a couple milli
to:
enableVSS()


but I'm flying blind here, would need to see the waveform at a given speed and get an answer to the "is distance affected?" question.
__________________
"I kicked a giant mouse in the butt! Do I have to draw you a diagram?"
  Reply With Quote
Old 09-16-2008, 05:50 PM   #27 (permalink)
testing the waters
 
Join Date: Jun 2008
Location: usa
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Hey now I'd be back where I started if I put that all back in!

addEvent(vssid, 1) works well (super accurate) with the 32 number except when I get past 60 mph

with 2 miliseconds it works well up to about 40 mph then counts backwards

I need to get it under 1 millisecond, but mabey that's not possible?

I do all kinds of driving, I'd really want it to be accurate up to at least 120 mph

Mabey mark (with the mitsubishi) will let me use his scope since we're both local
Didn't he have a battery powered one?

edit:

I didnt check if the distance tracking with those other numbers was accurate but I'll try that like you said. However, distance tracking IS VERY effective with 1 miliseconds up till 60mph

Last edited by forgottenmindset; 09-16-2008 at 05:55 PM.. Reason: I'm lame
  Reply With Quote
Old 09-16-2008, 06:12 PM   #28 (permalink)
dcb
Don't Panic
 
dcb's Avatar
 
Join Date: Feb 2008
Location: 3rd rock
Posts: 2,674

pimp mobile - '81 gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Golf TDI
90 day: 53.56 mpg (US)
Thanks: 7
Thanked 28 Times in 26 Posts
Quote:
Originally Posted by forgottenmindset View Post
Hey now I'd be back where I started if I put that all back in!...
I need to get it under 1 millisecond, but mabey that's not possible?
I just said how to do it

change:
addEvent(enableVSSID,2 ); //check back in a couple milli
to:
enableVSS()


this will call enableVSS immediately instead of 2ms later (or 1 or whatever you currently have in the second parameter).
__________________
"I kicked a giant mouse in the butt! Do I have to draw you a diagram?"
  Reply With Quote
Old 09-16-2008, 06:28 PM   #29 (permalink)
testing the waters
 
Join Date: Jun 2008
Location: usa
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
bwaa! delete, delete

I didn't even read that part

I'm such a dummy, ok I'll try that
  Reply With Quote
Old 09-18-2008, 10:23 PM   #30 (permalink)
testing the waters
 
Join Date: Jun 2008
Location: usa
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Yes, works good like it

but not perfect

If I got it on a scope could we get it perfect?
  Reply With Quote
Reply  Post New Thread

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
VSS, tach, injector signal logic wikityler Instrumentation 2 07-21-2008 12:02 AM
Signal Generator dcb OpenGauge / MPGuino FE computer 26 06-27-2008 11:29 PM
Arduino-based turn signal jacket SVOboy Alternative Transportation 6 06-23-2008 11:22 AM
Opengauge/MPGuino development: Freeduino signal processing dcb OpenGauge / MPGuino FE computer 6 04-16-2008 10:40 AM
[CRXMPG Mailbag] SuperMID and VSS Issues with EF Civics SVOboy Instrumentation 0 02-03-2008 05:33 AM




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
All content copyright EcoModder.com