Go Down

Topic: Beginner needing help with building a menu for standalone system (Read 1 time) previous topic - next topic

RMPictures

I'm a newb...I openly admit that.  I'm hoping you guys will be kind enough to offer me some guidance on building a menu system for a camera slider.

Hardware:
Arduino Uno V3
ArduMoto V2 shield (http://www.jayconsystems.com/product_detail.php?prod_id=114)
Adafruit RGB LCD Shield kit (http://www.adafruit.com/products/714)
Two - 12VDC Precision Gear Motors

Highlights I want to build into the menu:  (I'll have a standard power switch to power on the unit.)
1.  When power is switched on, LCD displays my company name for 3 seconds.
2.  Prompt to choose drive mode ("Move-Shoot-Move" or "Continuous")
   submenu.  Move-Shoot-Move
      #1 sub-submenu.  Select speed of motors
                                sub-sub-submenu. 0% to 100%
      #2 sub-submenu.  Length of time to power motors for each "Move" sequence
                                sub-sub-submenu. time in milliseconds
   submenu.  Continuous
      #1 sub-submenu.  Speed of motors (0% to 100%)
3.  Direction (Left or Right)
4.  Start/Stop toggle
5.  Once the slider is moving, I want to be able to use left and right buttons for direction and up and down buttons for speed

I have no idea how to begin with this.  I understand that I need to combine all the sketches into one sketch, but I truly do not know how to begin.  Can someone help me get started?

Arrch


I have no idea how to begin with this.  I understand that I need to combine all the sketches into one sketch, but I truly do not know how to begin.  Can someone help me get started?

Start with example sketches for all of the hardware. Get it all working individually and make sure you understand what it's doing and how it's doing it. Then start small, saying getting #1 to work. You can then build up from that little by little.

Docedison

That works for me and is a Major teaching tool as well. The books are great But I need more. Getting a sketch to return good information from a GPS receiver and getting a sketch to work on a Color Graphic Display is better But when you can put them together and display the GPS on the display is in my mind progress and a whole lot more fun too. Hardware is real easy for me, I have been doing it on many different types of platforms and devices for nearly 50 years... Retired now and having the time of my life learning what I want to learn, when I want to learn it. I get a retirement check from the Government every month and about 20% goes to "Goodies" for my three Arduino's. My birthday is today and I got a 3.2" 4D Systems SGC display and two of those clear breadboards as well as that Uno extender cable and shield/breadboard header thing that Liudr sells with a couple of extra breadboard headers. I guess I really made out well, best in a lot of years
Liudr also sells a PHI panel that has a 2X16 or 4X20 LCD and keypad and comes with a customize - able menu sketch. The sketch is free licence and the panel complete is under $30.00 US. I found him by poking around for Arduino stuff one day on Ebay, Dipmicro was selling his stuff...

Doc
--> WA7EMS <--
"The solution of every problem is another problem." -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

RMPictures


Start with example sketches for all of the hardware. Get it all working individually and make sure you understand what it's doing and how it's doing it. Then start small, saying getting #1 to work. You can then build up from that little by little.

That's just it.  The examples seem so irrelevant to what I want to do, starting that way is just as confusing.  I've watched some of Jeremy Blum's tutorials on youtube, but again, they are not applicable to what I'm aiming for.

Do I start with the LCD?  Do I start with Arduomoto?  Does it even matter?

Arrch

Quote
The examples seem so irrelevant to what I want to do, starting that way is just as confusing.


I fail to see how learning to control the motor, learning to write stuff to an LCD,and learning to accept inputs from buttons is irrelevant to what you are trying to do.

Quote
I understand that I need to combine all the sketches into one sketch

Statements like this really concern me, as it usually means you have a bunch of examples working and just want to throw it all into one sketch tweaking a few things along the way. This is a terrible way to start a project and will always lead to more headaches than necessary.

You've already broke it down nicely into a handful of steps, so start by getting your company logo to display for 3 seconds and go from there. You can probable get the menu's working first without touching the motors.

Go Up