Arduino GPS Digital Clock

GPS (Global Positioning System) is getting more popular these days because of its application and uses in electronic project. Today, we are going to build a digital cock solely based on GPS module. The project “Arduino GPS Digital Clock” collects information from the satellite in the form of 70-character long string and show only date and time. In this article we will show you how to extract exact date and time from the string ($GPRMC) that received by GPS Module.

Components used in Arduino GPS Digital Clock

  1. Arduino UNO Board
  2. GPS Module
  3. 16×2 LCD
  4. 1K resistor
  5. 10K Potentiometer
  6. Connecting Wires

Arduino UNO Board:

The central component or processing component of the projects Arduino GPS Digital Clock is arduino uno board. As we know that arduino is open source device thus use of this board is more easy and flexible. This board is based on AVR family microcontroller ATmega 328/ATmega328P. Some silent features of arduino board are:

  • 14 Digital input/output pin (same pin can be used for as well as output)
  • 6 analog input pins (can also be used as digital)
  • Inbuilt 32K flash memory
  • 16MHz crystal oscillator
  • USB connection for serial connection
  • ISCP Header
  • Reset button and dedicated 9V power supply Jack

As this board contains microcontroller, thus it is programmable and can be programmed using arduino IDE software.

GPS Receiver

In our prototype we had used SIM808 EVB-V3.2 module from SIMCOM. SIM808 module is GSM/GPRS, GPS and Bluetooth development board. Silent features of SIM808

  • More option for power interface i.e. DC044, V_IN and a lithium battery interface.
  • Micro USB interface for firmware update
  • Can be used as GSM/GPRS, GPS and Bluetooth at a time.
  • Single channel voice and single channel mic. Interface.

Due to this feature this module is very much popular among electronic hobbyist.

LCD Module: For this prototype we are using 16X2 alphanumeric LCD. This LCD display day and time.

Circuit Description of Arduino GPS Digital Clock

The circuit of arduino GPS Digital Clock is shown in figure 1. The project encompassed GPS modem (SIM 808) as the core components of the projects along with arduino uno board and LCD module. This project offers most accurate date and time and can be used at any public place like Mall, Bus stand etc.

arduino and gps digital clock

Wiring of the circuit is very simple, GSM/GPS Module Tx pin is connected to Rx pin (D0) of arduino uno board and Rx pin of module is grounded as shown in circuit diagram. Arduino uno board ground and GSM/GPS ground should be connected to each other.

A 16X2 LCD does the task of displaying the date and time on its screen. We all know that LCD operates on two modes i.e. 4 bit mode and 8 bit mode. For this project, we will use 4-bit mode. <LiquidCrystal.h> library function make interface of arduino uno board and LCD easier. The digital pin of arduino D11 and D12 is connected to Enable (E) and Set/Reset (RS) of LCD. Similarly, arduino pin D5, D4, D3 and D2 are linked with data pin D4 to D7 (higher order data pin) of LCD respectively as shown in circuit diagram.

LED+ pin (pin 15) of LCD is conned to +5V supply through 1K-ohm resistor and LED- pin (pin 16) of LCD is connected to GND pin.

More other electronic project based on GPS posted in bestengineeringprojects.com

  1. Accident Detection and Alert System using Arduino
  2. GPS and GSM based Vehicle Tracking System
  3. GPS Navigator Circuit using ATmega 16
  4. DIY Distance Measurement using GPS and ATmega328P

Software Code | Arduino GPS Digital Clock

Software code is written in arduino programming language and compiled using arduino IDE. The software part is simple and easy to understand. This program checks the data from GPS receiver and extract only $GPRMC string which contains date and time and display it on LCD.

The author prototype

gps clock
rpt

Leave a Comment