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..
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.
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
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.
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.
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?
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.