Hi, can anyone tell me if it is possible to connect MKR wifi 1010 to a GPS module?
Because the SoftwareSerial.h library does not work.
I have an GT-U7 GPS module with chip UBLOX compatible NEO-6M STM32.
Thanks.
Daniel
Hi, can anyone tell me if it is possible to connect MKR wifi 1010 to a GPS module?
Because the SoftwareSerial.h library does not work.
I have an GT-U7 GPS module with chip UBLOX compatible NEO-6M STM32.
Thanks.
Daniel
idaniel70:
Hi, can anyone tell me if it is possible to connect MKR wifi 1010 to a GPS module?
Because the SoftwareSerial.h library does not work.
I have an GT-U7 GPS module with chip UBLOX compatible NEO-6M STM32.Thanks.
Daniel
Resolved! I have used Serial1.begin(9600);
Can you give a little more info on how you got this working. I have a MKR 1010 WiFi and a NEO-6M gps module. I have connected the TX and RX pins from the gps to pins 13 and 14 on the Arduino and tried Serial1.begin(9600) with no luck.
Any advice would be great.
Here is my code:
#include <TinyGPS++.h>
TinyGPSPlus gps;
void setup() {
Serial1.begin(9600);
}
void loop() {
while (Serial1.available()) {
if (gps.encode(Serial1.read())) {
String msg = Serial1.readStringUntil('\r');
Serial.print(msg);
// Delay between updates
delay(2000);
}
}
}
I had my Tx and Rx pins backwards.
Tx on the gps goes to Rx on the Arduino.
Rx on the gps goes to Tx on the Arduino.
joshhorn:
Can you give a little more info on how you got this working. I have a MKR 1010 WiFi and a NEO-6M gps module. I have connected the TX and RX pins from the gps to pins 13 and 14 on the Arduino and tried Serial1.begin(9600) with no luck.Any advice would be great.
Here is my code:
#include <TinyGPS++.h>
TinyGPSPlus gps;
void setup() {
Serial1.begin(9600);
}
void loop() {
while (Serial1.available()) {
if (gps.encode(Serial1.read())) {
String msg = Serial1.readStringUntil('\r');
Serial.print(msg);
// Delay between updates
delay(2000);
}
}
}
Add "Serial.begin(9600)" in the setup and everything should work
Hi! I'm trying to conect a GPS6MV2 to my Mkr Wifi 1010, but I'm failing.
Could you make it work?
I'm having issues to make it work.
Im having the same problem. All my wires are connected up properly and I've tried a number of baud rates and yet still I cant get any sense from the gt-u7. what a pain.
I have spent the last few days playing around with getting a Neo-6M wprking.
The general rules are:
GPS TX - Arduino Rx
GPS RX - Arduino Tx
Default Baud rate from the module is 9600 (Don't try any of the others - they won't work)
The final and probably most crucial bit of advice I discovered was:
The GPS module needs more current to boot and begin sending data then a Arduino with a usb port can provide.
Try plugging it into an external 3V3 power source (and make sure to link the GNDs together)
(I don't know if this is strictly the case everytime but it definitely solved all my issues)