Home
Assignments
About me
Final project
Week 16 - Interface and application programming


Write an application that interfaces with an input or output device that you made.

For this assignment use again the FABDUINO to control RGB LED lights with a temperature sensor PT100, this sensor is used by industries to register high temperatures, the objective of the RGB LED is indicate which temperature ranges is the temperature sensor PT100, almost cold blue, (temperatures less than 30 °c), green; medium temperatures (greater than 30 °c and less than 60 °c), and finally red which are high temperatures (over 60 °c).

Final Design of FABDUINO

To achieve this I need to use the FABDUINO serial communication and for this I use the command "Serial.begin (9600)" this allows me to use the port serial FABDUINO with a speed of 9600 bps

Sensor of temperature PT-100

This sensor has within it an RTD, which is a resistance that varies with respect to the heat to which it is exposed.

PROGRAMMING ARDUINO

This programming allows converting data from the temperature. The voltage to temperature sensor and include conditions that turn on each of the colors in different ranges.

PROGRAMMING ARDUINO

The problem I had was in the part of scaling I made several tests and could not have a temperature lower than 10% error for each 30 ° c, then with the help of a pyrometer used to compare temperatures could give a reason for change more accurate to less than 5% for each 30 ° C

Now we have got the data on the serial port, and we need the interface. So I designed an aplication on Processing.

It shows the temperature and colors a rectangle depending on the temperature value. Below 30, blue. Between 30 and 60, green, and over 60, red.