Nick Koumaris
Published © GPL3+

Arduino Temp. Monitor And Real Time Clock With 3.2" Display

We are going to see how to develop this real-time clock and temperature monitor!

BeginnerFull instructions provided1 hour23,391
Arduino Temp. Monitor And Real Time Clock With 3.2" Display

Things used in this project

Hardware components

Arduino Due
Arduino Due
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Code

Code snippet #2

Plain text
void setup(){  
  rtc.begin();  tft.init();
  tft.setRotation(1);
  tft.fillScreen(0xC618);
  delay(100);
  printUI();
  setRTCTime();
}

Code snippet #3

Plain text
void setup(){  
  rtc.begin();
  tft.init();
  tft.setRotation(1);
  tft.fillScreen(0xC618);
  delay(100);
  printUI();
  //setRTCTime();
}

Code snippet #4

Plain text
void loop(){
   float temperature = rtc.getTemperature();
   getAndPrintTime();
   printTemperature(temperature);
   if(temperature>maxTemperature)
  {
    maxTemperature = temperature;
    updateMaxTemperature();
  }
if(temperature<minTemperature)  {
    minTemperature = temperature;
    updateMinTemperature();
  } delay(1000);}

Github

https://github.com/Bodmer/TFT_HX8357_Due

Github

https://github.com/SodaqMoja/Sodaq_DS3231

Credits

Nick Koumaris

Nick Koumaris

13 projects • 303 followers
My name is Nick Koumaris and I am a software engineer from Sparta, Greece. I love building projects and share them with the world!

Comments