Toggle Wiper Control with PDM30 and CAN Keypad

Discussion and support for MoTeC Power Distribution Modules

Toggle Wiper Control with PDM30 and CAN Keypad

Postby CommitConfirm on Sat Mar 23, 2019 12:52 am

Hi, I have a PMD30 and the 15 button CAN keypad in my classic Mini. I would like to be able to use a single button on the CAN keypad to toggle through the individual wiper speeds of the stock wiper motor.

I note that in PMD30 user manual it states that hardware you can directly drive the wiper motor form the PDM with outputs 9. Therefore I have used Output 9 & 10 for the fast and slow windings.

Off -> Slow -> Fast -> Off

I'm struggling with the logic of the function to do this so through I would come here and ask for help. If this something anyone has got working before please?
Attachments
Screen Shot 2019-03-22 at 13.48.55.png
Wiper Motor Pinout
Screen Shot 2019-03-22 at 13.48.55.png (107.56 KiB) Viewed 11183 times
PDM30-wiper_control.pdm
PMD30 Config
(47.57 KiB) Downloaded 1060 times
CommitConfirm
 
Posts: 1
Joined: Fri Mar 22, 2019 6:28 am

Re: Toggle Wiper Control with PDM30 and CAN Keypad

Postby adrian on Mon Mar 25, 2019 10:16 am

Create a new function, and change it from condition to counter in the drop down box. Use the keypad button as the increment channel and set the maximum count to 2 (see below example).

Then in your outputs make output 9 active when 'fn.Wiper.Mode' == 1 and output 10 active when 'fn.Wiper.Mode' == 2.

Just remember to make sure in the setup for output 9 you select the output for the high speed winding.
Attachments
Wiper Mode.png
Wiper Mode.png (16.36 KiB) Viewed 11136 times
adrian
MoTeC
 
Posts: 722
Joined: Mon Apr 13, 2015 5:16 pm

Re: Toggle Wiper Control with PDM30 and CAN Keypad

Postby Stephen Dean on Mon Mar 25, 2019 11:36 am

Hi,

My PDM30 is setup the same way, using a single button on the keypad to cycle through the operating modes. I have stripped out all but the wiper functions and attached the PDM config for you.

See my post further down the topic for the latest updated file.
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1788
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne

Re: Toggle Wiper Control with PDM30 and CAN Keypad

Postby fun123 on Sat Oct 05, 2019 9:56 am

Hi,

I downloaded this file to use but I get the following message; Error parsing file C:\Users .......
I am running the latest software 1.9.1.0012

Do you have a file that could work with this software version?

Thanks

Paul
fun123
 
Posts: 1
Joined: Fri Nov 30, 2018 6:02 am

Re: Toggle Wiper Control with PDM30 and CAN Keypad

Postby Stephen Dean on Mon Oct 07, 2019 9:45 am

Hi Paul,

Try this version, I have also added a wash function to it.
Attachments
Wiper with Wash.pdm
(50.25 KiB) Downloaded 1185 times
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1788
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne


Return to PDM15 PDM16 PDM30 and PDM32

Who is online

Users browsing this forum: No registered users and 2 guests