Notifications
Clear all

GSM GPS Tracking

1 Posts
1 Users
0 Likes
909 Views
 vek
(@vek)
Member
Joined: 4 years ago
Posts: 13
Topic starter  

I want to use my Arduino MKR GSM 1400 as a remote GPS tracking device. I have got a sketch but it has a secrets.h file. I do not understand exactly what this is and have never heard of it. The start of the sketch has the following

#include "arduino_secrets.h"
// include the GSM library
#include <MKRGSM.h>
#include "ArduinoLowPower.h"

char PINNUMBER [] = SECRET_PINNUMBER;     
char GPRS_APN[] = SECRET_GPRS_APN;
char GPRS_LOGIN [] =SECRET_GPRS_LOGIN;
char GPRS_PASSWORD[] =SECRET_GPRS_PASSWORD;

Am I correct in thinking that I input the details from my sim card into the above 4 char. ?

I am waiting for the sim card to arrive and will try and upload the program.

If I manage to upload the program then the idea is that the GSM will send Long & Lat data to my phone and this will then be sent automatically to google maps.

Regards

 

 


   
Quote