Page 1 of 1

Switch input configuration?

PostPosted: Fri Jul 08, 2022 11:39 pm
by supraholic
Hello MoTeC Gurus,

I'm new to the PDM world and currently setting up a PDM30 on my project car. All is going great so far. I have an iLift front air lift system installed and comes with a 2-way momentary switch: 'up' raises the suspension and 'down' lowers it as you might expect. Here is a snippet of the wiring diagram for the switch (pink wires):

Image

I believe the switch pictured above is a simple low-side (momentary switch to ground). *EDIT*: using a multimeter I tested the voltage between the black wire and either pink wires and measured 2.7V so it's a low voltage input/switch. My question: is there a way i can configure a button on my MoTeC 8-button CAN switch with the PDM to activate 'up' and 'down' instead of using the analog switch? I read through the manual and did some Google searching but came up empty. With the PDM Manager software, can i setup 2 switch inputs that I can switch to 0v (black wire in pic above)? If this is possible with the PDM, setting up the CAN switch(es) should be easy. I really appreciate any guidance!

Regards,
Dan

Re: Switch input configuration?

PostPosted: Mon Jul 11, 2022 10:02 am
by Stephen Dean
Hi,

From your description this can be done, using either directly wired inputs, or the keypad buttons.

If you can post your configuration and the diagram again, that would help.

Re: Switch input configuration?

PostPosted: Mon Jul 11, 2022 11:38 pm
by supraholic
Thanks for the reply Stephen! I fixed the link to the image in my post above. I'd love to use my motec CAN keypad for this scenario but i don't know where to plug in the 3 wires shown in the wiring diagram to make it work. Thanks for your guidance!

PS. I put a voltmeter between the black and each of the pink wires and it read 2.7V...so i confirmed it's a low voltage switch.

Re: Switch input configuration?

PostPosted: Tue Jul 12, 2022 10:02 am
by Stephen Dean
Having looked at the full wiring and install guide, I think that you would be better off retaining the momentary switch for the system as is, You could control it through the PDM, but you would need to use two 8A outputs to replicate the switch input into the control unit.

I have attached a basic configuration that will do this functionality.

Re: Switch input configuration?

PostPosted: Wed Jul 13, 2022 1:35 am
by supraholic
Thanks for the follow-up Stephen...this is what I thought. I've used up all my outputs on my PDM30 so my fallback is to retain the separate 2-way switch. Thanks for confirming and providing the sample config--much appreciated!

Regards,
Dan

Re: Switch input configuration?

PostPosted: Wed Jul 13, 2022 5:51 am
by supraholic
So I think I have another option: use two of the 5V Aux Outputs on my C127 display. (I forgot to mention I have this display with the I/O upgrade!). Since my PDM30 outputs are all used up, I think I can link one my CAN switches to switch between two Aux output pins for 'UP' and 'DOWN', respectively (pink wires). In this scenario, I don't need the black wire since the AUX outputs will be supplying the trigger voltage. I'm going to give this a shot and see if I can successfully set this up! :D

-Dan

Re: Switch input configuration?

PostPosted: Wed Jul 13, 2022 8:47 am
by David Ferguson
Well, now you can get the button status from the keypad (through the PDM - which can transmit it on the CAN bus) and use it to control your suspension height. You can also add logic so the suspension is lowered automatically at high speed, etc.

Re: Switch input configuration?

PostPosted: Thu Jul 14, 2022 11:34 pm
by supraholic
Thanks for confirming my idea David! I'm going to give this a shot and I'll post back my results. Stay tuned.
-Dan

Re: Switch input configuration?

PostPosted: Tue Dec 20, 2022 12:24 pm
by stairimage
Your method is helpful. It worked. Thanks.
coreball