Jump to content

DI input switch with multiple values ?


LeNainCapable

Recommended Posts

Hello,

From what I understand, DI are for switches but also ethanol content sensors.

For switches, I can either send 12V in or ground.

For Ethanol content sensor, I guess it sends a value but idk exactly which one.

is it 1v = 20%, 2v = 40% etc ? Or is it like "010101" at some rate per second and then the ecu interprets it ?

Could I wire a dial with some frequencies and then map it to certain functions ? basically

50hz = all assists off

100hz = TC + Launch control

150hz = some other function ?

Thank you very much,

Best regards,

Quentin

Link to comment
Share on other sites

As a DI it is looking that the voltage is above or under a give threshold. It's not looking at a voltage value in itself. 

When it is looking at a frequency, it is checking the number of rising and falling edges. I don't believe that there is such user defined function using frequency. 

 

What you could do it wire your rotary switch to a analog one, and define as virtual aux the inputs you want at give voltage values. 

Link to comment
Share on other sites

Thank you very much ! That allows for a lot of stuff, pretty cool.

I'm not a fan of the airplane type dashboard with all the switches, maybe I'll try doing some kind of little rotating ones with variable voltage and then only allow start for say switch one = 4v and second switch = 6v for antitheft. I have to put more thoughts into that

Plus wiring other stuff like boost target or backfires ON/OFF

Neat, thanks

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...