Dog tracker to find where your furry friend is.
We will use the following components:
NodeMCU (has a built-in ESP8266)
Ublox NEO-6M (GPS Module)
A few cables
A smartphone (with Blynk installed)
A small wifi modem
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Wiring
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
Step 2: Coding
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:
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:
Step 3: Conclusion
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