Mega vs UNO

Why dont I get any signals from my GPS-device on my Mega when is working in my UNO?
I use same sketch,same pins etc. :~

Bertil

could you give us some more info please? with this question we'll not be able to help you

  • code?
  • pins?
  • connections?

The code I use "test_with_gps_device.ino" from "TinyGPS".
I use pin 2(rx) and pin 3(tx), (I use my Tektronix 2235 oscilloscope to check).
The GPS-device via a "Arduino microSD Shield " which I move betwen Mega and Uno.

/Bertil

The code I use "test_with_gps_device.ino" from "TinyGPS".

That doesn't help. Post the code you are using, or at least a link to where you got it.

I use pin 2(rx) and pin 3(tx), (I use my Tektronix 2235 oscilloscope to check).

Does that mean you are using SoftwareSerial?

Not all pins on the Mega and Mega 2560 support change interrupts, so only the following can be used for RX: 10, 11, 12, 13, 50, 51, 52, 53, 62, 63, 64, 65, 66, 67, 68, 69

If you are, then I suggest you change the sketch when you use it on the Mega, to use one of its other hardware serial ports.

That doesn't help.

It does if you are familiar with the library and sketch in question.

Does that mean you are using SoftwareSerial?

Yes, that sketch uses SoftwareSerial, so it is not appropriate for use on a Mega without revision.

Thank you dxw00d, you made my day :grin:
"All probems are easy when getting the answer"

/Bertil

It's as easy as 1, 2, 3...

Doc