Arduino: Riciclare sensori – Resoconto attività 1 Luglio 2014

Scritto da Alessandra De Rosa on . Postato in Formazione, Prodotti, Progetto Leonardo da Vinci, Servizi

Today July 1st 2014, we’ve been trying to fix the yesterday’s problem, which included the relay. To be more specific, there was missing a 5V  connection, however we managed to get it right.

After fixing the problem, we drew the sketch of the project, as we always do in the end of a project.

Then, we unassembled a computer power source and removed all the temperature sensors to use later.

We tested them out by comparing with the ones we already had working right, to see if they worked correctly.

 

Alexandre Leitao

Gonçalo Neto

Arduino: Sensori di luce e Led – Resoconto attività 30 Giugno 2014

Scritto da Alessandra De Rosa on . Postato in Formazione, Prodotti, Progetto Leonardo da Vinci, Servizi

Today June 30th  2014, we focused on getting the temperature and the light on the LCD.

The temperature was already done, so we worked more on getting the status of the light. If there was no light, it would appear on the screen “Light: OFF” and the led would also turn off. Otherwise, in case of light it would appear on the screen “Light: ON” and the led would turn on.

We managed to finish it, however we had some problems like the Rele, which didn’t work properly.

 

Alexandre Leitao

Gonçalo Neto

Arduino: Led, potenziometro e Display LCD – Resoconto attività 27 Giugno 2014

Scritto da Alessandra De Rosa on . Postato in Formazione, Prodotti, Progetto Leonardo da Vinci, Servizi

This project consists of using a LCD to display the temperature on the screen (LCD). We used a sensor, leds and potenciometro.

We started by adding the library which was needed to make it work, called “LiquidCrystal”. After that, we declared the ports we were going to use for the LCD (LiquidCrystal lcd(12, 11, 5, 4, 3, 2)).

We created a variable float vrif= 1.1 that represents the tension used by the sensor and a variable called “val” which reads the analogic port.

To calculate the temperature we calculated its average using: TempAverage += (95.0 * vrif * val) / 1024.0. The number 95.0 represents the constant and 1024.0 represents the number of different signals the sensor can get.

To distinguish from the different temperatures we used 3 leds with different colors. Blue is when the temperature is below 25°C, green is when the temperature is between 25°C and 27°C and the red one is when it is above 27°C.

To display it on the LCD we had to use different functions from the LiquidCrystal library. To choose the position to display the text we used lcd.setCursor(0,0); (0 column and 0 line). Then we used lcd.print(“Temperature:”);  and  lcd.print(TempAverage); to display it on the screen.

 

Alexandre Leitao

Gonçalo Neto

Arduino: Led e sensori di temperatura – Resoconto attività 26 Giugno 2014

Scritto da Alessandra De Rosa on . Postato in Formazione, Prodotti, Progetto Leonardo da Vinci, Servizi

Today we started by trying to fix last project’s problem, which couldn’t get the temperature correctly. After that, we managed to solve it.

We started a new project where we used a display screen to show the temperature read by the old project.

We built the connections to the display and to the potentiometro and we wrote the code to make it work.

There was a problem where we couldn’t see the text on the display screen.

 

Alexandre Leitao

Gonçalo Neto

Arduino: Led e potenziometro – Resoconto attività 25 Giugno 2014

Scritto da Alessandra De Rosa on . Postato in Formazione, Prodotti, Progetto Leonardo da Vinci, Servizi

The first thing we did today was learning the schematic already done by our tutor.

After that we saw the code written to make it work.

We tried to recreate the same scenario, without the display screen.

We did the schematic for our attempt  and we created it using leds, sensors and the board.

We had a problem with the temperature sensors, where the wiring had not been done correctly and it got too hot, so we tried to solve it, by checking all the connections and the resistances positions.

We finished our day with a project that simulated the old one by using a potentiometric to input the values that the sensors would give,  the logic and the functionality worked properly.

 

Alexandre Leitao

Gonçalo Neto

Google+