Dear All,
I have created an Arduino Dashboard that communicates with the arduino via the serial port. It takes design command from the arduino to display controls in the main window like button, combobox, checkbox, slider and graph. It also allows the plotting of values of a single source or all analog ports (6 for now). The source is written in Visual Basic and I am working on a Linux Port. Here some pictures, the source, the exe and a demo sketch can be found on my arduino pagehttp://www.mathias-wilhelm.de/arduino:
Pity that it shows an UNO board when I am using a Mega2560
More seriously, in the example sketch. the port dropdown shows A0 to A5, three times. Itrs not clear why; also, while ports with something connected are read corectly, ports with nothing connected display a sine wave. It would be nice to see what the random noise on an unconnected port looks like.
ok - the picture is a challenge ... will introduce a version query that includes the board and amend the picture 8)
I will check the port read - bad news: From the reference of the analogRead() function:
Note
If the analog input pin is not connected to anything, the value returned by analogRead() will fluctuate based on a number of factors (e.g. the values of the other analog inputs, how close your hand is to the board, etc.).
If you get near an unconnected analog pin with your finger you will see your quality as an antenna
With respect to the triple set of dropdowns I have to change the code to accept a reset of the dropdown entries.