i had purchased gps linksprite shield v3 arduino ebay couple month ago , figure out shield still not function well. turn on led , noting happens @ serialcom when uploaded example code arduino leonardo.
i'm using code, , let on day (outdoor antenna) still not working:
as written http://linksprite.com/wiki/index.php5?title=gps_shield_with_sd_card_slot_for_arduino_v3.0_with_external_gps_antenna
code: [select]
void setup()
{
serial.begin(9600);
}
void loop()
{
if (serial.available() > 0)
{
serial.print(char(serial.read()));
}
}
is there problem code??.. need jumpers or setting tx, rx??..
according datasheet :
gps shield:
rx - 21
tx - 20
arduino:
tx - 1
rx - 0
you using leo? read serial , output serial1. like:
code: [select]
void setup()
{
serial.begin(9600);
while (!serial)
{
;
}
serial1.begin(9600);
while (!serial1)
{
;
}
}
void loop()
{
if (serial.available() > 0)
{
serial1.print(char(serial.read()));
}
}
Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > GPS Shield with SD card slot for Arduino V3.0 with external GPS antenna
arduino
Comments
Post a Comment