We need to increase the distance between our 3DR Compass/GPS module and the Pixhawk due to magnetic interference from onboard systems (APM:Plane)
When doing this it would be great to reduce the number of wires too, as ground and +5V are common to both but I can’t seem to find the pinouts for the GPS and compass in the wiki to see what wires can be omitted (if any) or duplicated.
First of all, compass is I2C and therefore SCL and SDA. You will need 6 wires. Pos, Neg, Tx, Rx, SCL, SDA. That assumes there is a 3V regulator running the VCC for the compass. I think there is. Btw, you can get this for $34 at infinity hobby.
I thought ur goal was to reduce wiring?
Compass chip is 3.3v they hav a regulator. This same combo works on APM. The APM I2C is 3.3V
Anyway, if ur happy that’s all that counts. I hav GPS n compass with total of 6 wires. I wouldn’t b surprised if 5v trace is common to GPS n compass. That way they can be used separate or together. See stand alone compass on 3DR site. It has regulator but has to b bridged for either 3.3 or 5v