Mega2560 often cannot read the GPS
Posted: Mon Nov 19, 2012 2:20 pm
Hi guys.
I have a problem about my Mega2560 board connect with NEO-6M GPS.
When I using a FTDI to connect the Mega2560 board (5V power by the FTDI). The GPS is worked fine.
But when the 5V supplied by ESD, the GPS often cannot read (GPS LED flashing).
I have try the r1177, r1232 & r1240.
I modifed the config.h as bleow:
#define GPS_SERIAL 2 // should be 2 for flyduino v2. It's the serial port number on arduino MEGA
#define GPS_BAUD 57600
//#define GPS_BAUD 115200
/* GPS protocol
NMEA - Standard NMEA protocol GGA, GSA and RMC sentences are needed
UBLOX - U-Blox binary protocol, use the ublox config file (u-blox-config.ublox.txt) from the source tree
With UBLOX you don't have to use GPS_FILTERING in multiwii code !!! */
//#define NMEA
#define UBLOX
Anybody can help me to solve this problem. Thank a lot!
DIYBoy
I have a problem about my Mega2560 board connect with NEO-6M GPS.
When I using a FTDI to connect the Mega2560 board (5V power by the FTDI). The GPS is worked fine.
But when the 5V supplied by ESD, the GPS often cannot read (GPS LED flashing).
I have try the r1177, r1232 & r1240.
I modifed the config.h as bleow:
#define GPS_SERIAL 2 // should be 2 for flyduino v2. It's the serial port number on arduino MEGA
#define GPS_BAUD 57600
//#define GPS_BAUD 115200
/* GPS protocol
NMEA - Standard NMEA protocol GGA, GSA and RMC sentences are needed
UBLOX - U-Blox binary protocol, use the ublox config file (u-blox-config.ublox.txt) from the source tree
With UBLOX you don't have to use GPS_FILTERING in multiwii code !!! */
//#define NMEA
#define UBLOX
Anybody can help me to solve this problem. Thank a lot!
DIYBoy