Notices
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 Nov 22, 2011 | 10:05 PM
  #1  
SlowRider's Avatar
Thread Starter
Junior Member
 
Joined: Dec 2006
Posts: 114
Total Cats: 1
From: NH
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
Old Nov 23, 2011 | 11:19 AM
  #2  
y8s's Avatar
y8s
DEI liberal femininity
iTrader: (8)
 
Joined: Jun 2005
Posts: 19,338
Total Cats: 574
From: Fake Virginia
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.
Old Nov 23, 2011 | 12:22 PM
  #3  
Ben's Avatar
Ben
Supporting Vendor
iTrader: (33)
 
Joined: Jul 2006
Posts: 12,659
Total Cats: 134
From: atlanta-ish
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.
Old Nov 24, 2011 | 12:12 PM
  #4  
SlowRider's Avatar
Thread Starter
Junior Member
 
Joined: Dec 2006
Posts: 114
Total Cats: 1
From: NH
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.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Full_Tilt_Boogie
Build Threads
84
Apr 12, 2021 04:21 PM
Zaphod
MEGAsquirt
47
Oct 26, 2018 11:00 PM
Corky Bell
Prefabbed Turbo Kits
18
Nov 22, 2016 09:01 PM
stoves
Suspension, Brakes, Drivetrain
5
Apr 21, 2016 03:00 PM
russian
Miata parts for sale/trade
6
Oct 8, 2015 03:01 PM




All times are GMT -4. The time now is 02:06 AM.