![]() ![]() Global Positioning Device (GPS) – A GPS device communicates with satellites to determine its location anywhere in the world.It uses a back-up battery to maintain the time in the event that the main power source is removed. Real-Time Clock (RTC) – A Real-Time Clock, or RTC for short, is an integrated circuit that keeps track of time.We can get it from a Real-Time Clock (RTC), a GPS device, or a time server. There are several ways to get the current date and time. How to Get the Current Date and Time on an Arduino Depending on the project, having a way to get the current date and time is very useful. Arduino-based clocks use the current time as a timer for reminders or to execute a scheduled command via the Arduino’s I/O pins. Another example is for an Arduino digital clock or calendar. For example, an Arduino Weather Station needs timestamps in recording weather data. One use for it is for recording/log purposes. ![]() Keeping track of the current date/time for an Arduino has many purposes.
0 Comments
Leave a Reply. |