Show Posts
Pages: [1] 2
1  Using Arduino / Programming Questions / Re: End of sms in gsm on: March 08, 2013, 03:37:31 pm
Why do you need to do it in the monitor?
Why not just append it in your sketch when you get the end of the message?

because i need a program ,which can use serial monitor to send AT commands directly from serial monitor and show response from gsm.

my program


#include <NewSoftSerial.h>   //Include the NewSoftSerial library to send serial commands to the modem
#include <string.h>        //Used for string manipulations

char incoming_char=0;      //Will hold the incoming character from the Serial Port.

NewSoftSerial cell(10,11);  //Create a 'fake' serial port. Pin 2 is the Rx pin, pin 3 is the Tx pin.

void setup()
{
   //Initialize serial ports for communication.
   Serial.begin(9600);
   cell.begin(9600);

   //Let's get started!
   Serial.println("Starting Communication...");
}

void loop() {
   //If a character comes in from the cellular module...
   if(cell.available() >0)
   {
      incoming_char=cell.read();    //Get the character from the cellular serial port.
      Serial.print(incoming_char);  //Print the incoming character to the terminal. 
   }
   //If a character is coming from the terminal to the Arduino...
   if(Serial.available() >0)
   {
      incoming_char=Serial.read();  //Get the character coming from the terminal
      cell.print(incoming_char);    //Send the character to the cellular module.
   }
}
2  Using Arduino / Programming Questions / End of sms in gsm on: March 08, 2013, 03:19:47 pm
need help to sent message from gsm module .
A ctrl z character needs to be added at the end of the message to send it.
Can anyone please advise how to do this in serial monitor ?
3  Using Arduino / Programming Questions / Re: No output from gps on: March 07, 2013, 12:11:47 pm
Sharing your solution might help others.

first fault :My gps works at voltage from 3 to 4.2v . So i have used arduino 3v3 pin,but their is something wrong with my arduino pin 3v3  ,voltage in this pin is highly unstable.
                   It may go below the threshold.
solution : I adopted external power source .

Second fault :This is baud rate mismatch.
solution: after some hit and trial ,i found the right one. (both baud rate 9600 )

third fault (very basic ) :as i have chosen external power source , i forget to common both ground ,one from arduino & one from external power source.

4  Using Arduino / Programming Questions / Re: No output from gps on: March 07, 2013, 11:51:14 am

Why? Has google failed you completely? This isn't the "do my research for me" forum.


no doubt, Google is always a best friend.

But here we have people, who are expertize in various domain.

they can help me ,more than google.

5  Using Arduino / Programming Questions / Re: No output from gps on: March 07, 2013, 09:22:50 am
Finally its working !!!

thanks friends for your helps.

Now i want to learn about NMEA sentences , please give me some good tutorial links .   
6  Using Arduino / Programming Questions / Re: No output from gps on: March 06, 2013, 02:28:19 pm
That looks like a problem with the baud rate. My code sets both baud rates to 9600. Check that your Serial Monitor is set to 9600.
If the Serial Monitor speed is correct, then somehow perhaps the default baud rate on your GPS has been changed. Try changing gpsSerial.begin(9600) to gpsSerial.begin(4800).

Pete

what is the output of your program ?

7  Using Arduino / Programming Questions / Re: No output from gps on: March 06, 2013, 02:13:26 pm
@Puneet verma
Have you run the Adafruit sketch here: https://raw.github.com/adafruit/Adafruit-MTK3329-GPS-Module-Test-Sketch/master/Adafruit_MTK3329_GPS_Test.pde.
It sets the GPS update rate and which sentences it will send. Perhaps if you haven't done this it won't do anything?

My GPS sends NMEA sentences even if it is not locked onto any satellites but I have already used the Adafruit sketch to set the update rate and select the sentences.

Pete
 
I compiled your program code
i am getting output as

ÿÿïÿÿÿÿoÿÿÿÿïÿ
8  Using Arduino / Programming Questions / Re: No output from gps on: March 06, 2013, 02:11:09 pm
tested in scope my hardware is fine.
i  am getting output.
9  Using Arduino / Programming Questions / Re: No output from gps on: March 06, 2013, 01:02:11 pm
@Puneet verma
Have you run the Adafruit sketch here: https://raw.github.com/adafruit/Adafruit-MTK3329-GPS-Module-Test-Sketch/master/Adafruit_MTK3329_GPS_Test.pde.
It sets the GPS update rate and which sentences it will send. Perhaps if you haven't done this it won't do anything?

My GPS sends NMEA sentences even if it is not locked onto any satellites but I have already used the Adafruit sketch to set the update rate and select the sentences.

Pete
 

hey i want check my gps  , whether its working properly or not .

is it not possible to check gps stand alone(without using arduino) by connecting power  supply and the rx pin under scope/cro ?

10  Using Arduino / Programming Questions / Re: No output from gps on: March 05, 2013, 10:52:06 am
You could connect the output line to an ordinary input pin and see if it waggles with a simple program.
Or connect a scope.
Or connect something to the fix-status pin of the receiver.
ok got your point , i will check it .
11  Using Arduino / Programming Questions / Re: No output from gps on: March 05, 2013, 10:42:23 am


If you haven't used GPS before, have you confirmed that you can actually get a GPS signal wherever it is you're doing these tests?

i am using my programs, to check gps ?


Is their any other way to check whether my gps is receiving signal or not ?
12  Using Arduino / Programming Questions / Re: No output from gps on: March 05, 2013, 04:34:10 am
hey i tried different baud rate,but nothing happened.   

it would highly helpful ,if you can give me some links/programs about using tiny gps .

i have no prior experience with tinygps library.
13  Using Arduino / Programming Questions / Re: No output from gps on: March 05, 2013, 02:33:32 am
ok
i will try .
14  Using Arduino / Programming Questions / Re: No output from gps on: March 05, 2013, 02:23:49 am
only i  get this  þ½{ÿ
when i use 4800 baud rate .

and no output when i use 9600.
15  Using Arduino / Programming Questions / Re: No output from gps on: March 05, 2013, 02:19:24 am
9600 for serial monitor
4800 for  gps
Pages: [1] 2