//Controles Drain plug
digitalWrite(RELAY2,LOW); // Turns ON Relays 2
//Controles Hot solenoid #1
digitalWrite(RELAY3,LOW); // Turns ON Relays 3
//Controles Cold solenoid #1
digitalWrite(RELAY5,LOW); // Turns ON Relays 5
delay(145000); // Wait 1:45 m/seconds
digitalWrite(RELAY5,HIGH); // Turns Relay Off
digitalWrite(RELAY3,HIGH); // Turns Relay Off
delay(2000); // Wait 2 seconds
lcd.begin(16,2); // columns, rows. use 16,2 for a 16x2 LCD, etc.
lcd.clear(); // start with a blank screen
lcd.setCursor(0,0); // set cursor to column 0, row 0 (the first row)
lcd.print("Rinse Cycle "); // change this text to whatever you like. keep it clean.
lcd.setCursor(0,1); // set cursor to column 0, row 1
lcd.print("Runing");
//Controles vacum pump
digitalWrite(RELAY1,LOW); // Turns ON Relays 1
delay(620000); // Wait 6:20 m/seconds
lcd.begin(16,2); // columns, rows. use 16,2 for a 16x2 LCD, etc.
lcd.clear(); // start with a blank screen
lcd.setCursor(0,0); // set cursor to column 0, row 0 (the first row)
lcd.print("Air Cycle"); // change this text to whatever you like. keep it clean.
lcd.setCursor(0,1); // set cursor to column 0, row 1
lcd.print("And Drain sequince");
digitalWrite(RELAY2,HIGH); // Turns Relay Off
delay(110000); // Wait 1:00 m/seconds
digitalWrite(RELAY1,HIGH); // Turns Relay Off
delay(5000); // Wait 5 seconds
lcd.begin(16,2); // columns, rows. use 16,2 for a 16x2 LCD, etc.
lcd.clear(); // start with a blank screen
lcd.setCursor(0,0); // set cursor to column 0, row 0 (the first row)
lcd.print("Wash Cycle "); // change this text to whatever you like. keep it clean.
lcd.setCursor(0,1); // set cursor to column 0, row 1
lcd.print("Initializing");
//Wash cycle:
lcd.begin(16,2); // columns, rows. use 16,2 for a 16x2 LCD, etc.
lcd.clear(); // start with a blank screen
lcd.setCursor(0,0); // set cursor to column 0, row 0 (the first row)
lcd.print("Wash Cycle "); // change this text to whatever you like. keep it clean.
lcd.setCursor(0,1); // set cursor to column 0, row 1
lcd.print("Initializing");
//Controles Drain plug
digitalWrite(RELAY2,LOW); // Turns ON Relays 2
//Controles Hot solenoid #2
digitalWrite(RELAY4,LOW); // Turns ON Relays 4
delay(145000); // Wait 1:45 m/seconds
digitalWrite(RELAY4,HIGH); // Turns Relay Off
delay(2000); // Wait 2 seconds
lcd.begin(16,2); // columns, rows. use 16,2 for a 16x2 LCD, etc.
lcd.clear(); // start with a blank screen
lcd.setCursor(0,0); // set cursor to column 0, row 0 (the first row)
lcd.print("Wash Cycle "); // change this text to whatever you like. keep it clean.
lcd.setCursor(0,1); // set cursor to column 0, row 1
lcd.print("Runing");
//Controles vacum pump
digitalWrite(RELAY1,LOW); // Turns ON Relays 1
delay(620000); // Wait 6:20 m/seconds
lcd.begin(16,2); // columns, rows. use 16,2 for a 16x2 LCD, etc.
lcd.clear(); // start with a blank screen
lcd.setCursor(0,0); // set cursor to column 0, row 0 (the first row)
lcd.print("Air Cycle"); // change this text to whatever you like. keep it clean.
lcd.setCursor(0,1); // set cursor to column 0, row 1
lcd.print("And Drain sequince");
digitalWrite(RELAY2,HIGH); // Turns Relay Off
delay(110000); // Wait 1:00 m/seconds
digitalWrite(RELAY1,HIGH); // Turns Relay Off
delay(5000); // Wait 5 seconds
lcd.begin(16,2); // columns, rows. use 16,2 for a 16x2 LCD, etc.
lcd.clear(); // start with a blank screen
lcd.setCursor(0,0); // set cursor to column 0, row 0 (the first row)
lcd.print("Acid Cycle "); // change this text to whatever you like. keep it clean.
lcd.setCursor(0,1); // set cursor to column 0, row 1
lcd.print("Initializing");
//Acid cycle:
lcd.begin(16,2); // columns, rows. use 16,2 for a 16x2 LCD, etc.
lcd.clear(); // start with a blank screen
lcd.setCursor(0,0); // set cursor to column 0, row 0 (the first row)
lcd.print("Wash Cycle "); // change this text to whatever you like. keep it clean.
lcd.setCursor(0,1); // set cursor to column 0, row 1
lcd.print("Initializing");
//Controles Drain plug
digitalWrite(RELAY2,LOW); // Turns ON Relays 2
//Controles Cold solenoid #2
digitalWrite(RELAY6,LOW); // Turns ON Relays 6
delay(145000); // Wait 1:45 m/seconds
digitalWrite(RELAY6,HIGH); // Turns Relay Off
delay(2000); // Wait 2 seconds
lcd.begin(16,2); // columns, rows. use 16,2 for a 16x2 LCD, etc.
lcd.clear(); // start with a blank screen
lcd.setCursor(0,0); // set cursor to column 0, row 0 (the first row)
lcd.print("Acid Cycle "); // change this text to whatever you like. keep it clean.
lcd.setCursor(0,1); // set cursor to column 0, row 1
lcd.print("Runing");
//Controles vacum pump
digitalWrite(RELAY1,LOW); // Turns ON Relays 1
delay(620000); // Wait 6:20 m/seconds
lcd.begin(16,2); // columns, rows. use 16,2 for a 16x2 LCD, etc.
lcd.clear(); // start with a blank screen
lcd.setCursor(0,0); // set cursor to column 0, row 0 (the first row)
lcd.print("Air Cycle"); // change this text to whatever you like. keep it clean.
lcd.setCursor(0,1); // set cursor to column 0, row 1
lcd.print("And Drain sequince");
digitalWrite(RELAY2,HIGH); // Turns Relay Off
delay(110000); // Wait 1:00 m/seconds
digitalWrite(RELAY1,HIGH); // Turns Relay Off
lcd.begin(16,2); // columns, rows. use 16,2 for a 16x2 LCD, etc.
lcd.clear(); // start with a blank screen
lcd.setCursor(0,0); // set cursor to column 0, row 0 (the first row)
lcd.print("Cycle"); // change this text to whatever you like. keep it clean.
lcd.setCursor(0,1); // set cursor to column 0, row 1
lcd.print("Has Fineshed");
}}
sorry for the complicated posting, it wouldn't let me post all this at once.