==== PROGETTO ====

== Materiale utilizzato ==

- Sensore di temperatura LM35
- Modulo RTC DS1302
- Cella FlashMat
- Arduino Uno
- Due pulsanti
- Collegamenti come da schema allegato

== Obiettivi ==

Realizzare un sistema che mostri alternativamente l'orario (da RTC) e la temperatura (da sensore LM35) e che permetta di impostare l'orario mediante la pressione dei due pulsanti.

== Funzionamento per l'utente ==

Senza alcun intervento, il sistema mostra in alternanza orario e temperatura.
Con la pressione contemporanea dei due pulsanti per un secondo si entra in modalit di configurazione dell'orario. Il sistema fa lampeggiare la parte di orario (ore oppure minuti) che si sta modificando in quel momento. Con i due pulsanti si pu incrementare, decrementare oppure (con la pressione simultanea) terminare la configurazione corrente.

== Funzionamento del software ==

Il software  pensato per dare possibilit di modificare alcuni parametri, tra cui il tempo di visualizzazione della temperatura e dell'orario, il tempo necessario di pressione di entrambi i pulsanti per entrare in modalit configurazione e altri parametri minori. E' possibile anche modificare semplicemente i PIN di collegamento con il sensore di temperatura, il modulo RTC e i pulsanti.
Per i dettagli dell'implementazione, consultare il sorgente commentato.



==== PROJECT ====

== Needed material ==

- Temperature sensor LM35
- RTC module DS1302
- FlashMat cell
- Arduino Uno
- Two push buttons
- Connections as in the attached schematics

== Objectives ==

Realize a system that alternatively shows the time (from the RTC) and the temperature (from the LM35 sensor) and that allows to set the time by pressing the two buttons.

== User functionalities ==

Without any intervention, the system shows the time and the temperature, alternating.
With a simultaneous press of the two buttons for a second the system enters the time configuration mode. The system flashes the time part (hour or minute) that is being set at the moment. With the buttons it is possible to increment, decrement or (with simultaneous press) complete the current configuration.

== Software functionalities ==

The software is designed to let you change some parameters, including the visualization time of the temperature and the time, the press time needed to enter the edit mode and other minor parameters. It's also possible di simply change the connection pins for the temperature sensor, the RTC module and the buttons.
For implementation details, see the commented source code.