now I'm outside and I got the signal so
I got the location too and you can look
the LED at the GPS it's blinking right
now the
welcome back to milliohm.com in this
video we will learn how to use the
popular and cheap GPS module ublox
NEO-6m this GPS module has four pins
that is VCC RX TX and then ground
because there are Rx and TX pins we
know that this module communicate
with serial so it will send the data to
Arduino through serial communication now
let's connect the antenna to the GPS
module and connect the GPS to arduino
let's see the wiring diagram
Wait before we continue this video
please subscribe and turn on the
notification to make us more excited to
make another video
okay now is time to code we have open
the Arduino IDE and now you have to
download the library the library name is
tinyGPS++ if you haven't download
the library you can download the
library from the link in the description
below after you download it install the
library and restart the arduino IDE now
you should see the tinyGPS++ in
the example open the device example make
sure that our RX pin is in pin 4 and
the TX pin is in pin 3 and then I will
edit the GPS baud to 9600 and I edit the
serial monitor baudrate too upload the
program and open the serial monitor at
the beginning the location will say
invalid it happened because the GPS
got no signal here actually I'm indoor
right now if it keep invalid then I will
go outside to get the signal we know
that GPS signal cannot go through
the concrete wall
now I'm outside and I got the signal so
I got the location too and you can look
the LED at the GPS it's blinking right
now the LED will only blink if the GPS
already got the signal and we can look
the date and the time from the
satellite too sometimes the GPS also
needs time to got the signal so just
wait until the location is not invalid
anymore
we have successfully extract the
location and the date time from the GPS
so this is the end of our tutorial now
see you in another tutorial
bye
