Hi Guys, I have used a 16F877A to control a couple of relays so it can start my car. The sequence to start the car begins when the Unlock button on my remote keyfob is held down for approx two seconds. I have a working demo: The unit turns the ignition on, and then waits for the heater coils (diesel), and then cranks the starter motor for a period of time. Problem is, there is no ideal period to crank the starter since, depending on temperature, etc. the motor will be more difficult to start sometimes. Looks like I need some feedback from the engine to determine when it is running off it's own steam so the starter motor can be disengaged asap. The obvious feedback to use is the tachometer (Less than 100 RPM while cranking - approx 800RPM while idling). The turbo pressure sensor may also be useful (0 - 1.9 Volts while idling - 1.9 - 4.5 Volts while racing). The current program is cycling all the time, even the power LED is a POV display. Good news is while the starter motor is cranking I can stop everything and wait for any PBP commands that delay program execution such as COUNT or ADCIN. I'm thinking the tach signal would be the most reliable indication, so any programming ideas without having to make a full on digital tachometer(which I have never done)? I do still have RBO interrupt pin free in hardware. I'd like to consider all options and have my head clear before I go playing with the ECU in my vehicle. Cheers Art.
Bookmarks