Has anybody seen this behavior before. When the MediaTek MT3329 is hooked up I see some sort of noise in the read outs. Several of the indicator jump at a specific intervals. I’m able to run both the NMEA and MTK Binary test code ok and reports back correct information. There also seems to be a pause in the data stream when viewing the com port with serial monitor. The two test GPS programs kick back a fairly constant stream.
Background history, I had troubles first using the MTek for testing ArduPilot Meaga in binary mode. I needed to switch to it using the codes below found in link on the
store website.
Serial1.print("$PGCMD,16,0,0,0,0,0*6A\r\n"); // Custom binary protocol
OrSerial1.print("$PGCMD,16,1,1,1,1,1*6B\r\n"); // NMEA
Configurations
MTek in Binary mode – Same result
MTek in NMEA mode – Same resultUnhook MTek – sensors stabilize
ArduPilotMega
OilPANNo other hardware connected
Replies
In lines 678-680, change to this:
// Serial.print(GPS.Lattitude);
// Serial.print(",");
// Serial.print(GPS.Longitude);
Before I commented this out, instead of the configurator showing 1.2 in the upper left where it says Flight Software Version, it would show my GPS latitude. After commenting it out, it correctly shows 1.2 and there are no spikes in the sensor readings. I came upon this after looking at the code I had backed up from when I had everything working and going through all of the changes that had been made between the two. I am using the MT3329 GPS with the GPS_MTK library.
Thanks for the reply. I'm just a little overly enthusiastic with the project and the community. I love this stuff. I will hold tight until the official release. I might have to buy a second board so I bug the ArduPilot Megas guys also ;)
Cheers
Modified the cable going from the APM to the GPS adapter only discontenting the tx. Everything stabilized. I'm thinking I got my GPS in a unsupported or mode refresh rate ect... or the alpha software dose not understand the stream and is not decoding the signals from the GPS and AMP correctly (False positive). To further look into this using the APM_ADC_test with the following results. This is with the GPS tx hooked backup and is the only item hooked to the APM/OilPan no other RC equipment or sensors. If it matters its being powered VIA the mini usb connector on the OilPan.
Hope this helps anybody else seeing the same issue.
Cheers
Thank you for the reply, I will start tracking down that direction.