Arduino UNO R3 with GPS Shield

i did !!

#include <SD.h>
const int chipSelect = 10;
void setup()
{
Serial.begin(4800);

pinMode(10, OUTPUT);
if (!SD.begin(chipSelect)) {

return;
}

}

void loop()
{
// make a string for assembling the data to log:
char index = 0;
char temp = 0;
String dataString = "";
// open the file. note that only one file can be open at a time,
// so you have to close this one before opening another.
/*
while(Serial.available())
{
File dataFile = SD.open("datalog.txt", FILE_WRITE);
if(dataFile)
{
temp = Serial.read();
dataString += String(temp);
dataFile.print(dataString);
dataString = "";
dataFile.close();
}
}
*/ 
File dataFile = SD.open("datalog.txt", FILE_WRITE);
if(dataFile)
{
while(Serial.available())
{
temp = Serial.read();
dataString += String(temp);
index++;
if(index>200)
break;
}
dataFile.print(dataString);
dataFile.close();
}
}

Are you running you thing with the serial monitor open? and if you are are you also at a pace of 4800?

ya i did that

but in monitor i only see empty space so i dono does it read or what =( is someting relating to tx & rx connection ?!
as in second code i change them to 3&4 !!

Cause juging the lenght of the data it return, it's pretty shure you have a lock and the gps send you data. Mayby 4800 is still to fast. try 2400, then 1200. or maybe to port is not reading fast enogh then try 14400. But for sure, it's a speed matching problem.

is this you board?

http://blog.iteadstudio.com/play-arduino-with-global-positioning-system-gps/

but strange that in the tinygps code get some output but with starts !! and here getting =\ just garbage !!

Frederic_Plante:
is this you board?

http://blog.iteadstudio.com/play-arduino-with-global-positioning-system-gps/

yes this one :slight_smile:

after make it 2400 the dataloger file is empty !!

after tying the second code with 2400 its work but same issue starts !!!
just Chars !! have number and after some 10 or 5 min its give some number in Checksum fail !!

Ok so this is not your board,

http://imall.iteadstudio.com/development-platform/im120417017.html

Then my hypothese is that you can only use pin 6 7 8 for software sérial. cause there are the only pin that has jumper.

never the less you should still be able to use the hardware pin 0 and 1 to wright to the sdcard that strange.

I'll go smoke a cigarette outside and ill be back in no time.

Frederic_Plante:
Ok so this is not your board,

http://imall.iteadstudio.com/development-platform/im120417017.html

Then my hypothese is that you can only use pin 6 7 8 for software sérial. cause there are the only pin that has jumper.

never the less you should still be able to use the hardware pin 0 and 1 to wright to the sdcard that strange.

I'll go smoke a cigarette outside and ill be back in no time.

hmmmm same board but the gps moudel is
ublox
NEO-6M-0-001

the NEO-6M-0-001 should have a default baud rate of 9600 so back to square 1 lol.

Have you change that rate by any mean, let's say by changing a jumper?

try this:

http://forum.arduino.cc/index.php?action=dlattach;topic=51836.0;attach=389

Frederic_Plante:
the NEO-6M-0-001 should have a default baud rate of 9600 so back to square 1 lol.

Have you change that rate by any mean, let's say by changing a jumper?

hmmmm so i edit the code to baud rate 9600 ?!

hmmm ya i change the jumper !!!

Frederic_Plante:
try this:

Arduino GPS Shield - Products and Services - Arduino Forum

it have many errors =_=

GPS_from_Dexter_Industries_Example_Code:61: error: invalid conversion from 'int' to 'const uint8_t*'
GPS_from_Dexter_Industries_Example_Code:61: error: initializing argument 1 of 'virtual size_t Print::write(const uint8_t*, size_t)'

Ok so let's get serious data.

If you have a caméra, can you take pictures of your board from close enogh so i can read, and of bolth side

Ok no forget about that code, for sure it's not the same kind of gps any way. I wanted you to try cause it look like it's using a similar pin out.

Frederic_Plante:
Ok no forget about that code, for sure it's not the same kind of gps any way. I wanted you to try cause it look like it's using a similar pin out.

hmmm ok just wait 20min and i will back to take pic and upload it
as i woke up from 5am and from 12pm works on just the gps =( and now 10:41pm i need small shower to refresh my body lol

these r the pic





Sorry, I'm getting old and I've fallen a sleep. lol

Ok, by the picture, you got some weird Jupper setting

Try putting it back like it was orriginaly

Like:
http://imall.iteadstudio.com/media/catalog/product/cache/1/image/9df78eab33525d08d6e5fb8d27136e95/i/m/im120417017_8.jpg

this and then try the original code

Cause I'm not totally sure that your Interrupt jumper are necessary first, and also I'm pretty sure that they are supposed to go the other way, well like vertically instead of horizontally.

Then why don't you use real jumper instead of Dupont cables, it must drive you mad?

finaly at bottom left, near the analog input, what are those jumper for?