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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 04-14-2008, 11:18 PM   #1 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location:
Posts: 5,032

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: 156
Thanked 264 Times in 207 Posts
opengauge development: vehicle interface circuits.

I haven't heard much about this lately. Is there any concensus?

big resistor and a 5v zener?

resistors and a Transistor? Which transistors?

Should there be a small board by the signal source? Or should the signal be converted to 5v by the duino.

is the injector being switched on and off at the ground connection a challenge?

???

__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 04-16-2008, 12:38 AM   #2 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location:
Posts: 5,032

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: 156
Thanked 264 Times in 207 Posts
Here is one possibility using commonly available components (radio shack, mouser)



5V should come from the freeduino.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!

Last edited by dcb; 01-23-2009 at 03:47 AM..
  Reply With Quote
Old 04-16-2008, 12:51 AM   #3 (permalink)
MP$
 
diesel_john's Avatar
 
Join Date: Jan 2008
Location: SW Ohio
Posts: 591
Thanks: 5
Thanked 15 Times in 12 Posts
Send a message via MSN to diesel_john
ideally the 100k resistor would be right at the injector for safety.

Pulse width can be as short as 3ms at idle.

what's a diode clamp do?
Attached Thumbnails
Click image for larger version

Name:	laptop inputvssinjector.GIF
Views:	49
Size:	2.7 KB
ID:	599  

Last edited by diesel_john; 04-18-2008 at 12:40 AM..
  Reply With Quote
Old 04-16-2008, 08:39 AM   #4 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location:
Posts: 5,032

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: 156
Thanked 264 Times in 207 Posts
Thx John. I need to talk through this circuit a bit.

for the injector:
when it is closed, there will be voltage applied to the emitter of about 1 volt, which should turn on the transistor and pull pin 2 HIGH.

when the injector is open, .7 volts is applied to the 100k resistor. The voltage at the emitter should be even less (like 0.00009 V) given the resistors, so the transistor is basically off, and pin 2 is pulled LOW.

So what about that diode? When the injector ground circuit opens (closing the injector), the injector coil creates, or induces, a large spike in voltage in the opposite direction (positive spike on the ground side of the injector). So this spike will be attenuated by the 100k resistor and dropped another .7 volts by the diode, before (hopefully) being absorbed by the 5v voltage regulator. But the transistor should have already been off so it should not trigger additional interrupts on pin 2. Of some concern however is the oscillations that occur after the injector circuit is opened and if they will trigger false interrupts on pin 2:



Note: maybe the software can reject pulses that are "obviously" too short and/or disable interrupts on pin 2 for a brief period after getting a good looking pulse.

__________________
WINDMILLS DO NOT WORK THAT WAY!!!

Last edited by dcb; 04-16-2008 at 08:46 AM..
  Reply With Quote
Reply  Post New Thread


Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
opengauge development: gunio technical considerations dcb OpenGauge / MPGuino FE computer 88 06-26-2008 10:14 PM
opengauge development: Waba Rules :) dcb OpenGauge / MPGuino FE computer 1 04-12-2008 12:53 AM



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