TinyGPS+ neo-7 avrdude

I am trying to programm my neo-7 Gps modul with TinyGPS+ and it looks like there is no problem while compiling. But I get this error:

avrdude: WARNING: invalid value for unused bits in fuse "fuse5", should be set to 1 according to datasheet
This behaviour is deprecated and will result in an error in future version
You probably want to use 0xcd instead of 0xc9 (double check with your datasheet first).

And in the Serial Monitor i get those signs: ⸮f,G⸮⸮Щ4⸮⸮T
Pleas Help!

Hi,
What model Arduino are you using?
Can you please post your code. (With code tags).

Thanks.. Tom... :smiley: :+1: :coffee: :australia:

Hi Tom,
I am using a arduino uno WiFi rev2 and (as often) right after searching for help i found a solution for part of the problem. I dont know hot this could happen to me but I forgot to change the Baud Rate of the Serial Monitor. Well now it somehow works but it wont find the GPS.

Serial Monitor:
Robojax GPS Demo
A simple demonstration of TinyGPS++ with an attached GPS module
Testing TinyGPS++ library v. 1.0.2
by Mikal Hart

No GPS detected: check wiring.

Well. I have no Antenna and there were some people who Told me i dont really need one. The problem may has occured because of that??? If yes do you by any chance know what kind of antenna i need?

Thanks! Nadim

Edit: I am using The pre programmed file from the TinyGPS++ library with Rx connected to my 0(rx)pin and tx connected to my 1(tx) pin

Hi,

You need to connect Tx of the Arduino to Rx of the Neo, and Rx of the Arduino to TX of the Neo.

Tom... :smiley: :+1: :coffee: :australia:

1 Like

Yes i know i did that and it still cant find my GPS. Do i need an antenna or is it already built in?
Thanks in advance!

Hi,

Post a picture of your project.
Post a schematic.
If you sit it next to a window for 1/2 hour see what happens?

Thanks... Tom... :smiley: :+1: :coffee: :australia:

Hey. Here is a Picture and also a second one on which you can see a little chip in the module. Is that bad?
Thanks!


That might be your problem. Pins 0 and 1 are used for the hardware serial port connecting the Arduino to the USB port. If you are trying to use them to talk to the GPS, then there's a conflict with the serial monitor.
Is it possible to move the GPS to another set of pins, like 2 and 3?

Yes i could move them to another Pin but on the Arduino uno WiFi rev2 the 0 and 1 Pins are the rx and tx pins.

With the Neo TX pin connected to the Uno TX pin and if you press and hold the Uno's reset button, you should be able to see the Neo's raw output in the monitor. Holding the reset pin down prevents the sketch from running. You don't need to worry about connecting the Neo RX pin to anything.

Since your Neo board has a USB port, you can connect that to your PC's USB port without using the Uno and the output should appear in the monitor.

Unfortunately that does not work. So I understood correctly, I should connect everything and then just long press the reset button and look at the serial monitor, right?
I also need the GPS connected to the arduino for a project that includes other hardware.

Hi,
Your GPS has an antenna socket, so you will need to have one.
It won't have a built in antenna and an open circuit antenna socket.

We need to see your code.....

Can you post a link to where you purchased the GPS?
Can you post a hand drawn circuit of your project?

Can you please remove the shield you have on top of the UNO WiFi for the moment, it is not necessary at the moment.

Thanks.. Tom... :smiley: :+1: :coffee: :australia:

Hi,
Check the schematic for the UNO WiFi, I don't think D0 and D1 in this case are also the programming TX/RX.
I'm not sure why they called it a UNO WiFi because I can't see anything remotely like the UNO.

But;
The Tx of the UNO has to be connected to the Rx of the NEO.
The Rx of the UNO has to be connected to the Tx of the NEO.
Its standard UART connections.

Tom... :smiley: :+1: :coffee: :australia:

Yes, you understand correctly. You will need to ensure the IDE is connected to the correct port and its baud rate is 9600.

It s very useful to have an easy way to quickly see the GPS output. So this is not intended to be a permanent way of using the GPS. Since you are not seeing any output, you need to work out why.

It looks like your header pins are not soldered to the GPS board. That's okay as long as they are in contact.

What about using the USB port? That really is the simplest way to view the output.

Hi,

It is not okay, that can be a major fault, you cannot guarantee proper and stable connection.

If you do not have them soldered, then before you do anymore "trouble shooting " get them soldered.

Tom... :smiley: :+1: :coffee: :australia:

I gather the OP is at the early stages of exploring this device and is using a temporary setup. I feel soldering should be left until you know exactly how you are going to install the board. They do not stand up well to soldering/de-soldering. I've just ruined a GPS board by pulling off the metal lining of the VCC through-hole during de-soldering.

And on the matter soldering, do you prefer leaded to non-leaded? I sure do.

Hi,

There is only one solder, Leaded..... the rest is equivalent to BlueTac.

Buy two units, solder one for prototype. I very rarely by 1 of anything, usually 2 or more if discounted.

That way you always have the "working" prototype on hand while trying to get the final item debugged.

Tom.. :smiley: :+1: :coffee: :australia:

Leaded solder is far easier to work with if you're hand soldering things. That said, if there's any chance of you ending up working for a manufacturer, it's a good idea to at least get used to lead free solder.

I've been damaging boards when de-soldering unleaded connections. The iron is on the joint for too long and damages the board's surface. The thru-hole lining can be dislodged.

Hi,
Unfortunately i am not working from home right know (in a library because it is a school project) and i dont have any paper here only my laptop and components. I attached two pictures and basically all i connected were the 5V pin to the 5V pin of the Gps the Gnd Pin to the Gnd Pin of the Gps and then 0->Rx to the RXD pin of the Gps and 1<-TX to the TXD Pin of the GPS.

I took away the Shield now and i am going to buy an Antenna in a Store now. Do you by any Chance know what antenna i need? Just any GNSS antenna? Thanks!

I bought the U-blox Neo-7 for Arduino module here:
WPI430 | Velleman U-Blox NEO7 Satellitennavigationsmodul für Arduino | Distrelec Schweiz

And for The Code i am using the Device Example in the TinyGPS Plus library (of course i changed the baud rate and pins)

#include <TinyGPSPlus.h>
#include <SoftwareSerial.h>
/*
   This sample sketch demonstrates the normal use of a TinyGPSPlus (TinyGPSPlus) object.
   It requires the use of SoftwareSerial, and assumes that you have a
   4800-baud serial GPS device hooked up on pins 4(rx) and 3(tx).
*/
static const int RXPin = 0, TXPin = 1;
static const uint32_t GPSBaud = 9600;

// The TinyGPSPlus object
TinyGPSPlus gps;

// The serial connection to the GPS device
SoftwareSerial ss(RXPin, TXPin);

void setup()
{
  Serial.begin(115200);
  ss.begin(GPSBaud);

  Serial.println(F("DeviceExample.ino"));
  Serial.println(F("A simple demonstration of TinyGPSPlus with an attached GPS module"));
  Serial.print(F("Testing TinyGPSPlus library v. ")); Serial.println(TinyGPSPlus::libraryVersion());
  Serial.println(F("by Mikal Hart"));
  Serial.println();
}

void loop()
{
  // This sketch displays information every time a new sentence is correctly encoded.
  while (ss.available() > 0)
    if (gps.encode(ss.read()))
      displayInfo();

  if (millis() > 5000 && gps.charsProcessed() < 10)
  {
    Serial.println(F("No GPS detected: check wiring."));
    while(true);
  }
}

void displayInfo()
{
  Serial.print(F("Location: ")); 
  if (gps.location.isValid())
  {
    Serial.print(gps.location.lat(), 6);
    Serial.print(F(","));
    Serial.print(gps.location.lng(), 6);
  }
  else
  {
    Serial.print(F("INVALID"));
  }

  Serial.print(F("  Date/Time: "));
  if (gps.date.isValid())
  {
    Serial.print(gps.date.month());
    Serial.print(F("/"));
    Serial.print(gps.date.day());
    Serial.print(F("/"));
    Serial.print(gps.date.year());
  }
  else
  {
    Serial.print(F("INVALID"));
  }

  Serial.print(F(" "));
  if (gps.time.isValid())
  {
    if (gps.time.hour() < 10) Serial.print(F("0"));
    Serial.print(gps.time.hour());
    Serial.print(F(":"));
    if (gps.time.minute() < 10) Serial.print(F("0"));
    Serial.print(gps.time.minute());
    Serial.print(F(":"));
    if (gps.time.second() < 10) Serial.print(F("0"));
    Serial.print(gps.time.second());
    Serial.print(F("."));
    if (gps.time.centisecond() < 10) Serial.print(F("0"));
    Serial.print(gps.time.centisecond());
  }
  else
  {
    Serial.print(F("INVALID"));
  }

  Serial.println();
}

Here the two pictures:


And Thanks for all the Help :grin: :pray: :pray: :pray:

Edit: and the little chip on the bottom of the module isnt bad right?