What could this be? ... red arrow on pic (now it is carbon and the other module is in use / mounted)
Thx
~~~ edit 1 ~~~
After 1+ hrs of googling + looking with the magnifying glass I ordered tantal-chip-cap 10V 10 µF (... 5 pcs

Thx to TC.
Code: Select all
#if defined(GPS_SERIAL)
#if defined(INIT_MTK_GPS) || defined(UBLOX)
uint32_t init_speed[5] = {9600,19200,38400,57600,115200};
void SerialGpsPrint(prog_char* str) {
char b;
while(b = pgm_read_byte(str)) {
SerialWrite(GPS_SERIAL, b);
#if defined(UBLOX)
delay(4);
#endif
str++;
}
}
#endif
#if defined(UBLOX)
prog_char UBLOX_INIT[] PROGMEM = { // PROGMEM array must be outside any function !!!
0xB5,0x62,0x06,0x01,0x03,0x00,0xF0,0x05,0x00,0xFF,0x19, //disable all default NMEA messages
0xB5,0x62,0x06,0x01,0x03,0x00,0xF0,0x03,0x00,0xFD,0x15,
0xB5,0x62,0x06,0x01,0x03,0x00,0xF0,0x01,0x00,0xFB,0x11,
0xB5,0x62,0x06,0x01,0x03,0x00,0xF0,0x00,0x00,0xFA,0x0F,
0xB5,0x62,0x06,0x01,0x03,0x00,0xF0,0x02,0x00,0xFC,0x13,
0xB5,0x62,0x06,0x01,0x03,0x00,0xF0,0x04,0x00,0xFE,0x17,
0xB5,0x62,0x06,0x01,0x03,0x00,0x01,0x02,0x01,0x0E,0x47, //set POSLLH MSG rate
0xB5,0x62,0x06,0x01,0x03,0x00,0x01,0x03,0x01,0x0F,0x49, //set STATUS MSG rate
0xB5,0x62,0x06,0x01,0x03,0x00,0x01,0x06,0x01,0x12,0x4F, //set SOL MSG rate
0xB5,0x62,0x06,0x01,0x03,0x00,0x01,0x12,0x01,0x1E,0x67, //set VELNED MSG rate
0xB5,0x62,0x06,0x16,0x08,0x00,0x03,0x07,0x03,0x00,0x51,0x08,0x00,0x00,0x8A,0x41, //set WAAS to EGNOS
0xB5, 0x62, 0x06, 0x08, 0x06, 0x00, 0xC8, 0x00, 0x01, 0x00, 0x01, 0x00, 0xDE, 0x6A //set rate to 5Hz
};
#endif
void GPS_SerialInit() {
SerialOpen(GPS_SERIAL,GPS_BAUD);
delay(1000);
#if defined(UBLOX)
for(uint8_t i=0;i<=5;i++){
SerialOpen(GPS_SERIAL,init_speed[i]); // switch UART speed for sending SET BAUDRATE command (NMEA mode)
#if (GPS_BAUD==19200)
SerialGpsPrint(PSTR("$PUBX,41,1,0003,0001,19200,0*23\r\n")); // 19200 baud - minimal speed for 5Hz update rate
#endif
#if (GPS_BAUD==38400)
SerialGpsPrint(PSTR("$PUBX,41,1,0003,0001,38400,0*26\r\n")); // 38400 baud
#endif
#if (GPS_BAUD==57600)
SerialGpsPrint(PSTR("$PUBX,41,1,0003,0001,57600,0*2D\r\n")); // 57600 baud
#endif
#if (GPS_BAUD==115200)
SerialGpsPrint(PSTR("$PUBX,41,1,0003,0001,115200,0*1E\r\n")); // 115200 baud
#endif
delay(10);
}
SerialOpen(GPS_SERIAL,GPS_BAUD);
for(uint8_t i=0; i<sizeof(UBLOX_INIT); i++) { // send configuration data in UBX protocol
SerialWrite(GPS_SERIAL, pgm_read_byte(UBLOX_INIT+i));
delay(4); //simulating a 38400baud pace (or less), otherwise commands are not accepted by the device.
}
#elif defined(INIT_MTK_GPS) // MTK GPS setup
for(uint8_t i=0;i<=5;i++){
SerialOpen(GPS_SERIAL,init_speed[i]); // switch UART speed for sending SET BAUDRATE command
#if (GPS_BAUD==19200)
SerialGpsPrint(PSTR("$PMTK251,19200*22\r\n")); // 19200 baud - minimal speed for 5Hz update rate
#endif
#if (GPS_BAUD==38400)
SerialGpsPrint(PSTR("$PMTK251,38400*27\r\n")); // 38400 baud
#endif
#if (GPS_BAUD==57600)
SerialGpsPrint(PSTR("$PMTK251,57600*2C\r\n")); // 57600 baud
#endif
#if (GPS_BAUD==115200)
SerialGpsPrint(PSTR("$PMTK251,115200*1F\r\n")); // 115200 baud
#endif
delay(10);
}
// at this point we have GPS working at selected (via #define GPS_BAUD) baudrate
SerialOpen(GPS_SERIAL,GPS_BAUD);
SerialGpsPrint(PSTR("$PMTK314,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*28\r\n")); // only GGA and RMC sentence
SerialGpsPrint(PSTR("$PMTK220,200*2C\r\n")); // 5 Hz update rate
#endif
}
#endif
ruffster wrote:I've got it connected to one of the esc bec - do I need to get it powered up before firing up the naze32? I'll give it a go tomorrow and check the tx/rx lines for continuity. Any other ideas as to other things to try would be much appreciated
timecop wrote:MTK init sequences ARE sent with gps_type=2. I haven't tested if MTK3329 (that FMP04 module I got) accepts them or not, but according to the datasheet/protocol PDF, it should.
gps_type=0 is for modules t hat do NOT need any external configuraion and you KNOW thier baudrate ahead of time - i.e. module outputting at 38400 will need that rate to be specified for gps_baudrate or it will NOT get any data.
BrokenRotor: there are no code paths for something like this to be happening.
timecop wrote:I believe gps speed shown is in cm/sec, and if you're expecting accurate speed values from a module that's not moving, well, ...
timecop wrote:MTK init sequences ARE sent with gps_type=2. I haven't tested if MTK3329 (that FMP04 module I got) accepts them or not, but according to the datasheet/protocol PDF, it should.
timecop wrote:BrokenRotor: there are no code paths for something like this to be happening.
DrEvil wrote:I have tested the Eagle Tree GPS V4 modul/dongle with the 209sw ang got it responding and giving data in MWIwin 2.1
Set it to gps_type=0 and 38400 in Cli.
It displayed a speed of 55kmt in my window postwith 6 satelites.
BrokenRotor wrote:Hum, I have configured r209 with PWM and GPS. The weird thing is that if I do not map RTH in GUI I can arm the motors. If I map RTH under any AUX channel, the motors will not arm in the usual way, but if I select RTH active, the motors self arm?
All other channels and functions seem normal in the GUI. Using MultiWiiWin2.1 GUI.
Is this a code bug?
rotary65 wrote:
I am trying to get my Eagle Tree v4 GPS working with my Naze32 under 213. My Naze32 is running PPM. I set gps_baudrate=38400 and gps_type=0. I am running Multiwii Gui 2.1.
Which wires on the GPS did you use for TX and RX into the Naze (red, white, yellow, brown)? The pinout I found for the GPS cable was red=power, white=ground, yellow=tx (data to GPS), brown=rx (data from GPS)..
DrEvil wrote:I'm using Yellow kabel on pin 3 and Brown kabel on pin 4. Power from free motor out pin's.
timecop wrote:Apparently, Gruffy is right.
MW-WinGui 2.1 uses hardcoded boxnames, so when I added angle/horizon modes, all boxes became shifted off by one.
Until EOSBandi fixes it, you can either use windows or android configs by nicodh or use the Java configurator.
timecop wrote:Then get a higher C battery, you need it for that heavy piece of junk. 20C, preferably 40C, should do the job. Nothing to do with naze32 however.
Code: Select all
set gps_type = 1 (not 0 + 2)
set gps_baudrate =
a) Rabbit b) Crius
r212 r218 r212 r218
19200 ok ok - ok
38400 - ok - ok
57600 - ok - ok
115200 - ok - ok
timecop wrote:Are you power-cycling the GPS during that time as well?
GPS will be disabled if there's no valid nmea data within 1 second, I should probably increase that timeout, otherwise the sequence you describe makes no sense, enabling/disabling GPS has no effect on whether it will be found or not next time its enabled.
rotary65 wrote:With r213, I have the Naze32 and my Eagle Tree V3 Logger/OSD Pro successfully sharing the same Eagle Tree GPS V4. The brown Tx line from the GPS is split and connects to pin 4 on the RC Header on the Naze. I set gps_type=0, gps_baudrate=38400 and feature gps (I had missed this last step before). All is working well.
DrEvil wrote:rotary65 wrote:With r213, I have the Naze32 and my Eagle Tree V3 Logger/OSD Pro successfully sharing the same Eagle Tree GPS V4. The brown Tx line from the GPS is split and connects to pin 4 on the RC Header on the Naze. I set gps_type=0, gps_baudrate=38400 and feature gps (I had missed this last step before). All is working well.
Nice to know you got the sharing of GPS data with ET-osd to work.
Kai
kipkool wrote:Hi there. Just for info guys, this dude has just ported OpenPilot to STM32F4 ( Discovery board ), and MPU6050 PiOS is done.
kipkool wrote:I don't have the new Naze32 rev, mine is still ADXL345 based and never could make it works correctly in level mode on my different frames, but I think I'll order TC a new one. All mpu6050 based units I've tested always worked really well here.
timecop wrote:Should be.
If you feel you are wasting your time at any moment, may I direct you towards DJI products.
a944734 wrote:timecop wrote:Are you power-cycling the GPS during that time as well?
GPS will be disabled if there's no valid nmea data within 1 second, I should probably increase that timeout, otherwise the sequence you describe makes no sense, enabling/disabling GPS has no effect on whether it will be found or not next time its enabled.
I am not power-cycling the GPS. It is fed from the receiver and everything is on all the time.
I think increasing this timeout would be a good idea, have my doubts that the lame MTK GPS is able to send data within a single second from system start.
Obviously my remedy routine helps because there is a Naze reset in there - GPS being still powered it is ready to send even before Naze comes back up.
The OpenPilot project perspective on porting.[/url] In a nutshell, they rely on flight controller hardware sales to keep the project going. They write the code and they generally do not wish for it to be ported.
Code: Select all
porting - yea, not gonna happen, not by me, for sure.
high acc_lpf, fixed loop time at 3000 or so, should be fine on defaults without too much vibration.
timecop wrote:Should be.
If you feel you are wasting your time at any moment, may I direct you towards DJI products.