View Single Post
Old 06-13-2008, 06:13 PM   #275 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,038

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

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 269 Times in 212 Posts
Quote:
Originally Posted by Yoshi View Post
I don't know the 0.5 msec is exact one or not, but there is a certain one on that. You'll see more than 1% inconsistency without it.
I believe you, I just wanted to understand it. It is hard to argue with empiracle evidence

So we need to make sure that we are not double counting injector pulses before we subtract 500uS per pulse.

Quote:
Originally Posted by Yoshi View Post
PS. BTW, an oscilloscope does not help this.
The oscilloscope is to make sure we are not cooking the atmega. Though a graduated cylinder might be handy.


ttoyoda, the thought is that we take many many many readings while in the wait part of the main loop and only look at the max value we collect. and if we are at 1024 then we know for sure we are at or beyond the limit at some point during operations. Not that we will detect every peak and its absolute value that reach our $3.00 chip.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote