Digital Input - 12V Clutch Switch

Discussion and Support for MoTeC's M1 series ECUs

Digital Input - 12V Clutch Switch

Postby ajwithers on Sun Jul 24, 2022 10:48 am

I'd like to use my OEM clutch switch as a Driver Input switch to signal if the clutch is engaged. I currently have it wired to pin A23 Digital 1 input on my M150. The clutch switch is wired to 12v batter source and supplies 12v with the key on and the clutch is NOT engaged. When the clutch is engaged the switch circuit is interrupted and "open".

Does this mean the ECU "sees" 12V when the clutch is NOT engaged and a pullup voltage when it's engaged. Or does the pullup also affect the 12v reading?

Thanks in advance, and sorry for the "dumb" question.
ajwithers
 
Posts: 11
Joined: Thu Sep 19, 2019 4:32 am

Re: Digital Input - 12V Clutch Switch

Postby iivvaann12 on Sun Jul 24, 2022 12:31 pm

You have capture inputs in m1 tune it will answer all of your questions
iivvaann12
 
Posts: 9
Joined: Thu Jun 09, 2022 2:17 am

Re: Digital Input - 12V Clutch Switch

Postby ajwithers on Mon Jul 25, 2022 6:12 am

Thanks, I’ll look at this again, but when I previously looked it only showed the DIG state, and not voltage.

Also to clarify, I'm trying to use DIG1 pin A23 on the M150; this isn't a UDIG input, so don't think it works with the "Capture Inputs" function. I can pull up the Monitor Input/Output function, but this only shows the state for this input i.e. On/Off; and not the voltage.

Also, when in Tune All Calibrate or a page that has the Driver Switch Input tree... the Voltage does not display.

Since the voltage reading (from my voltmeter) is ~13.3v when the clutch is disengaged or 3.3v when engaged, I would have thought that I could use a Threshold = 8.3v (approximately in the middle of the two readings) and a 1v hysteresis. However, whenever I use a voltage above 4v I get a Threshold Maximum warning.

I tried a 4v Threshold with a 0.2v hysteresis and still no luck with it changing the switch state.

I feel so stupid... can't even figure out a simple switch. Any "remedial" material that I can read up on?
ajwithers
 
Posts: 11
Joined: Thu Sep 19, 2019 4:32 am

Re: Digital Input - 12V Clutch Switch

Postby NathanB on Mon Jul 25, 2022 9:31 am

You are using the wrong input for the job.

Digital inputs have a fixed pull up, and a 2V logic level threshold.

You need to switch to a UDIG input for your clutch switch.

Dig V UDIG.jpg
Dig V UDIG.jpg (169.29 KiB) Viewed 4789 times
NathanB
MoTeC
 
Posts: 217
Joined: Thu Oct 15, 2020 1:50 pm

Re: Digital Input - 12V Clutch Switch

Postby ajwithers on Mon Jul 25, 2022 1:44 pm

Thank you Nathan… I thought that might be the case. Unfortunately I’m using most of my UDIG inputs. I imagine the alternative them would be to rewire the clutch switch to ground or a 0V from the ECU… correct?
ajwithers
 
Posts: 11
Joined: Thu Sep 19, 2019 4:32 am

Re: Digital Input - 12V Clutch Switch

Postby NathanB on Mon Jul 25, 2022 4:11 pm

You could also use:

- lambda narrowband inputs
- unused knock inputs
- unused peak and hold injector outputs
- unused low side ignition outputs

all have 12 bit adc connected for pin voltage which is used for various diagnostic functions.

They aren't precise enough for sensor inputs (knock and narrowband excluded, although for their specific functions) but for a 12/0V switch they are fine, and are rated for continuous voltage input of over 12V.

If you have none of these spare, yo cold also rewire the switch to gnd if you needed to retain the DIG input, and set thresholds accordingly.
NathanB
MoTeC
 
Posts: 217
Joined: Thu Oct 15, 2020 1:50 pm


Return to M1 ECUs

Who is online

Users browsing this forum: No registered users and 2 guests