Using additional inputs on DIYPNP - Miata Turbo Forum - Boost cars, acquire cats.

Welcome to Miataturbo.net   Members
 


MEGAsquirt A place to collectively sort out this megasquirt gizmo

Reply
 
 
 
LinkBack Thread Tools
Old 09-12-2014, 11:21 AM   #1
Junior Member
Thread Starter
 
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   Reply With Quote
Old 09-12-2014, 11:25 AM   #2
Boost Czar
iTrader: (61)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 72,847
Total Cats: 1,788
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   Reply With Quote
Old 09-12-2014, 11:39 AM   #3
Junior Member
Thread Starter
 
Join Date: Jul 2014
Posts: 76
Total Cats: 0
Default

Quote:
Originally Posted by Braineack View Post
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   Reply With Quote
Old 09-12-2014, 01:19 PM   #4
Boost Czar
iTrader: (61)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 72,847
Total Cats: 1,788
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   Reply With Quote
Old 09-12-2014, 02:49 PM   #5
Junior Member
Thread Starter
 
Join Date: Jul 2014
Posts: 76
Total Cats: 0
Default

Quote:
Originally Posted by Braineack View Post
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   Reply With Quote
Old 09-12-2014, 03:13 PM   #6
Boost Czar
iTrader: (61)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 72,847
Total Cats: 1,788
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   Reply With Quote
Old 09-12-2014, 03:27 PM   #7
Junior Member
Thread Starter
 
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   Reply With Quote
Old 09-12-2014, 03:30 PM   #8
Boost Czar
iTrader: (61)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 72,847
Total Cats: 1,788
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.

Quote:
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   Reply With Quote
Old 09-12-2014, 04:43 PM   #9
Junior Member
Thread Starter
 
Join Date: Jul 2014
Posts: 76
Total Cats: 0
Default

Quote:
Originally Posted by Braineack View Post
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   Reply With Quote
Old 09-12-2014, 05:00 PM   #10
Senior Member
 
Join Date: Apr 2011
Location: Hollywood, FL
Posts: 524
Total Cats: 18
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   Reply With Quote
Old 09-12-2014, 05:04 PM   #11
Junior Member
Thread Starter
 
Join Date: Jul 2014
Posts: 76
Total Cats: 0
Default

Quote:
Originally Posted by hector View Post
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   Reply With Quote
Old 09-12-2014, 05:16 PM   #12
Senior Member
 
Join Date: Apr 2011
Location: Hollywood, FL
Posts: 524
Total Cats: 18
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   Reply With Quote
Old 09-12-2014, 06:55 PM   #13
Boost Czar
iTrader: (61)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 72,847
Total Cats: 1,788
Default

Quote:
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   Reply With Quote
Old 09-12-2014, 08:08 PM   #14
Junior Member
Thread Starter
 
Join Date: Jul 2014
Posts: 76
Total Cats: 0
Default

It was cut and paste from an email.
ChrisSTR is offline   Reply With Quote
 
 
Reply

Related Topics
Thread Thread Starter Forum Replies Last Post
My solution for Oiltemp and Oilpressure input into Megasuirt (MS3) Zaphod MEGAsquirt 41 01-24-2016 01:25 PM
Time to start learning and play with tuning The Gleas MEGAsquirt 3 10-01-2015 10:30 AM
Are my coils failing? viriiguy General Miata Chat 5 09-28-2015 08:39 PM
Missing/knock at idle, can someone point me in the right direction? Mikel MEGAsquirt 4 09-28-2015 05:46 PM


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -4. The time now is 09:49 PM.