MEGAsquirt A place to collectively sort out this megasquirt gizmo

How to read an input port? For A/C control

Thread Tools
 
Search this Thread
 
Old 11-22-2011, 10:05 PM
  #1  
Junior Member
Thread Starter
 
SlowRider's Avatar
 
Join Date: Dec 2006
Location: NH
Posts: 114
Total Cats: 1
Default How to read an input port? For A/C control

How can one read an input, like NitrousIn, and actuate the AC clutch on Injector H, if the RPM < 6000? I couldn't find a way to do this.

Assume an MS3X. Is this possible?

Thanks
SlowRider is offline  
Old 11-23-2011, 11:19 AM
  #2  
y8s
2 Props,3 Dildos,& 1 Cat
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

yes, sort of.

the MS3 has an A/C idle up function.

it works like this:
1. you close a switch to ground on nitrous in
2. the idle algorithm increases the idle duty by your chosen amount
3. after your chosen delay, it activates your chosen output (inj H in your case)
4. when your switch breaks with ground, the idle duty goes back down by the above amount.
y8s is offline  
Old 11-23-2011, 12:22 PM
  #3  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
Default

The a/c shutoff conditions built into MS3 code are for a/c deactivation over X% throttle position or Y MPH VSS. It does not have an RPM based deactivation.

If you must have RPM base, instead of using the a/c function, you could set up a 2 condition generic output. Condition 1 would be the input pulled low. Condition 2 would be RPM < your threshold.
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Ben is offline  
Old 11-24-2011, 12:12 PM
  #4  
Junior Member
Thread Starter
 
SlowRider's Avatar
 
Join Date: Dec 2006
Location: NH
Posts: 114
Total Cats: 1
Default

Thanks for everyone's explanation. What I was trying to do is:

If NitrousIn = 0 and TPS < 70% WOT turn on AC clutch
If NitrousIn = 0 and TPS > 70% WOT (high load) turn off AC clutch
If NitrousIn = 1 (miata AC off) turn off AC clutch

If T > 105C (or whatever is the right value), turn on AC fan.

I wanted to avoid hard wiring the AC clutch to the AC switch. I had hard wired the AC circuit on my TEC3. I'd much rather have the AC behave as above.
SlowRider is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Full_Tilt_Boogie
Build Threads
84
04-12-2021 04:21 PM
Corky Bell
Prefabbed Turbo Kits
18
11-22-2016 09:01 PM
stoves
Suspension, Brakes, Drivetrain
5
04-21-2016 03:00 PM
russian
Miata parts for sale/trade
6
10-08-2015 03:01 PM



Quick Reply: How to read an input port? For A/C control



All times are GMT -4. The time now is 01:11 AM.