I'm tired of mowing my lawn so I designed a robot to do my work for me.

This is summer project i've been working on and it's been pretty fun

sorry the PC-board view is not quite devloped yet, nor is the arduino code it should run correctally... or at least it compiled correctally but sadly i have not had a chance to build the body yet i plan to use angle iron and weld it to the metal base of a lawnmower body then use some thing like a wheel-chair motor to drive each rear wheel so yes that would be two wheel-chair motors pne to control each rear wheel (so they can go opposite of each other to turn)then I will probbally put the free spinning wheels (the kind on the front of shopping carts) on the front of the frame and for the rear wheles I would use like wagon wheels (the kind that are rubber and inflated), I saw some at Harbor Freight. And if funds allow i may go as far as to putting a starter on my lawnmower and controoling that with the code though this would be expencive and most lawnmowers do not come with a stock starter so for now i left that part of teh code out

the code:

the arduino code is written for sevral pre-set yards so you can also make a profet of your mower if you so choose i think i built in 20 pre-set yards but if you run the code the way it is it will doo nothing you would have to first program every turn of your yard because it doesn't have any sensors besides a few buttons as bumpers so it doesn't run over anything yes this is an archaic form of travel, i know but for now that's all i've got, I hopped to one day integrate the arduino code with google earth so it was as simple as plug the robot into the computer or use rfid or blootooth or exby sheild... or you could use a web sight that is hevally dependand on google mapps so the buyer could punch in and acess code with the robot within wavelength and after acount is verrified it would search maps and do it's best to plot out the buyer's yard. if it is not sucessfull is could alaways just have the user plot it out for the robot with a click and drag technique and you would have to have the arduino code read the scale to which they are zoomed in so the robot can know for exampe one inch on the screen is equal to 30' i real life so it knows to spin bolth wheelechair motors at the same rate for 30' then make a manoveer another problem it the robot has to start in the exact same spot from which it was programed other wise if it is an inch off on start it will be an inch off throught the entire run and may end up hitting a curb or a wall or something.... unless you had an exby wifi sheild on it that could constantally sync with the computer and google earth so it's a form of GPS kind of. you could even use blotooth or any of the other devices listed above but you would have to have an advanced knowledge of not only arduino code but of html and probbally C++ as well to make it that user friendly but, oh and that idesa of starting in the exact same palce each time is a non isue if you can manage to sync it to the computer because it will know exactally where to go and if you could not do that, then you could just write in 3 ir distance sensors and put a peice of black tape on a white shed or something black to white visa versa just make sure thaere is a distinct difference between the colors so teh sensors can also pick it up as well if you are not sure how do this there are manny people deticated to help you on places like you tube or instructables you would be supprised how manny DIY videos you could find if you start with "how to make..."or just "how to..." ie "how to solder" of jermey blumb has a web sight and a full you tube account with more that 20 tutorials covering every thing to do with arduino and how to program that's where i laerned and am still learning as evience by my code + he puts a parts list on his web site where he archives all of his videos with each vi9deo he has a detailed parts list of every thing he uses and they are all lincked so you can find them and ger them easyer. any way that's probbally what you would need besides the sturr that's already there ah and one last thing the secret word is banana i mad a secret word to congragulate those people that stayed with me throught this long winded ramble. you are truely one in a million and in case you where wondering where this word applys... it dosen't.... i just wanted to jive you somethig thanks for listening by by

oh wait you still probbally want that arduino code let me get it to you

Here you go: //Library by David Mellis,Limor Fried, and Tom Igoe //Code by Jerimy Blum

/ RS: Pin 2 EN: Pin 3 D4: Pin 4 D5: Pin 5 D6: Pin 8 D7: Pin 7 /

//Include the LCD Library

include [HTML_REMOVED]

//Initialize an LCD Object LiquidCrystal lcd(2,3,4,5,8,7);

int modeB = 12; int yesB = 13; int lastButton = 0; int right = 9; int left = 10; int forward = 6; int backward = 11;

void setup() { //Begin the LCD Interface lcd.begin(16,2);

pinMode(modeB, INPUT); pinMode(yesB, INPUT); pinMode(right, OUTPUT); pinMode(left, OUTPUT); pinMode(forward, OUTPUT); pinMode(backward, OUTPUT);

}

void loop() {

//To Mow Home Yard

if (digitalRead(modeB) == HIGH && lastButton == 0) { //Print Text lcd.print(" Home Yard "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 1

else if (digitalRead(modeB) == HIGH && lastButton == 1) { //Print Text lcd.print(" Yard 1 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 2

else if (digitalRead(modeB) == HIGH && lastButton == 2) { //Print Text lcd.print(" Yard 2 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 3

else if (digitalRead(modeB) == HIGH && lastButton == 3) { //Print Text lcd.print(" Yard 3 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 4

else if (digitalRead(modeB) == HIGH && lastButton == 4) { //Print Text lcd.print(" Yard 4 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 5

else if (digitalRead(modeB) == HIGH && lastButton == 5) { //Print Text lcd.print(" Yard 5 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 6

else if (digitalRead(modeB) == HIGH && lastButton == 6) { //Print Text lcd.print(" Yard 6 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 7

else if (digitalRead(modeB) == HIGH && lastButton == 7) { //Print Text lcd.print(" Yard 7 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 8

else if (digitalRead(modeB) == HIGH && lastButton == 8) { //Print Text lcd.print(" Yard 8 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 9

else if (digitalRead(modeB) == HIGH && lastButton == 9) { //Print Text lcd.print(" Yard 9 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 10

else if (digitalRead(modeB) == HIGH && lastButton == 10) { //Print Text lcd.print(" Yard 10 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 11

else if (digitalRead(modeB) == HIGH && lastButton == 11) { //Print Text lcd.print(" Yard 11 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 12

else if (digitalRead(modeB) == HIGH && lastButton == 12) { //Print Text lcd.print(" Yard 12 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 13

else if (digitalRead(modeB) == HIGH && lastButton == 13) { //Print Text lcd.print(" Yard 13 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 14

else if (digitalRead(modeB) == HIGH && lastButton == 14) { //Print Text lcd.print(" Yard 14 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 15

else if (digitalRead(modeB) == HIGH && lastButton == 15) { //Print Text lcd.print(" Yard 15 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 16

else if (digitalRead(modeB) == HIGH && lastButton == 16) { //Print Text lcd.print(" Yard 16 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 17

else if (digitalRead(modeB) == HIGH && lastButton == 17) { //Print Text lcd.print(" Yard 17 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 18

else if (digitalRead(modeB) == HIGH && lastButton == 18) { //Print Text lcd.print(" Yard 18 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 19

else if (digitalRead(modeB) == HIGH && lastButton == 19) { //Print Text lcd.print(" Yard 19 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 20

else if (digitalRead(modeB) == HIGH && lastButton == 20) { //Print Text lcd.print(" Yard 20 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 21

else if (digitalRead(modeB) == HIGH && lastButton == 21) { //Print Text lcd.print(" Yard 21 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 22

else if (digitalRead(modeB) == HIGH && lastButton == 22) { //Print Text lcd.print(" Yard 22 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 23

else if (digitalRead(modeB) == HIGH && lastButton == 23) { //Print Text lcd.print(" Yard 23 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 24

else if (digitalRead(modeB) == HIGH && lastButton == 24) { //Print Text lcd.print(" Yard 24 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Mow Yard 25

else if (digitalRead(modeB) == HIGH && lastButton == 25) { //Print Text lcd.print(" Yard 25 "); lcd.setCursor(0,1); delay(1000); lcd.print(" Confirm ? ");

if (digitalRead(modeB) == HIGH && digitalRead(yesB) == HIGH)
{
  lcd.print(" Begin Mow Code ");
  delay(3000);
  lcd.print(" Begin 2 Minute ");
  delay(1000);
  lcd.print("                ");
  delay(117000);
  lcd.setCursor(0,0);
  lcd.print("       3!       ");
  delay(1000);
  lcd.print("       2!       ");
  delay(1000);
  lcd.print("       1!       ");
  delay(1000);
  lcd.print("       GO       ");
  delay(1000);
  lcd.print("                ");

  //Lawn code here

  lcd.print("  Job Complete  ");
  delay(60000);
  lcd.print("                ");
}

//Increase Counter
lastButton = lastButton + 1;

}

//To Restart the Order else if (digitalRead(modeB) == HIGH && lastButton == 26) { lcd.print(" "); lastButton = 0; } }