I have Proteus 0.4 I am working on getting the clutch state into TS to use as an input.
Proteus firmware - Newest release loaded (20211008_163324) not snapshot
Clutch Down Switch - Digital/Switch 4 - Pin 3 on the black 23pin connector on Proteus.
Tune - https://rusefi.com/online/view.php?msq=689
I have tried setting the Clutch down settings as Pull Up, Default, and Pull Down. I have also set it as inverted with each of these settings. I see no changes when grounding Digital/Switch 4 Pin. I have tried opening console and trying to use the readpin command but both the laptop and tablet i am using with TS and RusEFI are ancient and do not play well with RusEFI console. In place of console I have set up a clutch down indicator in TS using the Rusefi clutchDownState Output Channel and see no response when grounding the Digital 4 pin. Am I missing something or should this be set differently to allow this pin to be grounded to indicate Clutch down?
Proteus - Clutch Down not indicating when grounding pin
Proteus - Clutch Down not indicating when grounding pin
- Attachments
-
- Capture.PNG (18.88 KiB) Viewed 6797 times
- AndreyB
- Site Admin
- Posts: 14357
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Proteus - Clutch Down not indicating when grounding pin
readpin command is the primary way to diagnose if hardware or software issue here. Any device running TunerStudio should have no trouble running rusEFI console.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Proteus - Clutch Down not indicating when grounding pin
I ran readpin PE13 in console after your help (thank you!)
it returns value 1 grounded and not grounded.
2021-10-20_16_07_14_200: EngineState: pin PE13 value 1
2021-10-20_16_07_14_200: EngineState: confirmation_readpin PE13:12
it returns value 1 grounded and not grounded.
2021-10-20_16_07_14_200: EngineState: pin PE13 value 1
2021-10-20_16_07_14_200: EngineState: confirmation_readpin PE13:12
- AndreyB
- Site Admin
- Posts: 14357
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Proteus - Clutch Down not indicating when grounding pin
Good! Now we have reasons to suspect HW side not SW side of things
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Proteus - Clutch Down not indicating when grounding pin
How should a Proteus digital pin be wired/configured to change the pin state in the ecu/TS?
- AndreyB
- Site Admin
- Posts: 14357
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Proteus - Clutch Down not indicating when grounding pin
I barely understand electricity but I assume what your switch does matter as well? Typical switches are grounding in one state, and disconnected in another. Can try try testing clutch input on bench with grounding and not connecting?
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Proteus - Clutch Down not indicating when grounding pin
It seems to be just digital 4 that does not respond. I tried digital 6 and 5 this morning and they are working correctly.
And as a note; pull down, pull up, and default all worked for a switch input once I switched the pin from digital 4.
And as a note; pull down, pull up, and default all worked for a switch input once I switched the pin from digital 4.
Last edited by Cadence on Thu Oct 21, 2021 2:00 pm, edited 1 time in total.
- AndreyB
- Site Admin
- Posts: 14357
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Proteus - Clutch Down not indicating when grounding pin
There is always a chance of hardware assembly defect
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14357
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Proteus - Clutch Down not indicating when grounding pin
We should have looked deeper but we did not
I've just wasted an hour of my life on https://github.com/rusefi/rusefi/issues/3418
I've just wasted an hour of my life on https://github.com/rusefi/rusefi/issues/3418
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Proteus - Clutch Down not indicating when grounding pin
Dang, atleast now it is known.AndreyB wrote: ↑Thu Oct 28, 2021 9:30 pmWe should have looked deeper but we did not
I've just wasted an hour of my life on https://github.com/rusefi/rusefi/issues/3418