Hello everybody please help me my life is paused at this project!!!!
i'm using:
Arduino UNO R3
A7 AI-THINKER
i tried to make a call nd to send an sms nd it works fine!
but when i tried to get gps location i didn't recive anything !(even i tried many codes)
i'm using 2 nd 3 ports to connect tx nd rx to arduino.
nd my code is :
#include <SoftwareSerial.h>
SoftwareSerial mySerial(2, 3); // RX, TX
void setup()
{
/**on démarre le module*/
Serial.begin(115200);
mySerial.begin(115200);
//on efface toutes les données séries en attente
while (mySerial.available())
{
mySerial.read();
}
/** */
/**on configure le baud à 9600*/
mySerial.println(« AT+IPR=9600 »);
/** */
delay(200); //on attend un peu
/**on redémarre avec le nouveau baud*/
Serial.begin(9600);
mySerial.begin(9600);
delay(200);
/** */
Serial.println(« start! »);
}
void loop()
{
/*
* This loop just takes whatever comes in from the console and sends it to the board
*/
if (Serial.available())
{
mySerial.write(Serial.read());
}
if (mySerial.available())
{
Serial.write(mySerial.read());
}
}
for the AT commands :
AT+GPS=1 : is fine
AT+GPSRD=1 : is fine
AT+GPSRD=N : reply with 53 code error
Cross-posting is against the rules of the forum. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend 15 minutes (or more) writing a detailed answer on this topic, without knowing that someone else already did the same in the other topic.
Repeated cross-posting will result in a suspension from the forum.
In the future, please take some time to pick the forum board that best suits the topic of your question and then only post once to that forum board. This is basic forum etiquette, as explained in the sticky "How to use this forum - please read." post you will find at the top of every forum board. It contains a lot of other useful information. Please read it.
Hello,
I'm using A7 AI thinker module + Arduino UNO, i get the gps informations with AT+GPSRD+1 but i want to extract only longitude and latitude.
So any Simple SOlution to just get longitude and latitude from $GPRMC of AT+GPSRD=1 please?
i'm a beginner and it's a simple question in addition it's just a little part of my full project, i'm not looking for a full code by the way thank you !
We strongly recommend that beginners start at the beginning: learn to blink an LED, measure a voltage, monitor a switch or a smart sensor, output a tone to a speaker, control a motor or servo, etc. That way you learn the programming language and the special features of the Arduino.
If you skip those steps, expect endless frustration.
Yet again, I've had to merge @wesscott93's cross post. As I warned the last time, repeated cross-posting may lead to a suspension of your account.
So @wesscott93 is going to take a 3 day vacation from the forum. I hope they will act in a more respectful manner upon their return. If not, the next suspension will be more lengthy, if not permanent.