MEGAsquirt A place to collectively sort out this megasquirt gizmo

Using additional inputs on DIYPNP

Thread Tools
 
Search this Thread
 
Old 09-12-2014, 10:21 AM
  #1  
Junior Member
Thread Starter
 
ChrisSTR's Avatar
 
Join Date: Jul 2014
Posts: 76
Total Cats: 0
Default Using additional inputs on DIYPNP

I am using "input1" and "input2" for AC Fan and idle up input. The DIYPNP is supposed to have two other digital inputs.

To use one of these, do I just provide +5v to PE0
ChrisSTR is offline  
Old 09-12-2014, 10:25 AM
  #2  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

What are you tying to accomplish?

You should only be using input 1 for the A/C switch (which is used for Idle Up), into a spare input (PE1, PA0, etc.). and then you'd be using one output (ALD, WLD, etc.) for the A/C fan/compressor.
Braineack is offline  
Old 09-12-2014, 10:39 AM
  #3  
Junior Member
Thread Starter
 
ChrisSTR's Avatar
 
Join Date: Jul 2014
Posts: 76
Total Cats: 0
Default

Originally Posted by Braineack
What are you tying to accomplish?

You should only be using input 1 for the A/C switch (which is used for Idle Up), into a spare input (PE1, PA0, etc.). and then you'd be using one output (ALD, WLD, etc.) for the A/C fan/compressor.
I want to add a toggle for table switching so I can do steady state testing.

It looks like I can run 5v from the board through switch to the flex input which can be used for table switching. I suppose thats its designated purpose, people who want different fuel/timing for different fuel.
ChrisSTR is offline  
Old 09-12-2014, 12:19 PM
  #4  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

i still dont understand why you are using two inputs for a/c idle up.

for tableswitching, I'd input from one of the inputs ciruits into FLEX.
Braineack is offline  
Old 09-12-2014, 01:49 PM
  #5  
Junior Member
Thread Starter
 
ChrisSTR's Avatar
 
Join Date: Jul 2014
Posts: 76
Total Cats: 0
Default

Originally Posted by Braineack
i still dont understand why you are using two inputs for a/c idle up.

for tableswitching, I'd input from one of the inputs ciruits into FLEX.
Just wired per instructions from diyautotune. I originally thought I could double the inputs, but they directed me to use the next input2 for idel up.

Anyway, TS allows you to use the FLEX input which is wired to PE0 on MS2 which is suitable for table switching. But the flex input takes a variable value, I need to figure out what signal level to apply for "high".

Some of this stuff is documented for the BG firmware, not so much for the diyautotune daughterboard.

I need to know if I apply a 5V signal to flex/PE0 if that will cause input to go high? Cant find a spec sheet for interfacing with the microsquirt board.

Also, DIYtune said that PE1 was only input supported for table switching, but the diypnp daughterboard does not contain a PE1 input afaik.
ChrisSTR is offline  
Old 09-12-2014, 02:13 PM
  #6  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

I'd need the software in front of me to map it out.

Flex and PE0 are two seperate I/Os.

what would you be using to input 5v? does it have to be 5v?


I still don't quite understand how you implemented a/c idle up. How are you splitting a/c fan/compressor from the idle up function? it's integrated.

here's how i typically wire a diypnp:
wld - cooling fan
ald - a/c fan / compressor
pe1 - a/c switch (via input 1)
flex - clutch switch (via input 2)
pa0 - boost control
pt6 - inj 3
pt7 - inj 4
Braineack is offline  
Old 09-12-2014, 02:27 PM
  #7  
Junior Member
Thread Starter
 
ChrisSTR's Avatar
 
Join Date: Jul 2014
Posts: 76
Total Cats: 0
Default

Same as diy instructions on 9900 page and-

1P to Input 2 In
Input 2 Out to PE1
ChrisSTR is offline  
Old 09-12-2014, 02:30 PM
  #8  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

their instructions do not say that. I don't think they even have documentation on using the gslender a/c idle up code including wiring for it.

Input 1 IN 1P (remove R14) OUT 1S, 1I A/C Relay & Fan
Input 2
If you wired 1P & PE1 in that manner, I'm assuming your a/c doesn't work at all...
Braineack is offline  
Old 09-12-2014, 03:43 PM
  #9  
Junior Member
Thread Starter
 
ChrisSTR's Avatar
 
Join Date: Jul 2014
Posts: 76
Total Cats: 0
Default

Originally Posted by Braineack
their instructions do not say that. I don't think they even have documentation on using the gslender a/c idle up code including wiring for it.



If you wired 1P & PE1 in that manner, I'm assuming your a/c doesn't work at all...
It works great.

Just got confirmation from diyautotune that I could use the flex input for table switching. Thanks.
ChrisSTR is offline  
Old 09-12-2014, 04:00 PM
  #10  
Senior Member
 
hector's Avatar
 
Join Date: Apr 2011
Location: Hollywood, FL
Posts: 807
Total Cats: 163
Default

I think he skipped the part where input 2 out also goes to ac clutch/condenser fan relay. This is how mine is wired and there is no ac control per se, but at least the ecu can bump up idle when ac is on.
hector is offline  
Old 09-12-2014, 04:04 PM
  #11  
Junior Member
Thread Starter
 
ChrisSTR's Avatar
 
Join Date: Jul 2014
Posts: 76
Total Cats: 0
Default

Originally Posted by hector
I think he skipped the part where input 2 out also goes to ac clutch/condenser fan relay. This is how mine is wired and there is no ac control per se, but at least the ecu can bump up idle when ac is on.
No, I am using input 1 for that per diy instructions. I might be able to consolidate on one input. AC is working fine, althouhg I havent checked if it is cycling.
ChrisSTR is offline  
Old 09-12-2014, 04:16 PM
  #12  
Senior Member
 
hector's Avatar
 
Join Date: Apr 2011
Location: Hollywood, FL
Posts: 807
Total Cats: 163
Default

Ok, I just teed the input out connection on mine.

Your ac is cycling as its working off the three other sanity checks in the system: high side pressure switch, low side pressure switch, evaporator temp switch.

You, like I, don't have actual control of the ac through the MS. The latest firmware has the capability to control a delay time engaging the clutch to give the idle valve a proactive approach. Then in the programmable outputs you could set it to turn off using whatever parameter available to that output.
hector is offline  
Old 09-12-2014, 05:55 PM
  #13  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

1P to Input 2 In
Input 2 Out to PE1
did you edit this?

I initially read it as:

1P to Input 1 In
Input 2 Out to PE1

and why I was confused. This makes sense to me as written, but doesn't quite correlate to what you wrote in post #1 (and maybe why I misread this post).
Braineack is offline  
Old 09-12-2014, 07:08 PM
  #14  
Junior Member
Thread Starter
 
ChrisSTR's Avatar
 
Join Date: Jul 2014
Posts: 76
Total Cats: 0
Default

It was cut and paste from an email.
ChrisSTR is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
The Gleas
MEGAsquirt
3
10-01-2015 09:30 AM
viriiguy
General Miata Chat
5
09-28-2015 07:39 PM



Quick Reply: Using additional inputs on DIYPNP



All times are GMT -4. The time now is 04:44 AM.