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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 11-18-2009, 02:41 AM   #1 (permalink)
EcoModding Lurker
 
Join Date: Oct 2009
Location: Austria
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
INJ signal signal with only one int

It would be useful for my Mpguino version if I could get one external interrupt free. So I thought about how INJ time could be measured with only int0. My idea: trigger the interrupt on every signal change and meter time between int calls. Then compare actual measurement with last one. Shorter one should be INJ time? What is your experience with this signal, is injection time realy always shorter then time between them? I think it should be true but i am not shure.

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 11-18-2009, 03:39 PM   #2 (permalink)
EcoModding Apprentice
 
Join Date: Aug 2009
Location: terra firma
Posts: 138
Thanks: 4
Thanked 24 Times in 22 Posts
Pulse time is much shorter than the wait time.

Consider this: you are only watching one cylinder out of 4 (or 6, or 8)... and, that cylinder only fires once per 2 revolutions, so at a minimum, the wait period will be 7 times longer than the injection time.
  Reply With Quote
Old 11-18-2009, 03:56 PM   #3 (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
Do you need a specific edge trigger (i.e. rising or falling?) If not there are several interrupt pins available that will trigger going both high and low.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 11-18-2009, 04:08 PM   #4 (permalink)
EcoModding Lurker
 
Join Date: Oct 2009
Location: Austria
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
Yes, thats the theory. But I'm asking because I'm not shure if this is also true for most new engines. For example, I know a diesel engine (direct injection) that injects a smal amount of fuel at the beginning and the main part a short time later. Or, my motorcycle has no camshaft sensor so it can not differentiate between top dead center of compression and gas exchange -> it injects every revolition, but ~1/2 amount of needed fuel.

I think, if the diesel example is not usual in other engines it should work. I will give it a try..

Edit: dcb, yes I found the PCINT today. As I read they trigger always on SWITCH (but this would be ok I think). But for standby wake up ATMega only acepts INT0 or 1 on LOW.. I'm not shure what interrupts I need at the moment. I have one prototype MPGuino for testing (finished but untested) and thinking about the final one (a general on-board computer for motorcycle with grapical touch screen).

Last edited by Sebastian; 11-18-2009 at 04:15 PM..
  Reply With Quote
Old 11-18-2009, 04:14 PM   #5 (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
Hmm, I wonder if this thread would help with the diesel
http://ecomodder.com/forum/showthrea...html#post56562

__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Reply  Post New Thread




Similar Threads
Thread Thread Starter Forum Replies Last Post
MPGuino release one workspace dcb OpenGauge / MPGuino FE computer 1061 01-17-2020 02:37 AM
OBD MPGuino gauge jmonroe OpenGauge / MPGuino FE computer 855 03-16-2018 09:47 PM
MPGuino for Audi rmccomiskie OpenGauge / MPGuino FE computer 40 05-22-2011 10:18 PM
What does an injector signal look like? mhopeng OpenGauge / MPGuino FE computer 10 12-28-2009 02:28 PM
arduino - thermistor - servo vent controller skyl4rk Aerodynamics 4 03-10-2009 08:45 PM



Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com