![]() code - // High Idle Auto Resume TESTĬonst int seic_request_pin = 2 //turning it on/offĬonst int pto_state_pin = 3 //PCM feedback state LOW/HIGHĬonst int emer_relay_pin = 5 //relay closing emergency brake light swich circuitĬonst int pto_request_pin = 6 //relay activating high-idle request to PCM await PCM signal showing high-idle activated (pto_state_pin input = LOW) push message "SEIC reactivated, high-idle should resume shortly"ĩ.i. activate high-idle request (seic_request_pin output = HIGH)ĩ.h. activate emer brake relay (emer_relay_pin output = HIGH)ĩ.g. deactivate emer brake relay (emer_relay_pin outout = LOW)ĩ.e. ![]() deactivate high-idle request (seic_request_pin output = LOW)ĩ.c. push message "SEIC was interrupted, restarting in 8 seconds."ĩ.b. **ELSE deactivated while high-idle switch turned on and without command- (seic_request_pin input = HIGH & pto_state_pin input = LOW)ĩ.a. await input from high-idle switch set to "on" (seic_request_pin input = HIGH) reinitiate sequence at step 2.Ĩ.d. if high-idle switch is turned off, deactivate high-idle request (pto_request_pin output = LOW) and deactivate emer break switch (emer_relay_pin out=LOW)Ĩ.c. ![]() remain in configured condition and Monitor every sec for change in state of High-idle switch set to off (seic_request_pin input = LOW)Ĩ.a. **IF SEIC active - (pto_state_pin input = LOW)Ĩ. awaits for PCM signal shows high-idle active (pto_state_pin, input LOW).Then activates high-idle request via relay #2 (pto_request_pin, output = HIGH).Delay 10 secs before providing high-idle request input (delay 10000).Then activates emergency break switch via relay #1 (emer_relay_pin, output = HIGH)."high-Idle" switch set to "on" (seic_request_pin input = HIGH).The PCM will reseek input conditions if I put the truck in park and high-idle switch is set to on. NOTE: Initial 1 min delay is intentional to prevent high-idle condition if I'm looking to start driving after start up. SEIC = Stationary Elevated Idle Controller Seeedstudio relay shield v2.1 (using relay 1 & relay 2.has to be in park, the brake pedal and throttle pedal are not touched, engine temps, etc.), therefore a "fooled" emergency brake light condition is not an immediate threat to safety or vehicle operation under the high-idle condition and I understand the personal implications of such practices. I'm attempting to add an input condition that senses when I'm turning on the system via switch and adding a relay that closes the emergency brake light switch to set the condition without the need to enter the vehicle or preset the brake condition and closing a relay that signals the PCM i'm wanting to turn on the high-idle feature and automatically resets the feature if the brake or gas pedal, or other safety stop feature is observed by the PCM.ĭisclaimer: there are several other conditions that have to be met before the PCM will set a high idle condition (e.g. Original code was used from Droktane's high-idle request github site. Problematically, after several variations of code modification, it's not executing as desired and causing the relays to activate out of the sequence and without the meeting the prescribed conditions. Skill level: Simple hobbyist with Noob programming experience.īLUF: The project is designed to control a high-idle feature in my diesel truck and I'm struggling with the execution sequence of the code included below. It's prolly much simpler than I'm making it out to be please educate me and I'm standing by for feedback. I'm hoping you can point out my errors in my code that I've been researching and unsuccessful in resolving for the last several months.
0 Comments
Leave a Reply. |