Folks, I've designed what I believe to be a workable solution to the fact there is no aftermarket cruise control available for my '00 Ford F-350 diesel truck. I'm tired of long drives without it! I've taken some electronics courses, know how to program acceptably, and think I have a reasonable design. That's how whole electrical systems get destroyed! So I'm appealing to the pros to look over my design and make sure it isn't totally off-base. The pickup uses a throttle position sensor to determine "how much" someone depresses the throttle. A performance company makes a pigtail cable which allows one to monitor of "add" voltage at the TPS. I planned to monitor the TPS voltage and the speedometer frequency with a PIC. I was planning to convert the frequency to a voltage and read it using AN0 on the PIC. I have used an LM2917 before to convert freq to voltage (used in my old automatic truck to make a torque converter lockup switch that activated at a given frequency). My plan was to store the frequency (voltage), then when activated, add or decrease the voltage at the TPS using a DAC (microchip MCP4821). I would have interrupts from the brake or clutch (switches already there for the vehicle's computer). I was planning to put accelerate and deccelerate buttons in too just for fun.
The main issue is not knowing the current draw on the TPS. Plus, is it possible to put a 3 V signal "out" to from the DAC while the accelerator is still depressed (and putting out ~3V). Usually the pedal is lifted once the "set" button is pressed on a cruise control so there would be lag between the time the start button is pressed and the user (me!) would let up on the accelerator... I was thinking perhaps diodes would keep current from flowing "back" but then there would be a voltage drop I suppose? I was planning on getting the EasyPIC4 package from MikroElectronics - it has a DAC module with sample code.
Well, here's my flowchart and beginning schematic. If anyone has any advise, I would be very open to it and very appreciative. Thanks for all the help I've gotten from this forum!!! The LM2917 datasheet is here: **broken link removed** The microchip datasheet: **broken link removed**
Tom
The main issue is not knowing the current draw on the TPS. Plus, is it possible to put a 3 V signal "out" to from the DAC while the accelerator is still depressed (and putting out ~3V). Usually the pedal is lifted once the "set" button is pressed on a cruise control so there would be lag between the time the start button is pressed and the user (me!) would let up on the accelerator... I was thinking perhaps diodes would keep current from flowing "back" but then there would be a voltage drop I suppose? I was planning on getting the EasyPIC4 package from MikroElectronics - it has a DAC module with sample code.
Well, here's my flowchart and beginning schematic. If anyone has any advise, I would be very open to it and very appreciative. Thanks for all the help I've gotten from this forum!!! The LM2917 datasheet is here: **broken link removed** The microchip datasheet: **broken link removed**
Tom