Hi,  I have been setting up the APM+oilpan with MediaTek GPS with the public Beta. I am not geting a GPS lock signal displayed from the ABC led's. But it will get a GPS lock with lat. and long. displayed in the CLI when testing via USB in dump mode. Only geting a constant flash from the ABC led's in fly mode after IMU Calibration. Is there anything simple I have missed here?

 

Cheers Paul

Views: 44

Reply to This

Replies to This Discussion

I'm not following. What does "dump mode" mean? Is your LED sold on the GPS module itself?
Sorry Chris, Poor choice of words on my part, Was meaning when the slider switch set for use with the CLI. Yes the GPS 3DFIX light is solid. I also have noticed on the GPS test on the CLI it was not picking up any sat. locks but still displaying Lat and long. Am I correct in thinking the GPS is actually getting a lock, hence the 3dfix led being solid, and perhaps an issue between the GPS and APM?
It always displays #sats = 0 (see sample data). That's not a problem. But the ABC LEDs should go solid.
Ok, at least its working in the CLI test, the ABC Led's are solid during the test, But still only getting the flashing ABC's during normal fly mode, Have had it on outside for over 30mins with no luck
Have just found out it will boot up correctly and get GPS lock showing on the ABC led's when powered from the USB with the slider switch set to fly. Just won't get the lock indication when powered via the reciever.
Paul,
Does your SJ1 solder jumper #1 have a bead of solder on it? If yes, then the APM is powered from the ESC (via the throttle out servo connector). If not, then it isn't and another battery would be used to power the APM.
Do you get get all the LEDs on the APM as well as the flashing LEDs (that stop flashing after the IMU calibration) on the IMU board?
Paul, I have verified this bug and filed an issue. In the future, please file an issue yourself--the developers are not regularly monitoring the forums.
Paul,

Measure the voltage between pins 1 & 8 on the MediaTek GPS. If it is less than 3.12 vdc then you are probably going to have problems getting a lock when on the UBEC.
You might try bending the little ears (tabs) on the back end of the negative plate of the battery holder under the interface board. Sometimes the ears get pushed into the positive plate of the battery holder and drop the regulator voltage below the allowable limit.
The regulator on my MediaTek was putting out 3.06 vdc and I was having trouble maintaining a reliable lock. After bending the ears away from the positive plate of the battery holder with my finger nail, I was able to always get a reliable lock. However, I sent the MediaTek GPS back to Jordi because 3.06 vdc is way out of spec and my other two MediaTek GPS/interface boards read 3.12 vdc or higher and always reliably lock.

Regards,
TCIII
The SJ1 is bridged with solder, and It has been running off the ESC's BEC. The lights on APM are indicating as they should and everything else seems to be fuctioning well when connected to the CLI. just cant get the GPS fix lights on initial powerup.

I measured the voltage between 1 and 8 pin on the MediaTek and I am getting 3.12v.
If I boot the board up and wait for the 3DFIX light on the MTek, I can then hit the reset button on the oilpan, let the it reboot and it will then show a GPS Lock. It seems to only not get the lock from an initial powerup.

Chris:
Thanks for doing that, I was not sure whether to do that or not, I will do so in future.

Cheers Paul
Paul, thanks--that's good info for debugging. Sounds like it might be a timing error. I've noted your additional info in the issue report.
As far as not getting GPS lock on the initial powerup, I almost always have that happen and I have a UBLOX. I am simply used to it now and just accept that I have to reboot once.
I also did not get any GPS data (although the adapter board signalled a lock) and I tried about 10 times power cycling the board. Then I noticed that the GPS_MTK library has been changed (now AP_GPS_MTK) and that somebody had removed the delay in the Init function. Now I changed the init to contain
delay(500);
_port->print(MTK_SET_BINARY);
delay(500);
_port->print(MTK_SET_BINARY);
delay(500);
_port->print(MTK_SET_BINARY);
delay(500);
_port->print(MTK_OUTPUT_4HZ);
and (you can call me crazy for it) it worked on the first attempt.

RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service