Toggle Default ON

Discussion and support for MoTeC Power Distribution Modules

Toggle Default ON

Postby plosey on Sat Nov 10, 2012 6:47 am

pdmshot.JPG
pdmshot.JPG (65.51 KiB) Viewed 12448 times


I have a pdm 30 and we have a fire system that I want on once the pdm is on. (so anytime there is power)

I also have a momentary switch that i want to be able to push that will shut off the fire system while working on the car with power on.

I want the fire system to be on as a default though, Any help is appreciated.
plosey
 
Posts: 10
Joined: Tue Oct 16, 2012 3:37 am

Re: Toggle Default ON

Postby Herrubermensch on Sun Nov 11, 2012 11:29 am

Just wire an ignition-on wire to an input pin, then reference that input pin as the trigger for the output. I reference all of my "ignition on" outputs to the same input pin.

--Peter
Herrubermensch
 
Posts: 128
Joined: Mon May 07, 2012 1:37 pm

Re: Toggle Default ON

Postby MattW on Thu Nov 15, 2012 12:11 pm

If I understand correct, you want the toggle function, but set to be on as soon as the PDM powers up.
To do this we just have to reverse the result of a toggle.

Create a basic condition (FireSwCondition?) that toggles on the push of your button.
ie: toggle(FireButton, edge = rising)

Then on the output pin, you want it to be true when your toggle condition = false.
ie. FireSwCondition=false
MattW
 
Posts: 30
Joined: Thu May 17, 2012 11:17 am

Re: Toggle Default ON

Postby Herrubermensch on Sat Nov 17, 2012 12:11 pm

An even more elegant solution!

--Peter
Herrubermensch
 
Posts: 128
Joined: Mon May 07, 2012 1:37 pm


Return to PDM15 PDM16 PDM30 and PDM32

Who is online

Users browsing this forum: No registered users and 10 guests