NMEA serial GPS not working anymore on R1177

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
Post Reply
User avatar
dramida
Posts: 473
Joined: Mon Feb 28, 2011 12:58 pm
Location: Bucharest
Contact:

NMEA serial GPS not working anymore on R1177

Post by dramida »

I tried to setup an NMEA GPS (Mediatek 3329) on serial 2 and in spite of all my efforts, the led does not flash (neither the GUI). Tested on 38400 baud, after re-flashing GPS with Eod Bandi recomanded 1.51 NMEA 5Hz firmware. Needless to say that GPS is working (tested with MiniGps 171 and OSD display) and i double-checked the wires and i tried to setup MWC without OSD signal derivation.

Have i done something wrong here? (or is just another tini-winni bug?)

Code: Select all

    #define GPS_SERIAL 2 // should be 2 for flyduino v2. It's the serial port number on arduino MEGA
    #define GPS_BAUD   38400

    #define NMEA
    //#define INIT_MTK_GPS        // initialize MTK GPS for using selected speed, 5Hz update rate and GGA & RMC sentence

     #define GPS_LED_INDICATOR


PS. Why using NMEA? because i want to use same GPS for MWC and Remzibi OSD :)

cGiesen
Posts: 188
Joined: Wed Jul 18, 2012 7:53 am
Location: Bochum, Germany

Re: NMEA serial GPS not working anymore on R1177

Post by cGiesen »

Are you sure, that 38400 Baud is correct?
Normaly it's 115200

flyrobot
Posts: 73
Joined: Thu Apr 05, 2012 3:59 pm

Re: NMEA serial GPS not working anymore on R1177

Post by flyrobot »

I just flying r1177 with flyduino mega and FMP04 with 38400. It works ok.
I think the baud rate setting on the GPS was changed after you flash with new firmware. If im not wrong on MTK chipset, if we choose 5Hz the baud rate can be higher than 38400 (115200), we choose 38400 its because we need 10Hz.

But on RTH and head adj active the feature automatic head point to home and after reach home the head point to when it start is not working anymore.

John

carlonb
Posts: 210
Joined: Sun Apr 03, 2011 6:29 pm

Re: NMEA serial GPS not working anymore on R1177

Post by carlonb »

try to uncomment "//#define INIT_MTK_GPS" in config.h file, may be it initializing better your GPS without changing baud rate (38400bps), I saw some time delay problems opening the serial port.

Carlo

keukpa
Posts: 7
Joined: Thu Jun 14, 2012 8:43 pm

Re: NMEA serial GPS not working anymore on R1177

Post by keukpa »

I had this problem too! I couldn't get a serial GPS on a Crius AIO Pro v1.1 to work, after some playing about I managed to get it working by doing the following:

Post #3

viewtopic.php?f=8&t=2542

HTH

Keukpa

kavehslt
Posts: 11
Joined: Tue Jan 01, 2013 6:04 pm

Re: NMEA serial GPS not working anymore on R1177

Post by kavehslt »

hi every one

i used mtk3339 it works correctly.

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: NMEA serial GPS not working anymore on R1177

Post by Hamburger »

Default serial speed for gps was changed from 115k to 56k. It is a setting in config.h. . Even with speed mismatch MWii still reports status ok but of course never gets meaningful data.

Post Reply