chazapis / trackuino

Arduino APRS tracker
GNU General Public License v2.0
2 stars 1 forks source link

no gps data out #1

Open oz2evp opened 11 years ago

oz2evp commented 11 years ago

Hi ,

When i set it up the gps data dosent come out on the APRS side

it sends

/000000h0000.00N/00000.00E>000/000/A=000000/Ti=-21/V=5686 Trackuino test! 73

If i use the debug the data comes in the serial monitor when i push reset button on the Arduino

Do you have an idea of where its wrong ??

Best regards . OZ2EVP / Erik

chazapis commented 11 years ago

Hi Erik!

From the zeros in the packet it seems that the GPS does not yet have a valid fix on your position. It should start sending out packets after getting the first position.

If this is not the case, double-check your configuration to make sure you are expecting data from the apropriate pins. Audio should use pin 3, because of the interrupt code.

Antony

73 de SV1OAN

oz2evp commented 11 years ago

Hi again

I have taken it outside and set it up ..

But still no Gps data or TX led .

i am using a Garmin X18 pc gps unit .

When i push reset the TX led lights up so i belive that it should do the same while running in normal mode

chazapis commented 11 years ago

Does the GPS work with a much simpler sketch? Try a program that just reads the data from the serial input and prints it out, so we can rule out that this is a GPS problem.

oz2evp commented 11 years ago

Yes the gps works :-D

The tx led only comes up when the usb is connected to a computer , so it only gets data when connected . i had it running with the Arduino connected to my pc for some time and it print my location , but as soon as i disconect it stops reading from the gps . But still not transmit my position otherwise.

Does the arduino ask for the next package or does it wait for it ??

oz2evp commented 11 years ago

Ups didnt mean to close it :-D

oz2evp commented 11 years ago

And only when the computer accepts the usb it will run.

I have tryed alot of setups but only the setup above Works , and still dont send the gps data out

oz2evp commented 11 years ago

I have found out that the Garmin does not send nmea out . And i will need a rs232 to TTL converter . Thanks for your help so far ..

I come back when i got it running

Vy 73 de OZ2EVP / Erik

chazapis commented 11 years ago

You should see the GPS output at the serial console when running the sketch with DEBUG_GPS on (remove the comment from config.h).

I am currently experimenting with another GPS unit - a GlobalSat BR-355 - which does not output TTL as well. I have added a transistor in between the GPS TX signal and Arduino's RX, effectively reversing the signal and transforming it to TTL level. It works. I just uploaded the updated Eagle files.

Check it out and let me now... Again, the first goal is to see the NMEA sentences at the debug console.

oz2evp commented 11 years ago

thanks for the info . i will try it as soon as posible

oz2evp commented 11 years ago

Now ii have NMEA data on the serial monitor .. But as soon as i remove the usb and use the 12 V input the Arduino does not light in TX led ..

oz2evp commented 11 years ago

In my serial monitor i get

$GPVTG,,T,,M,,N,,K,N_2C (OK!) 169 $GPGGA,000541.978,,,,,0,00,50.0,,M,,,,0000_28 (OK!) 1016 $GPGSA,A,1,,,,,,,,,,,,,50.0,50.0,50.0_05 (OK!) 1113 $GPGSV,3,1,12,21,00,000,,10,00,000,,25,00,000,,09,00,000,_74 (OK!) 1255 $GPGSV,3,2,12,07,00,000,,03,00,000,,11,00,000,,15,00,000,_7B (OK!) 1396 $GPGSV,3,3,12,02,00,000,,30,00,000,,01,00,000,,26,00,000,_7E (OK!) 1538 $GPRMC,000541.978,V,,,,,,,250104,,,N_49 (OK!) 1632 $GPVTG,,T,,M,,N,,K,N_2C (OK!) 1689 $GPGGA,000542.978,,,,,0,00,50.0,,M,,,,0000_2B (OK!) 2015 $ [2024] OZ2EVP-9>APRS,WIDE2-1:/000000h0000.00N/00000.00E-000/000/A=000000/Ti=43/V=7496 OZ2EVP TESTER ! t(fast,avg,slow)=139,145,300; pos=544/1321; sam=1; overruns/isr=4/68693 GPRMC,000542.978,V,,,,,,,250104,,,N_4A (OK!) 60021 $GPVTG,,T,,M,,N,,K,N_2C,M,,N,,K,N_2C (OK!) 60083 $GPGGA,000641.974,,,,,0,00,50.0,,M,,,,0000_27 (OK!) 60898 $GPGSA,A,1,,,,,,,,,,,,,50.0,50.0,50.0_05 (OK!) 60993 $GPGSV,3,1,12,21,00,000,,10,00,000,,25,00,000,,09,00,000,_74 (OK!) 61135 $GPGSV,3,2,12,07,00,000,,03,00,000,,11,00,000,,15,00,000,_7B (OK!) 61277 $GPGSV,3,3,12,02,00,000,,30,00,000,,01,00,000,,26,00,000,_7E (OK!) 61419 $GPRMC,000641.974,V,,,,,,,250104,,,N_46 (OK!) 61512 $GPVTG,,T,,M,,N,,K,N_2C (OK!) 61570 $GPGGA,000642.974,,,,,0,00,50.0,,M,,,,0000_24 (OK!) 61895 $GPRMC,000642.974,V,,,,,,,250104,,,N*45 (OK!) 61989 $GPVTG,,T,,M [62024] OZ2EVP-9>APRS,WIDE2-1:/000000h0000.00N/00000.00E-000/000/A=000000/Ti=11/V=6629 OZ2EVP TESTER ! t(fast,avg,slow)=139,145,299; pos=512/1321; sam=1; overruns/isr=4/68693