On/Off outputs

For discussing how to choose sensors and create a wiring harness for all Bowling and Grippo versions of the MegaSquirt® EFI controller.
Forum rules
Read the manual to see if your question is answered there before posting. Many users will not reply if the answer is already available in the manual.

If your question is about troubleshooting, configuration, or tuning, you MUST include your processor type (MS-I or MS-II) and code version in your post. If your question is about PCB assembly or modifications, you must also include the main board version number (1.01, 2.2 or 3.0).

If you have questions about MS1/Extra or MS2/Extra code configuration or tuning, please post them at www.msextra.com Such questions posted here will be moved to: a temporary MSextra sub-forum, where they will be removed after 7 days

The full forum rules are here: Forum Rules, be sure to read them all regularly.
Post Reply
joecam06
MegaSquirt Newbie
Posts: 8
Joined: Tue Nov 20, 2012 7:27 pm
Location: Toronto, ON
Contact:

On/Off outputs

Post by joecam06 »

I am just installing a MS V3.57 that was built by DIY AutoTune. I want to switch two shift lights and a water temp light. I just want to confirm that I can use any of the spare pins, 3, 4, 5 or 6 to do this.

When configuring these switches, how do the output port names sync with the pin numbers?

Sorry for the newbie questions.
VW Scirocco SCCA H Production
MS V3.57 by DIYAutoTune
Matt Cramer
Super Squirter
Posts: 2951
Joined: Sat Jul 03, 2004 11:35 am

Re: On/Off outputs

Post by Matt Cramer »

Usually pins 3 and 4 are set up for CAN, if it says "CAN enabled" on the sticker underneath. (We've built them this way for the past year or so.) There will not be outputs on pins 5 or 6 unless it was special ordered with extra I/O.
joecam06
MegaSquirt Newbie
Posts: 8
Joined: Tue Nov 20, 2012 7:27 pm
Location: Toronto, ON
Contact:

Re: On/Off outputs

Post by joecam06 »

OK, thanks. I does say "CAN enabled" so I will use pins 3 & 4. I'm not going to be using the idle valve output on pin 30. Can I configure pin 30 to switch a light?
VW Scirocco SCCA H Production
MS V3.57 by DIYAutoTune
Matt Cramer
Super Squirter
Posts: 2951
Joined: Sat Jul 03, 2004 11:35 am

Re: On/Off outputs

Post by Matt Cramer »

Pin 3 and 4 would be for the CAN bus and cannot be used as direct control outputs; they'd need to be hooked to a CAN enabled device instead.

Pin 30 is FIDLE and can be used as a spare output.
joecam06
MegaSquirt Newbie
Posts: 8
Joined: Tue Nov 20, 2012 7:27 pm
Location: Toronto, ON
Contact:

Re: On/Off outputs

Post by joecam06 »

OK, that's one I can use. I'm switching the fuel pump externally so pin #37 is available. Can pin #37 be configured to switch a light? What about using the spare digital outputs on pins 25, 27, 29 and 31?
VW Scirocco SCCA H Production
MS V3.57 by DIYAutoTune
Matt Cramer
Super Squirter
Posts: 2951
Joined: Sat Jul 03, 2004 11:35 am

Re: On/Off outputs

Post by Matt Cramer »

If you're not using the stepper IAC, you can use those outputs to drive a relay too - note that pins 25/27 and 29/31 are paired, so you've got two outputs instead of four.
joecam06
MegaSquirt Newbie
Posts: 8
Joined: Tue Nov 20, 2012 7:27 pm
Location: Toronto, ON
Contact:

Re: On/Off outputs

Post by joecam06 »

Thanks, I get it now. I have the choice of using spare digital output pins 25 & 29 and unused pins 30 & 37.
VW Scirocco SCCA H Production
MS V3.57 by DIYAutoTune
Matt Cramer
Super Squirter
Posts: 2951
Joined: Sat Jul 03, 2004 11:35 am

Re: On/Off outputs

Post by Matt Cramer »

joecam06 wrote:Thanks, I get it now. I have the choice of using spare digital output pins 25 & 29 and unused pins 30 & 37.
Pin 37 is a dedicated fuel pump output and cannot be reconfigured short of rewriting the code.
joecam06
MegaSquirt Newbie
Posts: 8
Joined: Tue Nov 20, 2012 7:27 pm
Location: Toronto, ON
Contact:

Re: On/Off outputs

Post by joecam06 »

Thanks again. I learn something new every day.
VW Scirocco SCCA H Production
MS V3.57 by DIYAutoTune
joecam06
MegaSquirt Newbie
Posts: 8
Joined: Tue Nov 20, 2012 7:27 pm
Location: Toronto, ON
Contact:

Re: On/Off outputs

Post by joecam06 »

I have my wiring finished and laptop talking to the MS with TunerStudio but haven't started the engine yet. I have configured the FIDLE on pin 30 to switch a temp warning light and pins 25 and 29 to switch a two stage shift light. The problem is when I power up the electrical system and MS, without the engine running, all three lights come on and stay on. I've tried changing up the thresholds and power on values to see if they go off without success.

Any suggestions?
VW Scirocco SCCA H Production
MS V3.57 by DIYAutoTune
Matt Cramer
Super Squirter
Posts: 2951
Joined: Sat Jul 03, 2004 11:35 am

Re: On/Off outputs

Post by Matt Cramer »

Be sure to use a power on value of 0 and trigger value of 1.
joecam06
MegaSquirt Newbie
Posts: 8
Joined: Tue Nov 20, 2012 7:27 pm
Location: Toronto, ON
Contact:

Re: On/Off outputs

Post by joecam06 »

Power on value is set to 0 and trigger value is set to 1.
VW Scirocco SCCA H Production
MS V3.57 by DIYAutoTune
joecam06
MegaSquirt Newbie
Posts: 8
Joined: Tue Nov 20, 2012 7:27 pm
Location: Toronto, ON
Contact:

Re: On/Off outputs

Post by joecam06 »

I figured it out. I had the < and > reversed. Thanks for your help.
VW Scirocco SCCA H Production
MS V3.57 by DIYAutoTune
Post Reply