Tip:
Highlight text to annotate it
X
This is my second Arduino project. The LCD TFT shows date time and temperature.
Time is taken from internet NTP server via Ethernet shield.
If internet connectivity fails, date and time is taken from RTC chip DS3231 backuped by battery.
So clock should shows at any circumstances accurate time.
So, now it time to power up. Focus is not much good.
Now you can see date time and temperature.
Temperature is taken from DS3231 RTC chip, because this chip contains temperature sensor
for oscilation compensation due to temperature changes.
Also here is Arduino Mega 2560 R3 which is not very easy to see
and Chinese Ethernet Shield R3 optimized version by ArduinoChina. Ethernet Shield is not original, but enhanced version, from the original has some improvements, so maybe yes.
What to say... In addition to displaying on the LCD display is also available serial monitor for debugging.
Now I can try to connect. Here is DTR. So, clicking to DTR is Arduino restarted.
Now you can see initialization sequence which nothing do, only takes time for terminal open.
Now here we see some running informations about NTP and RTC time and is accuracy.
This deviation of one minus second is counted for approximately last 8 days.
Sometimes the deviation is minus one second, sometimes plus one second
and sometimes it is zero, or we can say that the chip's clock is more or less accurately.
We'll see for a long time, how much it will be inaccurate.
Temperature 24 degrees Celsius is not temperature inside room but temperature on the chip.
Chip is heated by nearest components. On the desk thermometer we can see real temperature
in the room. 23.1 degrees, so chip is almost the same.
An this is all. See you in another project.