Joystick to set cursor/input values on LCD and control 2 servos

I have an idea, but i don't know if it can be done as I am a hopeless beginner... if anyone can point me in the right directions, that would be great!! Please don't laugh..

So I would like to be able to control two servos, which would rotate x times per y minutes for a total time z.

I would like to display the values x, y and z on an LCD screen which I could then change with the aid of push buttons or a joystick, before probably hitting some type of 'enter' button which would start everything off. Might also need a 'stop' button in case of mistakes. Also it would be useful to display a countdown timer on the LCD too, if I don't run out of space.. Unless you can display the countdown only after you hit 'enter' instead of the xyz values?

Both servos would be doing the same thing at the same time, so I only need to have the one set of variables on the screen.

I thought the joystick would be less complicated than a bunch of buttons, but I'm ready to be corrected.

I had a feeling that the first thing i should try and do would be to figure out how to get the joystick to set the cursor on the screen so I could alter the values, and then go from there... But not sure if it can be done like that? Can't seem to find examples of similar projects that i can refer to for help, maybe i'm searching for the wrong things because it doesn't seem like too complicated an idea in theory anyway!!

I hope this isn't too stupid a question!! Really would appreciate any help, links, advice etc... Thank you :slight_smile:

I believe I made something similar like that a good while back and I should still have the code for it, unfortunately it is on my home computer. I will be home around 6, I'll try to find it and post it.

In the mean time, what LCD do you have and what have you tried so far?

You can use the joystick if you want, all you would need to know is its range. Like if you read the X or Y axis, what value range does it return? Using that range, you can move your cursor and change the values. If your joystick has a button, you can use it to select the value you want to change.

Added:
Well I found the old post. It is similar in concept, but the hardware is different and is going through a string instead of 3 separate variables. It can be adapted, but I can't do it right now.

Link:
http://forum.arduino.cc/index.php?topic=354785.msg2451822#msg2451822

Ok so yes the code in that link is the code that I have on my computer.

I'll be happy to help you with it.