I am working on ignition and starter, I want to make k.ignition to have 3 states: 0, 1 and 2.
K.starter button active for 3 seconds once it pressed only when k.ignition at state 2 .
I did
- lookup3 operation in 'n' to state the k.ignition
- pulse operation in function to pulse the k.starter 3s
The result
It works fine when I press in right sequence: press k.ignition until state 2 then press k.starter,
but when k.starter pressed first I notice pulse will active (the o.starter not active due to ignition not in state 2), so if k.ignition pressed before pulse time ending, the o.starter will on
Is there other way to do it?
Appreciate your help
starter pulse
Re: starter pulse
Hi,
You've wrote something like this:
o_starter.active = (k_ignition == 2) and pulse(k_starter, rising, 3s)
Please change it to something like this:
f_go = (k_ignition == 2) and k_starter
o_starter.active = pulse(f_go, rising, 3s)
It will activate the Pulse operation only if the k_ignition is on and the k_starter is rising.
You've wrote something like this:
o_starter.active = (k_ignition == 2) and pulse(k_starter, rising, 3s)
Please change it to something like this:
f_go = (k_ignition == 2) and k_starter
o_starter.active = pulse(f_go, rising, 3s)
It will activate the Pulse operation only if the k_ignition is on and the k_starter is rising.
Re: starter pulse
JGM,
Thanks again for your support!
Thanks again for your support!
Re: starter pulse
Here is the example of my starter. It features Start/Stop button like in OEM installations. After turning on power you can press start. This will turn the starter until motor runs (via CAN rpm threshold). Pressed again and ignition goes off.
- Attachments
-
- Starter.pmu
- (60.79KiB)Downloaded 29 times
Re: starter pulse
Thanks for giving other setting choice