7. Interface PC software for Arduino PID control

Aplicación de Interfaz para Arduino desde PC.

These are the files (executable and Processing source) of the PC application to communicate with the Arduino board through USB. The file should be uncompressed maintaining the directories. Java runtime is needed to work. The application searches for the USB ports and assumes that the highest corresponds to the Arduino board.

The application has been developed in the processing environment (http://www.processing.org/), and can be easily changed using the source code to adapt it to specific needs.

The application, that is given in the form of executable file, allows to configure the board to perform experiments in open loop or in closed loop (with relay), or to implement a PID controller, allows to visualize the signals and to save in file both the input-output data, and the PID controller parameters. The recording of data in file is started by pressing a button. It also allows to read a file with the parameters of a PID controller designed with another of the tools that conform the developed system. The file formats are compatible with these tools, which contributes to form a complete development system.

Aplicación de Interfaz para Arduino desde PC.

Estos son los ficheros (el ejecutable y el fuente de Processing) de la aplicación de interfaz para el PC para interactuar con la tarjeta Arduino a través del USB. Para poder ejecutarla se debe descomprimir manteniendo la estructura de directorios. Además, es necesario tener instalado el runtime de Java.

La aplicación busca los puertos USB disponibles, y asume que el COM más alto es el que corresponde a la tarjeta Arduino.

La aplicación ha sido desarrollada en el entorno Processing (http://www.processing.org/), y puede cambiarse fácilmente a partir del código fuente para adaptarla a necesidades específicas.

La aplicación que se incluye en forma de fichero ejecutable permite configurar la tarjeta para realizar experimentos en bucle abierto o en bucle cerrado (con relé), o implementar un controlador PID, permite visualizar las señales y guardar en fichero tanto los datos de entrada salida, como los parámetros del controlador PID. La grabación de datos en fichero se inicia y se para pulsando un botón. También permite leer un fichero con los parámetros de un controlador PID diseñado con otra de las herramientas que se describirán en la sección siguiente. Los formatos de los ficheros son compatibles con esas herramientas, lo que contribuye a formar un sistema de desarrollo completo...