Adding 16x2 LCD to DIY Centrifuge!!! Please Help

Hey guys,

I made a DIY Centrifuge from this instructable : http://www.instructables.com/id/3D-Printed-DIYbio-Mini-Centrifuge

However I would like to run this script for a set amount of time !!

I’d like to add an lcd display and two buttons (or a potentiometer) using which i can instruct the arduino to run for a set amount of time.( using buttons/potentiometer to increase or decrease time in multiples of 10mins )

While I’m at it, it would be really cool to display the speed setting on the LCD. (percentage or graph) using serial input from the potentiometer controlling the motor.

Please note that I’ve never used or programmed arduino in my life until now…So please be patient with me

Code:

#include <Servo.h>

Servo myservo;

int potpin = A0; // analog pin used to connect the potentiometer
int val; // variable to read the value from the analog pin

int listo = 13;

void setup() {
pinMode(listo, OUTPUT); digitalWrite(listo, LOW);

myservo.attach(9); //pin de control al ESC

arm(); // Función para armar el esc

}

void loop() {
digitalWrite(listo, HIGH); //Sierra preparada LED intermitente

delay(200);

digitalWrite(listo, LOW);

delay(200);

// reads the value of the potent. (value between 0 and 1023)

val = analogRead(potpin);

// scale it to use it with motor. Limitado a 100.

val = map(val, 0, 1023, 55, 140);

myservo.write(val);

}

void arm() { //Función de armado
myservo.write(0);

delay(1000);

myservo.write(30);

delay(3000);

}

----------END--------

Please see circuit diagram attached or here : https://cdn.instructables.com/FKA/S6LH/INKJMJ0V/FKAS6LHINKJMJ0V.LARGE.jpg

I'm no expert but a RTC would be something to look at http://www.ebay.com/sch/i.html?_from=R40&_trksid=p2386202.m570.l1313.TR9.TRC2.A0.H0.Xds3231.TRS0&_nkw=ds3231&_sacat=0

also why not try a remote to control it http://www.ebay.com/bhp/arduino-remote-control

good luck...