| On & Off switch for the traction control | |
|
|
Author | Message |
---|
Jostar
Posts : 2 Join date : 2013-04-21
| Subject: On & Off switch for the traction control Sun Apr 21, 2013 1:24 pm | |
| Can I use just a on & off switch to turn on traction control on the 128???
which pins should I use for the switch ??
Power? 5v? or 12V?
Ground??
Signal= J1 C11??? | |
|
| |
Admin Admin
Posts : 258 Join date : 2008-02-22
| Subject: Re: On & Off switch for the traction control Tue May 28, 2013 9:14 am | |
| - Jostar wrote:
- Can I use just a on & off switch to turn on traction control on the 128???
which pins should I use for the switch ??
Power? 5v? or 12V?
Ground??
Signal= J1 C11??? Ofcourse...any spare analog input will work. | |
|
| |
SideWinderGX
Posts : 6 Join date : 2014-02-26
| Subject: Re: On & Off switch for the traction control Thu Feb 27, 2014 5:12 pm | |
| ProEFI shouldn't care if its 5V coming in on the input or 12V correct? A 1k pullup input would be 5mA or 12mA respectively, the ECU shouldn't care with that piddly amount...but I'd like confirmation anyways. | |
|
| |
Admin Admin
Posts : 258 Join date : 2008-02-22
| Subject: Re: On & Off switch for the traction control Thu Feb 27, 2014 10:19 pm | |
| - SideWinderGX wrote:
- ProEFI shouldn't care if its 5V coming in on the input or 12V correct? A 1k pullup input would be 5mA or 12mA respectively, the ECU shouldn't care with that piddly amount...but I'd like confirmation anyways.
If you are using a positive voltage input, it needs to be connected to an input that has a pull down. It also must pass the threshold calibrated at the switch point (which must be less than 5v). | |
|
| |
SideWinderGX
Posts : 6 Join date : 2014-02-26
| Subject: Re: On & Off switch for the traction control Sun Mar 02, 2014 2:08 pm | |
| Ah, J1 C11 sure is a pull down input, my mistake.
So let's recap here: threshold for switchover is less than 5V...so the input can be either 5V or 12V correct? Again its a 1k resistor so I can't see it burning up at 12V. | |
|
| |
Admin Admin
Posts : 258 Join date : 2008-02-22
| Subject: Re: On & Off switch for the traction control Sun Mar 02, 2014 2:14 pm | |
| - SideWinderGX wrote:
- Ah, J1 C11 sure is a pull down input, my mistake.
So let's recap here: threshold for switchover is less than 5V...so the input can be either 5V or 12V correct? Again its a 1k resistor so I can't see it burning up at 12V. As long as it pulls down below the ADC count your fine. | |
|
| |
SideWinderGX
Posts : 6 Join date : 2014-02-26
| Subject: Re: On & Off switch for the traction control Sun Mar 02, 2014 6:54 pm | |
| ...well yeah, that would mean its working.
Let's try this instead:
-Yes or no: Will putting 5V on J1 C11 turn that input on? -Yes or no: Will putting 12V on J1 C11 turn that input on? -Yes or no: Is there any functional difference between the two?
Coming from an HVAC controls background its extremely easy for the hardware/software to tell the difference between an open and closed circuit (although that's because each input has its own ground with a 5V potential across). ADC count/scaling/configuration is completely ignored on a binary input.
edit: For even further clarification, I can't put 24VAC/120VAC directly to an input on one of my HVAC controllers because the reference voltage for that input is either 5V or 10V DC. A 5V input will give me 1023 ADC and 0V on that input will give me 0. So what is the reference voltage for the ProEFI inputs? Most of the sensors are 5V but some of the inputs (reverse/park/1st/2nd shift positions) are 12V for instance.
I'm being really annoying about this because I'd rather not put 12V on an input and fry that input on my $2k ECU. I can't find any info anywhere about the ProEFIs sensitivity to 12V on its inputs for switches. | |
|
| |
Admin Admin
Posts : 258 Join date : 2008-02-22
| Subject: Re: On & Off switch for the traction control Mon Mar 03, 2014 8:45 am | |
| - SideWinderGX wrote:
- ...well yeah, that would mean its working.
Let's try this instead:
-Yes or no: Will putting 5V on J1 C11 turn that input on? -Yes or no: Will putting 12V on J1 C11 turn that input on? -Yes or no: Is there any functional difference between the two?
Coming from an HVAC controls background its extremely easy for the hardware/software to tell the difference between an open and closed circuit (although that's because each input has its own ground with a 5V potential across). ADC count/scaling/configuration is completely ignored on a binary input.
edit: For even further clarification, I can't put 24VAC/120VAC directly to an input on one of my HVAC controllers because the reference voltage for that input is either 5V or 10V DC. A 5V input will give me 1023 ADC and 0V on that input will give me 0. So what is the reference voltage for the ProEFI inputs? Most of the sensors are 5V but some of the inputs (reverse/park/1st/2nd shift positions) are 12V for instance.
I'm being really annoying about this because I'd rather not put 12V on an input and fry that input on my $2k ECU. I can't find any info anywhere about the ProEFIs sensitivity to 12V on its inputs for switches. Like I said, you have to run +voltage to a pull down input for it to work, so NO, it won't work because J1 C11 is a 1k pull up input. That is why I answered you the way I did. That way we avoid a dozen questions about each pin, one at a time weather it would work or not. You can just look at the pinout and correctly select the pin first try and understand how it works for future reference. So just to reiterate, you have to hook up any switched input to do the opposite of what the analog input pin is. So + power (positive) would have to be connected to an input pin that is a pull down, - power (negative) would need to be connected to an analog input pin that is already a pull up. | |
|
| |
SideWinderGX
Posts : 6 Join date : 2014-02-26
| Subject: Re: On & Off switch for the traction control Mon Mar 03, 2014 11:45 am | |
| Looking at all the pinout sheets (again) J1 C11 is a pull up input, my mistake for misreading it in the first place. I understand the way you answered and why you answered that way but you still have not answered my question. So let's try a fourth time (5 if you count OPs post): for a pull down switched (2 position) input would you use 12V or 5V? I can't ask it any simpler. ADC count doesn't matter, I'm not going to try 5V first to see what the ADC count is just to verify what should be an easy tech question. edit: I'm not trying to be rude, I simply know firsthand how sensitive certain controls equipment can be to signal/line voltage | |
|
| |
Admin Admin
Posts : 258 Join date : 2008-02-22
| Subject: Re: On & Off switch for the traction control Mon Mar 03, 2014 11:58 am | |
| - SideWinderGX wrote:
- Looking at all the pinout sheets (again) J1 C11 is a pull up input, my mistake for misreading it in the first place.
I understand the way you answered and why you answered that way but you still have not answered my question. So let's try a fourth time (5 if you count OPs post): for a pull down switched (2 position) input would you use 12V or 5V?
I can't ask it any simpler. ADC count doesn't matter, I'm not going to try 5V first to see what the ADC count is just to verify what should be an easy tech question.
edit: I'm not trying to be rude, I simply know firsthand how sensitive certain controls equipment can be to signal/line voltage The ADC count is ALWAYS important. The ECU only looks at 0 to 5v (0 to 1023) for it's input, so anything above 5v is ignored. So if you want to use a 12v input, it must drop below the ADC count on the input you select when off. I can't answer any more definitively than that. If you are still lost, I would consult your dealer and get their recommendation on where they want you to hook it up. | |
|
| |
SideWinderGX
Posts : 6 Join date : 2014-02-26
| Subject: Re: On & Off switch for the traction control Thu Mar 06, 2014 12:10 pm | |
| Makes sense, thanks for the help! | |
|
| |
SideWinderGX
Posts : 6 Join date : 2014-02-26
| Subject: Re: On & Off switch for the traction control Mon Jul 21, 2014 4:56 pm | |
| Thought I'd make another post in this thread! Having an issue getting the light on my switch to reflect the status of tractioncontrol_enable. Here's a picture of the current settings: https://img.photobucket.com/albums/v218/SideWinderGX/traclight_zps01954091.pngCurrently the switch WILL enable and disable traction control and the ADC count switches from 1023 to 0 when the button is pressed. BUT, the light always stays on. If I switch trac_indlight_polarity to normal the light turns off...turn it back to inverted, light turns on. I put tracactive_light to none and that didn't change the results (after I took the picture). What do I have set wrong? | |
|
| |
Admin Admin
Posts : 258 Join date : 2008-02-22
| Subject: Re: On & Off switch for the traction control Wed Sep 24, 2014 4:35 pm | |
| - SideWinderGX wrote:
- Thought I'd make another post in this thread!
Having an issue getting the light on my switch to reflect the status of tractioncontrol_enable. Here's a picture of the current settings: https://img.photobucket.com/albums/v218/SideWinderGX/traclight_zps01954091.png
Currently the switch WILL enable and disable traction control and the ADC count switches from 1023 to 0 when the button is pressed. BUT, the light always stays on. If I switch trac_indlight_polarity to normal the light turns off...turn it back to inverted, light turns on.
I put tracactive_light to none and that didn't change the results (after I took the picture).
What do I have set wrong? You have Your trac indicator light and active pin set to the same pin....so it's trying to do two different commands...you can't do that. | |
|
| |
Sponsored content
| Subject: Re: On & Off switch for the traction control | |
| |
|
| |
| On & Off switch for the traction control | |
|