Need help on Gyroscope and GPS

Hi, i have a GY-85 sensor and a GY-NEO6MV2 sensor both attached to an Arduinno Nano board with the following configuration :
GY-85:
-vcc connected into 5V
-gnd connected into gnd

  • scl connected to A5
  • sda connected into A4

GY-NEO6MV2

  • gnd connected to gnd
  • vcc connected into 5v
  • rx into D10
  • tx into D11

and i’ve prepared the following code that i’ve attached.

It seems that its not working since the LED on the GY-NEOMV2 didnt turn on, i’ve also attached what the serial monitor had shown.

Can i get help on what should i do and what did i do wrong?

code.txt (3.61 KB)

The GPS is outside with a good view of the Sky ?

Try this simple echo code to determine if the GPS is working, and has a good satellite fix. Make sure to pick the right connections for TX/RX, using a 5V to 3.3V level shifter if required by the GPS module and the correct Baud rate. And of course, you must be outside, with a clear view of the sky.

#include <SoftwareSerial.h>

SoftwareSerial mySerial(10, 11); //(RX, TX) check correct pin assignments.

void setup() {
  mySerial.begin(9600);
  Serial.begin(9600);
  Serial.println("GPS start");
}

void loop() {
  while (mySerial.available()) {
    Serial.write(mySerial.read());
  }
}

"SoftwareSerial serial_connection(3, 2); //RX=pin 10, TX=pin 11"

What pins are u using? 3&2 or 10&11 ?

It is easy to prove a GPS by connecting to pins 0 & 1, and passing its output stream to the IDE monitor without using any sketch.

John.