npyoung
(Noah)
September 6, 2020, 8:07am
1
I’m trying to setup an F405 CTR and GPS/compass module. I’m running copter 4.0.3 using the MatekF405 target. I’ve wired up the compass+GPS as shown here under the iNav instructions (Serial using tx/rx4). Serial3/4_Protocol are set to GPS.
The GPS module powers on and I quickly get a blinking blue LED on the GPS indicating signal fix. However in Mission Planner / QGC I get 0 satellites and no other GPS info, and the compass reports as “not healthy” and will not calibrate (bar never grows). Any ideas what’s going on?
NewbyPilot
(Beginner Ardupilot)
February 28, 2021, 9:12pm
2
Hi @npyoung - have you managed to solve this problem? I face something similar…
did you guys found out the issue?
Allister
(Allister Schreiber)
January 26, 2024, 6:25pm
4
It’s an old thread. Be more specific about the issues you’re having and maybe we can help.
1 Like
Thanks for coming in for rescue! Ok when I tried connecting Matek F05 CTR fc with a holybro pixhawk GPs module unable to see any I2C compass and GPS. But gps get powered up and goes for a fix. Does the fc has a internal compass?
Allister
(Allister Schreiber)
January 26, 2024, 6:42pm
6
The F405 CTR does not have a built in compass.
What do you mean unable to see GPS but GPS goes for a fix? When plugged into mission planner do you see the message “No GPS” or “GPS: No Fix”?
Can you explain how you have it wired? Maybe a photo or two?
Yuri_Rage
(Yuri Rage)
January 26, 2024, 6:49pm
7
This is almost certainly a case of mixed up RX/TX (and I2C) wiring or configuring more than one serial port for GPS.
1 Like
I have uploaded latest copter firmware from F405 target.
Attached some pictures
There is a blue gps fix led which blinks if you have a reception- I was taking about that
So what will be the solution
Allister
(Allister Schreiber)
January 26, 2024, 6:58pm
10
The RX from the GPS goes to the TX on the FC.
The TX from the GPS goes to the RX on the FC
Yes. Should I swap? Also did that but no luck
Yuri_Rage
(Yuri Rage)
January 26, 2024, 7:04pm
12
EDIT: I missed a post above.
Allister
(Allister Schreiber)
January 26, 2024, 7:04pm
13
Is this the GPS you’re using?
The M8N GPS has an UBLOX M8N module, IST8310 compass, tricolored LED indicator, and a safety switch. There are 3 different connectors option...
1 Like
Yes that is the one I am using
Allister
(Allister Schreiber)
January 26, 2024, 7:07pm
15
Did it have three connectors on it before the wires were cut off?
Also tried using the latest m9n from holybro
It was a single connector GRH 1.25mm 10P connector
Allister
(Allister Schreiber)
January 26, 2024, 7:15pm
18
I’m picking apart some photos on line so not making any promises this is 100%.
Red to 5v
black to ground
grey to TX
Yellow to rx
the orange and purple are for SCL and SDA. I can’t tell what is what you might have to try one way and then change it if compass isn’t working.
White brown and blue are for the safety switch. You don’t need those.
Purple for SCL and orange for Data. Do you want me to swap that too.
Yuri_Rage
(Yuri Rage)
January 26, 2024, 7:16pm
20
Do this:
You are using the wrong UART and have no I2C connection that I can see.
The Matek’s TX1 and RX1 pins map to SERIAL3 in ArduPilot firmware.