Industrial GUI for Arduino

Hi all

There are several ways to connect with Arduino over a GUI running on Smartphone, Tablet or even over a TFT Display (Nextion and Co..). I would like the way with Smartphone but after reading about App Inventor 2 (google) or Xcode (iOS) I see i would have to implement two or more different GUI applications for being independent.

Does anybody have an idea of how to easy implement a nice GUI (industrial design) running on Smartphone (iOS and Android) and able to connect with Arduino (Bluetooth, Wi-Fi, Serial)

Regards, Mark

The process of communication with an Arduino is essentially independent of the GUI that may be providing the user interface. And programming GUIs on smartphones (or anywhere else) is really outside the scope of this Forum.

For example a Bluetooth connection between a phone and an Arduino appears to the Arduino as a serial connection. It does not know or care what is at the other end of the Bluetooth link.

...R
Serial Input Basics

Well I'm talking about a web server or something similar running on the arduino. But I don't either how to crate a nice GUI nor i know if the arduino has enough power.

MArk

Hi, I don't know if this is relevant, but I have made guis for several arduino projects using processing.

If you haven't heared of it, it's created by the same people as arduino, and thus interfaces nicely with the arduino (although its a java based language). It's pretty easy to learn.

There are alot of really nice GUI libraries that let you load in buttons, drop down menus etc, as well as support for serial communication.

The projects I have done in the past are using processing to write a PC gui for controlling an arduino based RC type car, and also using processing to make android and IOS apps to receive voltage levels from an analogue input on the arduino (processing has compilers for windows, mac, android and IOS, so you can write the same code (with some tweaks) and compile it for whatever).

Sadly, when I did these things, I didnt use Git or any type of versioning and the code is long gone, but its definitely possible!

Processing GUI library I used:

Some handy info on writing for modile:
http://blog.blprnt.com/blog/blprnt/processing-android-mobile-app-development-made-very-easy

Good luck!

1 Like

Anguss:
Hi, I don't know if this is relevant, but I have made guis for several arduino projects using processing.

But Processing runs on a PC, not on an Arduino.

My guess is that it will be difficult to fit anything more than a rudimentary GUI on an Arduino. And AFAIK it can't / doesn't have the power to act as a server for many clients at the same time.

Why not develop the server on a PC or on a web-hosting service and get the Arduino to act as a client and send data to it or take data from it.

...R

But Processing runs on a PC, not on an Arduino... Why not develop the server on a PC or on a web-hosting service and get the Arduino to act as a client and send data to it or take data from it.

This is what I meant sorry, your standard arduino uno or mega is not gonig to be running the gui iteslf - however if you want to "talk" to the arduino through a gui on PC or mobile then you can use processing.

If you really want to run a gui on the board I would suggest looking into using a Raspberry Pi or arduino YUN. You can easily set up servers/ databases/ web apps on a Pi, I'm not sure about Yun, but i think it runs linux kernal (trying to keep this arduino related).

if you have a Pi here is a guide to setting up owncloud (an open source drop box), basic web page, SQL data base and mail client from your Pi:

1 Like

Use a smartphone with laptop equivalent processor as a front end for what?

The Mega2560 ADK was made to connect to Android phones. It has an API.