Dog Tracker

by BOY MECHANIC in Circuits > Arduino

134 Views, 0 Favorites, 0 Comments

Dog Tracker

Screen Shot 2019-06-13 at 13.50.24.png

Dog tracker to find where your furry friend is.

Supplies

We will use the following components:

NodeMCU (has a built-in ESP8266)

Ublox NEO-6M (GPS Module)

A few cables

Power source

A smartphone (with Blynk installed)

A small wifi modem

Wiring

Screen Shot 2019-06-13 at 12.56.11.png

To make the connection, follow the pin configurations with NodeMCU and the GPS receiver:

NodeMCU GPS receiver

D1 - Tx

D2 - Rx

Vcc - 3 V

GND - GND

Coding

Screen Shot 2019-06-15 at 18.35.50.png
Screen Shot 2019-06-13 at 13.09.09.png
Screen Shot 2019-06-13 at 13.09.23.png
Screen Shot 2019-06-13 at 13.09.27.png
Screen Shot 2019-06-13 at 13.09.32.png
Screen Shot 2019-06-13 at 13.09.38.png
Screen Shot 2019-06-13 at 13.09.44.png
Screen Shot 2019-06-13 at 13.09.51.png

1. Now, connect the NodeMCU to the computer and open the Arduino application to program the NodeMCU. Before uploading the code, let’s open our Blynk app.

2. Create a new project.

3.Remember the authentication code sent to the email address you registered with the app; this will be needed later. You can set your project name as MY GPS TRACKER, device type as NodeMCU , and connection type WiFi.

4. To see the real-time location in text value, add two text fields with Labeled Value. 5.For latitude, set the pin type Virtual and pin V1:

6.For longitude, select pin type Virtual and pin V2, as follows. You may change the color of the text by tapping the circular color icon:

7. Now, add the map from the widget menu and select pin type to be Virtual and number to be V0:

8.The Blynk application will need your permission to use your phone’s GPS. You may see the following if the location service is turned off:

9. We may need to see how many satellites there are, so select a Display Value or Labeled Value to the screen with Virtual pin and V3 configuration. Our visual should look like the following:

10.Now we need to code for the NodeMCU. We need to include the following libraries in our code:

#include <TinyGPS++.h>

#include <SoftwareSerial.h>

#include <ESP8266WiFi.h>

#include. <BlynkSimpleEsp8266.h>

11. To add these libraries, you need to download the libraries and install them To your Arduino software. To install the libraries, go to Sketch->Include Library->Add .zip Library and select the folder you can download from this instructable .

12. now take the wifi modem turn it on and enter the said and password into the code.

13, Now, upload the code to the NodeMCU after connecting it to the computer. Here you can see some information on the Serial Monitor of the Arduino software. To see the real-time data only, start the project from the Blynk application and you will see your location in the Blynk:

Conclusion

Screen Shot 2019-06-13 at 13.50.24.png

now pop this in a box, and attach it to your dogs collar, open the blynk app and there you have it.

please vote for this instructable.

regards from the author