am using the gps and gsm modules to send the coodrinates to my mobile number
but i get this output ,any help ?
and thx in advance
code.txt (5.67 KB)
am using the gps and gsm modules to send the coodrinates to my mobile number
but i get this output ,any help ?
and thx in advance
code.txt (5.67 KB)
SoftwareSerial mySerial(2, 3);
SoftwareSerial GPS(4, 5);
We can see (or reasonably guess at) what is connected to pins 4 and 5. Please post a picture to show what the hell a mySerial is.
You are aware, I hope, that only one instance of SoftwareSerial can listen at a time. While the Arduino is listening to the GPS, it can't listed to the mySerial (whatever the f**k that is). Anything that the mySerial sends, while the GPS instance is listening will be discarded.
You probably want an Arduino that has multiple hardware serial ports.
Why not get a SIM908 breakout, that has both GSM and GPS, and you can control it with just one serial.
These devices are very versatile, and they can do a lot of stuff, but you need to know very well what you are doing, else you will be disappointed. This stuff does not program itself..