 |
|
  |
 |
01-08-2008, 08:49 PM
|
#196
|
  |
|
Re: Electronic Distributor Adapter
|
|
Naturally Aspirated
Join Date: Jun 2005
Location: Allentown
My Ride: '90 Voyager
Engine: 2.5 16V Twin Mitsus
Induct: Turbo
1/4: 0.000
|
My schematic program doesn't change where the box is when you use a male or female connector, even though it is actually different. I changed it in paint so that 1 is at the bottom. The readme was right and the schematic is now correct.
I have 1k input resistors on the inputs to prevent damage if the inputs get more than 5 volts. Since the HEP outputs are 8 volts, they're needed with hybrid adapters, but the 2.4 sensors run at 5 volts. I removed the input resistors as well as tied the reset pin to 5 volts which should eliminate resets as a possible problem. I'll test it out tomorrow, nice and warm outside now...
Maybe I'll de-pot a Neon computer and see how the cam/crank sensor inputs are handled.
|
|
|
|
 |
  |
  |
 |
01-09-2008, 09:37 PM
|
#198
|
  |
|
Re: Electronic Distributor Adapter
|
|
Naturally Aspirated
Join Date: Jun 2005
Location: Allentown
My Ride: '90 Voyager
Engine: 2.5 16V Twin Mitsus
Induct: Turbo
1/4: 0.000
|
I understand what you're saying, but the datasheet claims maximum clamp current at +-20ma. The 1k's adhere to that up to +25 -20 volts on the inputs to the module. Your mention of the watchdog made me check my program, I forgot to disable the watchdog in the config bits when I changed over to a new source file. The 5 volt supply to the sensors comes right from the computer's internal 5 volt supply. I highly doubt that it's all that noisy, certainly not with spikes up to 25 volts. Chrysler uses a SMPS to supply the computer, so it should be immune to input variations (I'm just tieing into the sensor outputs on my Neon for testing).
I know that there are areas that the circuit can be improved, but I have boards made. If I use all the ones I have, I'll incorparate several modifications to new ones. Of course, then the price goes up since there will be more parts/bigger board...
Sounds like you know MCU's, what were you working on?
|
|
|
|
 |
  |
  |
 |
01-10-2008, 09:17 PM
|
#200
|
  |
|
Re: Electronic Distributor Adapter
|
|
Naturally Aspirated
Join Date: Jun 2005
Location: Allentown
My Ride: '90 Voyager
Engine: 2.5 16V Twin Mitsus
Induct: Turbo
1/4: 0.000
|
I see, the protection diodes have the standard ~0.7 voltage drop, didn't factor that in. I'll have to put some Shottkys on the inputs then, and I really like the opamp method.
|
|
|
|
 |
  |
  |
 |
01-14-2008, 08:39 PM
|
#203
|
  |
|
Re: Electronic Distributor Adapter
|
|
Naturally Aspirated
Join Date: Jun 2005
Location: Allentown
My Ride: '90 Voyager
Engine: 2.5 16V Twin Mitsus
Induct: Turbo
1/4: 0.000
|
That's why I liked the opamp method, no discrete components besides the opamps, however, after reading some datasheets and testing, you usually can't operate an opamp with input voltages higher than the supply.
Voltage at the PIC inputs with input voltages above 5 volts are around 5.8 volts, so I'll put Schottkys or Zeners on them. I don't think that's the source of this particular problem though. The 5 volt supply for the sensors comes from the ECU's internal supply, so it should be clean enough.
I updated the rar with the newest Non-NGC code, if you want to take a look at it lametec or anyone else and tell me what I'm doing wrong, I'd be eternally grateful.
|
|
|
|
 |
  |
  |
 |
01-21-2008, 09:55 PM
|
#204
|
  |
|
Re: Electronic Distributor Adapter
|
|
Naturally Aspirated
Join Date: Jun 2005
Location: Allentown
My Ride: '90 Voyager
Engine: 2.5 16V Twin Mitsus
Induct: Turbo
1/4: 0.000
|
Put a Zener clamp on both sides of the regulator as well as a reverse polarity protection diode. Went to NPN transistor pulldowns on the inputs since I don't have any Schottky's laying around. Just inverts the inputs, won't let them go over Vcc no matter what the input. I'll test it out tomorrow when I can get it in the warm garage.
|
|
|
|
 |
  |
  |
 |
01-23-2008, 08:16 PM
|
#206
|
  |
|
Re: Electronic Distributor Adapter
|
|
Naturally Aspirated
Join Date: Jun 2005
Location: Allentown
My Ride: '90 Voyager
Engine: 2.5 16V Twin Mitsus
Induct: Turbo
1/4: 0.000
|
Still doesn't work.
|
|
|
|
 |
  |
  |
 |
01-28-2008, 07:09 PM
|
#208
|
  |
|
Re: Electronic Distributor Adapter
|
|
Naturally Aspirated
Join Date: Jun 2005
Location: Allentown
My Ride: '90 Voyager
Engine: 2.5 16V Twin Mitsus
Induct: Turbo
1/4: 0.000
|
I'm actually not even emulating the HEP yet, just trying to get it to synch to the cam and crank signals. Megasquirt can do it, and I'm using basically the same method for detecting TDC's. I made up a program that just outputs a pulse on every rising or falling edge on the crank input, it should show any noise that's getting in and narrow it down to a hardware or software problem. I'm still going with software...
I should note that the HEP outputs that the hybrid adapter uses are different from the cam/crank sensor outputs. That the hybrid one works doesn't necessarily mean that the 2.4 one should.
I do have an NGC vehicle (several), but I'll probably end up with the same problems since both are based on timing teeth to find TDC. NGC just has a different tooth pattern.
|
|
|
|
 |
  |
  |
 |
01-30-2008, 09:08 PM
|
#209
|
  |
|
Re: Electronic Distributor Adapter
|
|
Naturally Aspirated
Join Date: Jun 2005
Location: Allentown
My Ride: '90 Voyager
Engine: 2.5 16V Twin Mitsus
Induct: Turbo
1/4: 0.000
|
Well, it appears that there are random falling edges being detected. That's interesting since there are no corresponding rising edges...
There is no apparent noise on the inputs, they both are clamped to Vdd and Gnd. The 5 volt output from the regulator has no noise and less than 10mv p-p, same for the ground lines.
I'm going to assume that it's a code problem with false Interrupt On Change interrupts being generated. Checking it out now...
|
|
|
|
 |
  |
  |
 |
01-31-2008, 04:58 PM
|
#210
|
  |
|
Re: Electronic Distributor Adapter
|
|
Naturally Aspirated
Join Date: Dec 2005
Location: Bridgeport Wv
My Ride: 84 Rampage
Engine: 2.5
Induct: Turbo + Nitrous
1/4: 0.000
|
Any updates on the new design,let me know when its right and Ill take one.
|
|
|
|
 |
  |
 |
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
» Quick Nav |
|
» Quick Tech |
|
» Market Place |
|
|
|
|
|
|
|
|
|
|
|