Sir, i need a idea and guidance to my project…
my doubt is that “how to code in ARDUINO UNO in this situation:
IF THE SPECIFIC LOCATION IS CAME, I WANT TO SEND A MSG TO MOBILE”…
Basic idea i cant get it sir, PLEASE HELP ME SIR, plz plz plz, suggest some example coding to help to complete my project sir
It's probably best if you don't SHOUT, but have you looked at GPS and GSM?
IF THE SPECIFIC LOCATION IS CAME
Did you mean same? If so, same as what? To within what level of accuracy? +/- 1cm? +/- 1 light year?
I WANT TO SEND A MSG TO MOBILE
The process for doing that is exactly the same as it would be when the SPECIFIC LOCATION IS not CAME.
What have you tried?
When is our homework due?
Sir,, Consider a situation sir,, if the vehicle is reached a specific (latitude and longitute), i want to send the message to the admin,,
This what i ask sir,,,,,
What have you tried so far?
Sir,, i have finished that GSM module, if the button is pressed the message is sent to admin,,,
Now i have to replace the button to GPS module sir,, i cant get that basic idea sir
Have you tried using any of the common GPS libraries?
Yes sir,, i have tried that basic GPS library to print latitude and longitude,, how to integrate the both module,, suggest and guide me sir
It’s really hard without seeing any code, but you’ll need to define some degree of acceptable error, then you’ll probably need to use “abs()” to determine your trigger condition.
this is the code sir,
#include < softwareserial.h>
#include < tinyGPS.h>
long lat, lon;
softwareserial gpsserial (2, 3);
serial. begin (9600);
gpsserial. begin (4800);
void loop ()
while ( gpsserial. available ())
if ( gps.get_position (&lat,&lon);
serial.print ("position: “);
serial.print ( " lat: " );
serial.print (” ");
serial.print ("lon: ");
This is our gsm code to send a sms:
here we are using button to send a sms. Instead of button we have to use gps device. Please help me sir
void setup ()
pinmode (x, input);
void loop ()
if ( digitalread (x)==high)
serial.print (" AT+CMGF="+91xxxxxxxxxx"\r");
serial.print (“Hi boss someone stolen me, stop me by giving missed call\r”);