AW: Turnigy 9x in Arduino mit Multiwii Pro
Hallo,
Zuerst einmal vorweg, möchte ich mich noch einmal bei euch bedanken. Denn mein Copter fliegt wie eine eins :mrgreen:.
Jetzt würde ich gern die Funktion Position Hold nutzen da traten zwei Probleme auf. Zunächst einmal kann ich irgendwie meinen AUX 2 nicht einprogrammieren, ich habe
den CH6 meines Empfängers mit dem Steckplatz A13 verbunden und dem CH6 den schalter THR. Cut zugewiesen (Turnigy 9X) wenn ich jetzt die Funktion P.H. dem AUX2 Zuweisen will geht das auch ABER wenn ich den schalter betätige passiert garnix Im MultiwiiConf Programm kann ich sehen das die Throttle Knüppel den AUX2 Betätigt und nicht mein schalter. Wie kann ich dies ändern?
Nun zu meinem zweiten Problem ... Die Aktivierung den GPS Moduls
das GPS Modul ist das welches bei dem Board dabei war (Multiwii Pro Flight Controller von HK) Ich habe es auf dem bord angeschlossen wie beschrieben
(GND>GND ; TXA>RX2 ;RXA>TX2 ;VCC>VCC) Und in der Config.H ist es auch aktiviert.
In meinem Multiwiiconf hat ies keinerlei Verbindung zum Satelliten und die Rote LED auf dem board leuchtet dauerhaft rot. Was Kann/muss ich tun damit dies funktioniert?
ZitatAlles anzeigen/**************************************************************************************/ /*********************** GPS **************************/
/**************************************************************************************/
/* GPS using a SERIAL port
if enabled, define here the Arduino Serial port number and the UART speed
note: only the RX PIN is used in case of NMEA mode, the GPS is not configured by multiwii
in NMEA mode the GPS must be configured to output GGA and RMC NMEA sentences (which is generally the default conf for most GPS devices)
at least 5Hz update rate. uncomment the first line to select the GPS serial port of the arduino */
#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
MTK_BINARY16 and MTK_BINARY19 - MTK3329 chipset based GPS with DIYDrones binary firmware (v1.6 or v1.9)
With UBLOX and MTK_BINARY you don't have to use GPS_FILTERING in multiwii code !!! */
//#define NMEA
//#define UBLOX
//#define MTK_BINARY16
//#define MTK_BINARY19
#define INIT_MTK_GPS // initialize MTK GPS for using selected speed, 5Hz update rate and GGA & RMC sentence or binary settings
Danke schon mal im voraus.
Mfg Ole