Gui advice

Hello everyone, i have just a small question to ask, i need some opinions.

I am needing to do a GUI application for an arduino app, this app will be interacting with an arduino and possibly with a database.

what would be the best platform in which to do this? i thought into processing or java but idk if someone has a different opinion or even help me choose from those to with some pros and cons..

Thanks.

What language you know on PC ? Java, C, Basic ? S.O. Windows, Linux, Mac?

well, i want to be cross platform, that's why i thought on those 2, i know java, a bit of c++ and i know arduino which is the same as the processing, so i thought it wouldn't be that difficult to learn.

In Processing you program in Java, Arduino in C/C++
In Processing you don't have a GUI designer like Visual Studio.
You can use in Processing some libraries that facilitate the GUI design like controlP5 or G4P.

This g4p have also a simple GUI designer

processing is programmed in multiple languages?? i didn't know that

You might use a web page setup.

What do you mean by a webpage setup? and why would that be good?

Using the yun it would be simple to set up a web driven interface using REST, there's one set up out of the box for you to play with.

If not yun how are you interfacing with the arduino?

My preference would be java for simplicity and portability. Netbeans will give you a GUI builder but it throws code all over the place, a much cleaner and more elegant solution is Groovy swingbuilder - http://groovy.codehaus.org/Swing+Builder

sorry for my ignorance, what is yun??

did some research, never heard of yun before, im interacting with the arduino via com port

If your GUI is going to be on a PC and if you want to be easily able to copy it to and run it on other PC's (including Mac, Linux and Windows) write it in a language that sits on the JVM. Personally I use JRuby.

However if you transfer/copy your GUI program to another PC that PC will also need to have an Arduino attached to it that has the correct script uploaded to it.

...R

processing is programmed in multiple languages?? i didn't know that

No. You apparently misread the previous post.

I believe that in order to create a GUI you first need to be controlling the Arduino without it, this seems to be a cart before the horse approach to me.

Create your commands, make sure they work (I assume parsing chars over serial is what you have in mind). THEN look at the GUI, the way you code the commands will probably influence your choice in tools.

If you want something quick and easy give Griffon a try - http://griffon.codehaus.org/

my arduino is working 100% already, and yes the commands work as they should, that's why im asking this.

I'm looking for something similar. I don't know any C/Java, etc. All i want is a simple GUI that will read three temps sensors and a flow meter and plot the outputs on a graph. I've got the code working already and it's saving the data to an SD as a CSV file but I want something easier to use. Thoughts?

You could use a display in a web page similar to the below gauge setup.

Take a look at Processing to display your data. You obviously know some C already if you are programming the Arduino.

If using a web based approach is an option, maybe the following is food for thinking.
For graphing have you looked at 'Highcharts'? http://www.highcharts.com/

I'm working on a new style gauge at the moment which I'm aiming for useability and function before looking like a traditional gauges and without all the extra glossyness which will only bog down mobile devices which is where I'm heading as well. It is still a little way off from being finished but below is a screen grab from my home server as it stands now.

The link in my signature will show other gauges I currently use together with graphing.
It's all done in javascript and an extensive demo of the those style guages can be found at http://dl.dropboxusercontent.com/u/84552/SteelSeries/SteelSeries.html made by this clever person harmoniccode.blogspot


Paul

I presume you want the GUI to be on your PC. What sort of PC have you and what programming language are you familiar with?

That will probably work fine.

...R