Miata Turbo Forum - Boost cars, acquire cats.

Miata Turbo Forum - Boost cars, acquire cats. (https://www.miataturbo.net/)
-   MEGAsquirt (https://www.miataturbo.net/megasquirt-18/)
-   -   Using additional inputs on DIYPNP (https://www.miataturbo.net/megasquirt-18/using-additional-inputs-diypnp-80934/)

ChrisSTR 09-12-2014 10:21 AM

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

Braineack 09-12-2014 10:25 AM

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.

ChrisSTR 09-12-2014 10:39 AM


Originally Posted by Braineack (Post 1166629)
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.

Braineack 09-12-2014 12:19 PM

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.

ChrisSTR 09-12-2014 01:49 PM


Originally Posted by Braineack (Post 1166678)
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.

Braineack 09-12-2014 02:13 PM

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

ChrisSTR 09-12-2014 02:27 PM

Same as diy instructions on 9900 page and-

1P to Input 2 In
Input 2 Out to PE1

Braineack 09-12-2014 02:30 PM

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...

ChrisSTR 09-12-2014 03:43 PM


Originally Posted by Braineack (Post 1166729)
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.

hector 09-12-2014 04:00 PM

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.

ChrisSTR 09-12-2014 04:04 PM


Originally Posted by hector (Post 1166749)
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.

hector 09-12-2014 04:16 PM

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.

Braineack 09-12-2014 05:55 PM


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).

ChrisSTR 09-12-2014 07:08 PM

It was cut and paste from an email.


All times are GMT -4. The time now is 12:37 AM.


© 2024 MH Sub I, LLC dba Internet Brands