Arduino GUI

Can anyone please tell what is the easiest way and software to program gui for aduino and make it communicate with the arduino code?

Processing

Processing

For GUIs? No.

C# rules for GUIs and serial communication.

You might want to try this open source GUI
http://forum.arduino.cc/index.php?topic=182442
https://github.com/selfonlypath/Arduino-ElectroShaman

The true power of this GUI:

  • there is a part which runs on Windows or Mac - this part is called the GUI
  • there is part which runs on the Arduino (Mega, DUE, ...) - and is part of the sketch
  • between the GUI and the sketch, there is USB communication (the standard one used by Arduino), and a proper protocol for exchanging data

In the Arduino sketch, you define what parameters you would like to use in teh GUI:

  • there are 12 sliders on which you can set the min, max and default values
  • in addition there are 8 checkbox controls
  • lastly there is a console text section
    Once you start your GUI, you get a default screen.
    Upon establishing the connection the Arduino (is just selecting the right serial port), the setup parameters are exchanged.
    From then onwards, you can adjust all your desired Arduino parameters LIVE from your GUI!

As an example, you can life-update the PWM frequency, or duty-cycle of any timer (you just program in the sketch what you want to get).
Same with the 8 checkbox. This acts like an on/off switch, where you can command just anything to your Arduino.
The console section, is to receive text messages from your Arduino, as you have programmed it in your sketch.
Suppose you have a system programmed with a PLL, you could send a message to the GUI telling the "PLL is locked".
Use your imagination!!

It's a very flexible thing, instead of juggling around with adjusting the parameters in your sketch, reprogram and reload, you just do it live from the GUI.

Albert

AWOL:
Processing

Processing and Firmata :smiley: