The activity of this week is for interfacing an input device, in my case will use the temperature sensor, which variation of the temperature of the medium will be reflected on a screen.
Developed steps are:
STEP 1: DOWNLOAD AND MANAGEMENT OF PROCESSING
I support this part of the next page that I show below:
There, download the application and install it on my computer, remember that there are several versions for different operating systems. I chose the option for the operating system Linux, which work:
On page mentioned there resolved and tutorials that you can follow examples. This part takes good time to practice with the application.
To run the terminal opens and the application is running.
STEP 2: DEVELOPMENT PROGRAM
The idea of the program is that bars give an indication of temperature change experienced by the sensor temperature is displayed. When the temperature increases the drawn lines should be increased in size, and when the temperature drops, the lines must reduce its size.
STEP 3: TESTING THE APPLICATION
• With the " FTDI " wire connect one end to the temperature sensor, and the other end to the USB port, see the picture below.
• Run from the terminal application Processing. This is necessary to place the USB port assigned to my case use the "32".
• When opening the application it displays a window in which the application is.
To see how the program displays the following video.