# Simple Digital GPS Speedometer Using PIC16F877A with LCD Display

Contents

Speedometer is a speed measuring gauge used to calculate the speed of motor vehicles. They are mainly of two types- electronics and mechanical. Digital speedometer measures the speed and mileage in vehicles. Normally both types work on the principle of electromagnetism, however they have a disadvantage that they cannot be used if there are no wheels on the moving object. Here I am introducing a simple digital GPS speedometer using PIC16F877A with LCD display. This GPS speed meterĀ provides the location, speed or other information of the moving objects based on GPS coordinates. The advantage of digital speedometer with GPS is that it can be placed easily anywhere on moving objects such as vehicles, running men, flying helicopter, aircraft, boats or ships. This system has an LCD Display which is used for monitoring the speed or any other information.

Using GPS as a speedometer, you can monitorĀ much moreĀ information likeĀ speed, time, position, satellite in use, no of satellite, satellite ID number and SNR (Signal to Noise ratio). The NMEA message from GPS gives the necessary information, since NMEA sends a line of data based on the GPS coordinates.

## Components Required

1. PIC16F877A
2. GPS Module
3. LCD 2Ć16
4. Crystal (20MHz)
5. Capacitor (22PFx2, 10uF)
6. Resistor (1K)
7. POT (10K)
8. Power Supply

## Working of Simple Digital Speedometer Using PIC 16F877A

As seen in the circuit diagram, our small GPS digital speedometer requires both 5 V and 12 V power supplies. This is because GPS module needs 12 V and other components require 5 V only.We can generate both these voltages from a single power supply circuit, so 12 V is enough for doing the GPS speed meter project with PIC 16F877A.

When power is supplied, GPS is turned ON and gets started to work.

GPS module continuously gives NMEA sentences based on the GPS coordinates. NMEA sentences from the GPS signal include time, position, GPS receiver operating mode, active satellites used, number of GPS satellites in view, satellite ID number, SNR (signal to noise ratio) values, azimuth values, elevation, position, date, time and speed of the GPS system with speedometer.

Every NMEA lines start with a dollar symbol ā\$ā which indicates starting of sentences. Every first sentence of GPS information will contain \$GPXXX, which indicate global positioning system fixed values for the GPS system.

The information content for each NMEA sentence is shown in the table given below.

For more detail: Simple Digital GPS Speedometer Using PIC16F877A with LCD Display