Performance Comparision Between Two Microcontorllers Based GPS For
Performance Comparision Between Two Microcontorllers Based GPS For
Abstract- Innovative technology known as a global GPS, among other things [3]. The GPS receiver, which
satellite system (GPS) tracker allows for the monitoring of always has an antenna connected, is a tool used to obtain
a vehicle's whereabouts. The GPS receiver receives position data [4].
position data in the form of latitude and longitude, number In addition, the GPS system's multipath error may be
of satellites, altitude, direction, velocity, and time from the decreased by the GPS antenna's high gain and low axial
satellites. This data is analyzed by the microcontroller, ratio, which is less than 3dB. In addition to its other uses,
which then displays the results on the display. The GPS locates objects in real time and is impervious to bad
proposed technique can be employed in several situations weather. Figure 1 [7] illustrates some of the various
where the required information is only sometimes and applications for GPS sensors, containing location-based
irregularly requested. This research proposed a vehicle services, scientific research, and government use [5]. The
tracking system that uses the Arduino Uno board and getting of accurate position with saving time and speed
Raspberry-pi-Pico as microcontrollers and global information and navigation all these done by using
positioning system sensor. Under the suggested two GPS[6].
microcontrollers, the performance of the proposed GPS
system in determining the precision of vehicle location, is
investigated for different speeds at different locations. For 7%
Arduino microcontroller, the minimum and maximum 8%
location accuracy results are 5.3 and 48.8 meters, while for 30%
Raspberry pi Pico are 4.3 and 25.9 meters at speeds of 0 14%
and 100 Km/h respectively. The results show that the
proposed system can operate in any weather and offer more
precise real-time object position. 15%
26%
Keywords: Global Positioning System, GPS accuracy,
Real-time systems, better geographic coordinate location-based services road
Raspberry pi Pico
aviation marine
1. INTRODUCTION surveying and mapping others
GPS is a satellite navigation system used to locate
an object on the ground in an outdoor setting. Today, Figure 1. Global GPS market share [7]
positioning systems are a crucial component of daily life
for people. The advancement of positioning systems is In this research, a GPS-based vehicle tracker that
crucial for the growth of human civilizations since they are uses Arduino and Raspberry Pi Pico microcontrollers to
applicable to a variety of fields, including security, track moving objects remotely through a GPS network, is
military, logistics, monitoring, tracking, health care, designed and implemented. Earlier research utilized the
sports, and entertainment [1]. We may characterize GPS as internet to track automobiles. With widely accessible
a useful technology that has led to the development of one materials, this design is affordable. This project is crucial
of the best all-purpose navigational aids to date [2]. The for security and cost savings [5]. This research uses the
GPS project required the creation and deployment of 18 GPS NEO-6M sensor and two microcontrollers separately
satellites. Each orbital plane, which consists of six to evaluate the performance and accuracy of a GPS system
segments separated by 120 degrees, cost about $12 billion in an automobile at various speeds. The block design and
at the time. These satellites used to collect and show exact flowchart of the proposed GPS-based vehicle tracking
geographic coordinates for places on a map by utilizing system are shown in Figure 2 & Figure 3.
1
International Journal on “Technical and Physical Problems of Engineering” (IJTPE), Iss. 12, Vol. 4, No. 3, Sep. 2012
Both of the angles that are specifically specified on the conditions. To evaluate the BT-Q1000XT GPS device's
sphere are latitude and longitude. The angle together with accuracy, they chose four routes on various bearings,
the coordinate system makes up the ability to locate a travelling through various climatic conditions. There were
geographic point on the globe. Latitude is defined in lanes for vehicles, bicycles, and pedestrians on each route.
relation to the equatorial reference; as one goes from north According to their findings, about 50% of the
to south, the value changes from positive to negative. approximately 68,000 GPS points were in 250 cm and
When referencing the prime meridian, longitude is positive 78.7% were within 10 m of the predicted position. The
to the east and negative to the west. Without the driver's median inaccuracy was also 290 cm. The median error for
interference or the use of a technology for continually travels by foot was 3.9, 2.0 for trips by bicycle, 1.5 for trips
gathering the GPS coordinates of moving vehicles, by bus, and 0.5 for trips by car. The median inaccuracy
tracking enables the base station to follow the vehicle in varied significantly across the various area types: it was 70
real time [8]. cm in open areas, 260 cm in half-open areas, and 520 cm
in urban canyons [10].
START To display a car's position on Google Maps, Mohd H.
and Mohd F. conceived and created a GPS-based vehicle
tracking system. This system utilized an Arduino and
Call necessary libraries NEO6m sensor for coordinate routing and a SIM900A for
user connectivity. The system worked well outside but had
some problems inside since a roof or other impediment
Receive data from satellite by GPS sensor prevents the GPS module from receiving a direct signal
from the satellite, which is necessary to derive exact
coordinates, the error between the coordinates taken from
No
the application coordinate and real coordinate was 7
Data ready? meters for outdoor and 30 meters in indoor [11].
Xiaoyun Z. et al. evaluated the accuracy of GPS-based
yes traffic data on the location, speed, and altitude of bicycles,
cars, and buses. They found the geographic placement to
Process the data in the microcontroller be accurate, although with a larger inaccuracy than the
manufacturer had predicted and a non-zero likelihood of
aberrant placing. Altitude readings are unreliable, whereas
Analyze data to extract (latitude and longitude, number of satellites, velocity is somewhat underestimated [12].
altitude, heading, velocity and time) Elsyea Adia and et al., created a kid safety gadget with
a button that, when hit, instantly sends the scene's position
and a photo to a mobile through Telegram. The GPS
module and 5MP camera on the Raspberry Pi are used to
Data updated every 1 second
pinpoint the location and record the incident, respectively.
According to the findings, if both the device and
mobile are connected to same network, the average
Results viewed on screen communication time for positions is 0.91 seconds. During
this time, the expected error in position reading depends
on the speed of the car. In addition, if the device and the
END receiving smartphone are on separate networks, time
required to communicate positions is 0.96 seconds. Both
Figure 2. Flowchart of vehicle tracking system based on GPS circumstances have a 100% picture accuracy rate and a
97.5% location accuracy rate. [13]
Arduino
or
2. METHODOLOGY
GPS sensor Screen
Raspberry Pico The research method has two parts: hardware part and
software part, as follows:
2
International Journal on “Technical and Physical Problems of Engineering” (IJTPE), Iss. 12, Vol. 4, No. 3, Sep. 2012
3
International Journal on “Technical and Physical Problems of Engineering” (IJTPE), Iss. 12, Vol. 4, No. 3, Sep. 2012
(b)
Figure 7. Circuit connection for (a) Arduino microcontroller
(b) Raspberry microcontroller
Distance = [( x2 − x1 )2 + ( y2 − y1 )2 + ( z2 − z1 )2 ]2 (1)
4
International Journal on “Technical and Physical Problems of Engineering” (IJTPE), Iss. 12, Vol. 4, No. 3, Sep. 2012
Where: X1,Y1,Z1 and X2,Y2,Z2 are receiver and satellite locations at which the precision of the determined position
coordinates respectively. is tested, are chosen in Iraq republic/ Mosul city. The
To estimate the velocity, the receiver uses the Doppler carried tests are implemented at five speeds approximately
shift of the GPS signals. The Doppler shift is a change in a (0, 40, 60, 80, 100) Km/h.
wave's frequency brought on by the velocity of the source
and the observer. By measuring the Doppler shift of the
GPS signals, the receiver can calculate its velocity [24].
The basic equation for the Doppler shift is Equation 2
[24]:
5
International Journal on “Technical and Physical Problems of Engineering” (IJTPE), Iss. 12, Vol. 4, No. 3, Sep. 2012
show that the accuracy of the sensor decreased as the km/h. This is due to the high processing speed of the
velocity increased. Raspberry pi Pico. Which results higher Doppler effect
The results for different speed at location 4 are shown reduction in comparison with the Arduino microcontroller.
in Table 3 shows that the number of satellites is changed
from (9 to 11) satellites. the degrees in latitude are changes REFERENCES
from (0.00004 to 0.00009) and degrees in longitude is [1] K. Suseenthiran, A. Shukur, K. Wei, M. Zoinol, A.
changed from (-0.000005 to 0.0002) for GPS sensor. The Awang, S. Huzaimah, N. Mohd, “Indoor positioning
error in distance between the google coordinates and utilizing bluetooth low energy RSSI on LoRa system”,
sensor coordinates is calculated using Haversine formula. Indonesian Journal of Electrical Engineering and
These errors changing from (4.3 to 25.9) meters for speed Computer Science, Vol. 23, No. 2, pp. 927~937, Melaka,
changing from (0 to 100) km respectively. These results Malaysia, August 2021.
also shows that the accuracy of the sensor decreased with [2] T. Khalifa, N. Sahar, N. Ramli, M. Islam, “Circularly
velocity increasing. The over all results from the two tables polarized microstrip patch antenna array for GPS
shows that Raspberry better than Arduino due to higher application”, Indonesian Journal of Electrical Engineering
processing rate of the raspberry. and Computer Science, Vol. 15, No. 2, pp. 920~926,
Malaysia, August 2019.
Table 2. Location 4 for Arduino microcontroller [3] N. Islam, M. Alomgir, M. Mazharul, M. Nur,
Coordinates Latitude Longitude Khairunnaher, “Cost-effective and user-friendly vehicle
from Google 36.3696310000 43.1286010000
Maps tracking system using GPS and GSM technology based on
Arduino uno IoT”, Indonesian Journal of Electrical Engineering and
Speed sat lat lng Error lat Error lng Error/ Computer Science, Vol. 28, No. 3, pp. 1826~1833, Dhaka,
km/h m Bangladesh, December 2022.
0 9 36.36966323 43.12862777 0.00003223 0.00002677 5.3
85 70 85 70 [4] M. Khalil, N. Mahmood, S. Najim, “Smart system for
41 11 36.36972427 43.12891006 0.00009327 0.00030906 29.5 monitoring ammonium nitrate storage warehouse”,
36 46 36 46 Indonesian Journal of Electrical Engineering and
61 10 36.36970138 43.12901687 0.00007038 0.00041587 38.04 Computer Science, Vol. 23, No. 1, pp. 583~589, Baghdad,
54 62 54 62
Iraq, July 2021.
81 10 36.36974716 43.12901306 0.00011616 0.00041206 39.08
18 15 18 15 [5] T. Morallo, “Vehicle tracker system design based on
100 9 36.36973571 43.12913131 0.00010471 0.00053031 48.8 GSM and GPS interface using Arduino as platform”,
77 71 77 71 Indonesian Journal of Electrical Engineering and
Computer Science, Vol. 23, No. 1, pp. 258~264,
Table 3. Location 4 for Raspberry pi Pico Dumaguete, Philippines, July 2021.
Coordinates Latitude Longitude
from Google 36.3696310000 43.1286010000
[6] M.K. Sameer, A.M. Hamid, “evaluation of accuracy
Maps gps and automatic level instruments in topographic
Raspberry pi Pico surveying”, International Journal on Technical and
Speed Sat latitude Longitude Error lat. Error lng. Error/ Physical Problems of Engineering, Issue 53, Vol. 14, No.
km/h m
-
4, pp. 75-79, Fallujah, Iraq, December 2022.
36.36967897 43.12859535 0.00004797 [7] https://www.kbvresearch.com/global-positioning-
0 11 0.00000564 4.3
42 22 42
78 systems-market/.
41 12 36.36971235 43.12871456 0.00008135 0.00011356
13.6 [8] S. Pooja, “Vehicle Tracking System Using GPS”,
28 15 28 15
International Journal of Science and Research, Issue 9,
60 8 36.36976003 43.12886238 0.00012903 0.00026138
65 10 65 10
18.4 Vol. 2, pp. 128-130, Chhattisgarh, India, September 2013.
80 11 36.36967245 43.12873811 0.00004145 0.00013711 [9] K. Al-Gaadi, “testing the accuracy of autonomous GPS
21.11
40 06 40 06 in ground speed measurement”, journal of applied
100 9 36.36972427 43.12886714 0.00009327 0.00026614 sciences, Vol. 5, pp. 1518-1522, No. 9, Riyadh, Kingdom
25.9
37 94 37 94
of Saudi Arabia, 2005.
[10] J. Schipperijn, J. Kerr, S. Duncan,Th. Madsen, Ch.
In this study, two microcontrollers, Arduino and Demant, J. Troelsen, “Dynamic accuracy of GPS receivers
Raspberry pi Pico, were used in the proposed GPS system. for use in health research: a novel method to assess GPS
System performance was verified under these accuracy in real-world settings”, frontiers in public health,
microcontrollers. The findings show that the Raspberry Pi Vol. 2, pp.1-8, No. 21, march 2014.
was better than the Arduino in positioning accuracy at [11] M. Hakimi, M. Fiqri, “GPS Based Vehicle Tracking
different speeds and locations. The Raspberry reads more System”, international journal of scientific & technology
than 14 data coordinates in less than one second compared research, Issue 04, Vol. 10, pp. 278-282, Malaysia, April
to one data coordinates every two seconds for the Arduino, 2021.
as a result it is concluded that Doppler shift has less effect [12] X. Zhao, K. Carling, J. Håkansson, “Reliability of
on the accuracy of the results when the Raspberry pi Pico GPS based traffic data: an experimental evaluation”,
microcontroller is tested. For speed changing from 0 to 100 Working papers in transport, tourism, information
Km/h, the location accuracy changed in the Arduino from technology and microdata analysis, pp. 1-23, No. 17,
(5.3 to 48.8) meters, while that of the Raspberry Pi Pico Sweden, 2014.
changed from (4.3 to 25.9) meters at speeds of (0 to 100)
6
International Journal on “Technical and Physical Problems of Engineering” (IJTPE), Iss. 12, Vol. 4, No. 3, Sep. 2012
[13] E. Adia, E. Inaiyah, R. Tri, “A smart wearable device Scientific Publications: 30 Papers, 4 Projects, 11 Theses
based on internet of things for the safety of children in Scientific Memberships: Iraqi Engineering Union
online transportation”, Indonesian Journal of Electrical First Name: Ahmed
Engineering and Computer Science, Vol. 22, No. 2, pp. Middle Name: Nadeem
708~716, Indonesia, May 2021. Surname: Ismail
[14] N. Genc, S.J.M. Shareef, “design dual axis sun power Birthday: 1.6.1985
tracking system using Arduino”, International Journal on Birthplace: Mosul, Iraq
Technical and Physical Problems of Engineering, Issue 29, Bachelor: Computer Technology
Vol. 8, No. 4, pp. 34-38, December 2016. Engineering, Al Hadba University
[15] https://datasheets.raspberrypi.com/pico/pico- College, Mosul, Iraq, 2014
datasheet.pdf, pp. 17-23. Master: Computer Technology Engineering, Computer
[16] O. B. Kharisma, D. A. A., Mustakim, R. Vebrianto, R. Technology Engineering department, Northern Technical
Novita, Hasbullah, Irawati, Y. Novita, Zaitun, Al. Nazir, I. University, Mosul, Iraq, Master Student, Since 2022
Iskandar, Y. Vitriani, R. Rehayati, T. Andriani, Research Interests: IoT system, System Monitoring
“Development of location tracking system via short Scientific Publications: 1 Paper.
message service (SMS) based on GPS unblox neo-6m and Scientific Memberships: Iraqi Engineering Union
sim 800l module”, The 1st Workshop on Environmental
Science, Society, and Technology, No. 1363, pp. 1-7,
Indonesia, November 2019.
[17] https://cdn-
shop.adafruit.com/datasheets/SSD1306.pdf, pp. 6-12.
[18] https://github.com/olikraus/u8glib.
[19] https://docs.arduino.cc/learn/built-in-
libraries/software-serial.
[20] http://arduiniana.org/libraries/tinygpsplus/.
[21]https://www.megunolink.com/documentation/interfac
e-panel/gauge/.
[22] https://github.com/inmcm/micropyGPS.
[23] S. Mohol, A. Pavanikar, G. Dhage, “GPS Vehicle
Tracking System”, International Journal of Emerging
Engineering Research and Technology, Issue 7, Volume 2,
PP. 71-75, Pune, India, October 2014.
[24] E. D. Kaplan, Ch. J. Hegarty, “Understanding GPS
Principles and Applications”, Artech house, Norwood,
London, pp. 50-150, 2006.
[25] N. Kahtan, “Design and Implementation of a Real-
Time Vehicles Monitoring System Based on IoT”, Master
thesis, Northern Technical University, Engineering
Technical Collage / Mosul, p.46, 2022.
BIOGRAPHY / BIOGRAPHIES
First Name: Ziyad
Middle Name: Khalaf
Surname: Farej
Birthday: 17/2/1964
Birthplace: Mosul, Iraq
Bachelor: Electronic System Eng,
Cranfield University, UK, 1989
Master: Electronic and Communication Eng. (Spread
Spectrum System/FH), University of Mosul, Mosul, Iraq,
2003
Doctorate: Computer and Communication Networks Eng.
Department of Electric Engineering, University of Mosul,
Mosul, Iraq, 2012
The Last Scientific Position: Asst. Prof., Computer
Technology Engineering department, Technical
Engineering College/ Mosul, Northern Technical
University, Mosul, Iraq, since 2022
Research Interests: Wireless computer and communication
networks, 802.11 WIFI, Internet of Things