Prostar ac
06-30-2019, (Subject: Prostar ac ) 
Post: #101
RE: Prostar ac
Changed the arduino set up on my truck. Put a capillary tube thermostat on the evaporator.
thermostat
Also added a setpoint controller for the evaporator while everything was opened up. It could be used instead of the thermostat and is field adjustable. Right now it's a handy temp probe for the evaporator and controls nothing.
Setpoint Controller
side note found the thermistors on amazon for about $12ea but not going that route today.
Calibrated the thermostat in an alcohol ice bath.
Then rewrote the arduino to simulate a trinary switch. Couldn't find the right trinary. Found a binary for the low/high safety but would have had to add a separate switch for the fan. Spent too much time trying to find the parts to add another switch port to the high side so...

/*
DosGatos trinary switch emulator
pressure transducer psi reference voltages taken with gauges attached
45 - 0.67
150 - 1.55
325 - 3.10
360 - 3.40
NOTE: Evaporator temp is monitored by separate capillary tube thermostat wired in series with compressor relay
*/

void setup()
{
//Setup IO pins...
pinMode(A0, INPUT); //pressure transducer
pinMode(8, OUTPUT); //compressor
pinMode(9, OUTPUT); //fan clutch
pinMode(2, OUTPUT); //error led
//set initial state.
digitalWrite(8, HIGH);
digitalWrite(9, HIGH);
digitalWrite(2, LOW);
delay (3000);
}

void loop(){
delay(2000);
int sensorValue = analogRead(A0);
float volt = sensorValue * (5.0 / 1024.0);
if (volt < 0.67) {digitalWrite(2, HIGH);//system low pressure, illuminate error light (led)
for(;;){};//infinite loop of nothingness
}
if (volt > 0.67 && volt < 3.40) digitalWrite(8, LOW);// pressure in range, run compressor
if (volt > 3.30) digitalWrite(8, HIGH);//system pressure too high, shut off compressor
if (volt > 3.10) digitalWrite(9, LOW);//run fan to cool condenser
if (volt < 1.60) digitalWrite(9, HIGH);//condenser cooled, turn off fan
/* the volt values need to be adjusted after seeing the system run with gauges and temp probes to get the right response. */
}

No schematic offered.
Ran the system with gauges and a temp probe in the vent. Compressor shuts off when the evaporator gets cold, fan runs as needed to cool down the condenser. Most of the time the evaporator temp shuts off the compressor before the fan threshold. 85 degree day and vent air is 48-50.
As good as it ever got with the factory controls.

./uploads/201907/post_3119_1561949953_6a6736698c88b72839858e5dcf2a705a.jpg
./uploads/201907/post_3119_1561950397_ecc34c54a8b9276da609ef053d741f47.jpg
./uploads/201907/post_3119_1561950609_66918b56736d12f2426d5773b7f84930.jpg
./uploads/201907/post_3119_1561950762_0219286a5c811bb0617c5f49ec6ab68c.jpg


User's Signature: 2011 Prostar Cummins 871
replyreply
 Thanks given by: Waterloo , fargonaz , PuroCumminsPower


Messages In This Thread
Prostar ac - Rvest - 05-29-2017,
RE: Prostar ac - smorgan87 - 05-29-2017,
RE: Prostar ac - Rvest - 05-29-2017,
RE: Prostar ac - Rawze - 05-29-2017,
RE: Prostar ac - avalongar - 07-03-2019,
RE: Prostar ac - Rawze - 07-03-2019,
RE: Prostar ac - Bdodson410 - 08-17-2020,
RE: Prostar ac - smorgan87 - 01-17-2021,
RE: Prostar ac - Waterloo - 05-30-2017,
RE: Prostar ac - RTRUCKING48 - 05-30-2017,
RE: Prostar ac - Waterloo - 05-30-2017,
RE: Prostar ac - JMBT - 05-30-2017,
RE: Prostar ac - Rawze - 10-01-2017,
RE: Prostar ac - smorgan87 - 05-31-2017,
RE: Prostar ac - smorgan87 - 05-31-2017,
RE: Prostar ac - Nilao - 06-20-2017,
RE: Prostar ac - Rawze - 06-21-2017,
RE: Prostar ac - smorgan87 - 06-21-2017,
RE: Prostar ac - Rawze - 06-21-2017,
RE: Prostar ac - snailexpress - 06-21-2017,
RE: Prostar ac - Rawze - 06-21-2017,
RE: Prostar ac - smorgan87 - 06-21-2017,
RE: Prostar ac - Nilao - 06-28-2017,
RE: Prostar ac - Rawze - 06-28-2017,
RE: Prostar ac - Nilao - 06-29-2017,
RE: Prostar ac - Rawze - 06-29-2017,
RE: Prostar ac - Nilao - 06-29-2017,
RE: Prostar ac - Nilao - 07-03-2017,
RE: Prostar ac - Rawze - 09-29-2017,
RE: Prostar ac - Waterloo - 09-30-2017,
RE: Prostar ac - Nilao - 11-19-2017,
RE: Prostar ac - Rawze - 11-19-2017,
RE: Prostar ac - Nilao - 11-24-2017,
RE: Prostar ac - Rawze - 11-24-2017,
RE: Prostar ac - Nilao - 11-24-2017,
RE: Prostar ac - Rawze - 11-24-2017,
RE: Prostar ac - Nilao - 12-01-2017,
RE: Prostar ac - Rawze - 12-02-2017,
RE: Prostar ac - Nilao - 12-02-2017,
RE: Prostar ac - Nilao - 03-03-2018,
RE: Prostar ac - Rawze - 03-03-2018,
RE: Prostar ac - 74bassman - 06-13-2018,
RE: Prostar ac - Rawze - 06-13-2018,
RE: Prostar ac - 74bassman - 06-13-2018,
RE: Prostar ac - Waterloo - 06-14-2018,
RE: Prostar ac - Nilao - 06-14-2018,
RE: Prostar ac - snailexpress - 06-14-2018,
RE: Prostar ac - Nilao - 06-14-2018,
RE: Prostar ac - 74bassman - 06-14-2018,
RE: Prostar ac - johnnydngrs - 06-14-2018,
RE: Prostar ac - Waterloo - 06-15-2018,
RE: Prostar ac - Waterloo - 06-15-2018,
RE: Prostar ac - 74bassman - 06-15-2018,
RE: Prostar ac - Waterloo - 06-15-2018,
RE: Prostar ac - 74bassman - 06-15-2018,
RE: Prostar ac - kmk - 06-15-2018,
RE: Prostar ac - Waterloo - 06-16-2018,
RE: Prostar ac - Chamberpains - 06-16-2018,
RE: Prostar ac - 74bassman - 06-16-2018,
RE: Prostar ac - 74bassman - 06-22-2018,
RE: Prostar ac - Chamberpains - 06-22-2018,
RE: Prostar ac - 74bassman - 06-22-2018,
RE: Prostar ac - Nilao - 06-23-2018,
RE: Prostar ac - 74bassman - 06-23-2018,
RE: Prostar ac - 74bassman - 06-24-2018,
RE: Prostar ac - smorgan87 - 06-25-2018,
RE: Prostar ac - 74bassman - 06-25-2018,
RE: Prostar ac - 74bassman - 06-26-2018,
RE: Prostar ac - Nilao - 06-26-2018,
RE: Prostar ac - Rawze - 06-27-2018,
RE: Prostar ac - 74bassman - 06-27-2018,
RE: Prostar ac - 74bassman - 06-27-2018,
RE: Prostar ac - INTERPRO - 08-29-2018,
RE: Prostar ac - Rawze - 08-29-2018,
RE: Prostar ac - INTERPRO - 08-30-2018,
RE: Prostar ac - Rawze - 08-30-2018,
RE: Prostar ac - INTERPRO - 09-08-2018,
RE: Prostar ac - Nilao - 09-08-2018,
RE: Prostar ac - INTERPRO - 09-09-2018,
RE: Prostar ac - Evotrucker - 09-08-2018,
RE: Prostar ac - INTERPRO - 09-09-2018,
RE: Prostar ac - Nilao - 09-09-2018,
RE: Prostar ac - Sergiu - 09-23-2018,
RE: Prostar ac - Rawze - 09-24-2018,
RE: Prostar ac - smorgan87 - 09-23-2018,
RE: Prostar ac - DosGatos - 11-05-2018,
RE: Prostar ac - Rawze - 11-06-2018,
RE: Prostar ac - DosGatos - 11-08-2018,
RE: Prostar ac - Rawze - 11-08-2018,
RE: Prostar ac - DosGatos - 11-08-2018,
RE: Prostar ac - Rawze - 11-09-2018,
RE: Prostar ac - rapidisimo - 11-28-2018,
RE: Prostar ac - Rawze - 11-28-2018,
RE: Prostar ac - rapidisimo - 11-28-2018,
RE: Prostar ac - Rawze - 11-29-2018,
RE: Prostar ac - jmiles3830 - 03-14-2019,
RE: Prostar ac - Rawze - 03-15-2019,
RE: Prostar ac - jmiles3830 - 03-15-2019,
RE: Prostar ac - Waterloo - 03-15-2019,
RE: Prostar ac - DVT873 - 03-17-2019,
RE: Prostar ac - DVT873 - 05-16-2019,
RE: Prostar ac - jmiles3830 - 05-21-2019,
RE: Prostar ac - Daytripper - 06-12-2019,
RE: Prostar ac - Nilao - 06-12-2019,
RE: Prostar ac - WillRod - 03-11-2020,
RE: Prostar ac - DosGatos - 06-30-2019
RE: Prostar ac - 74bassman - 07-20-2019,
RE: Prostar ac - avalongar - 07-25-2019,
RE: Prostar ac - Sergiu - 07-15-2020,
RE: Prostar ac - Rawze - 08-18-2020,
RE: Prostar ac - 74bassman - 09-06-2020,
RE: Prostar ac - Rawze - 09-06-2020,
RE: Prostar ac - Chamberpains - 09-07-2020,
RE: Prostar ac - Sergiu - 01-16-2021,
RE: Prostar ac - Chamberpains - 01-16-2021,
RE: Prostar ac - Sergiu - 01-16-2021,
RE: Prostar ac - Chamberpains - 01-16-2021,
RE: Prostar ac - Rawze - 01-16-2021,



NOTE: Rawze.com is not affiliated, nor endorses any of the google ads that are displayed on this website.