|
|
|
Maybe an issue with the computer?
Old USB 1.0? slow computer? |
|
|
|
|
||
|
Quote:
For the last, 2.6 R5, you need arduino 1.0.1 or arduino 1.0 relaxpatch Here are both available to download http://code.google.com/p/megapirateng/downloads/list http://code.google.com/p/ardupilot-mega/downloads/list |
|
|
||
|
|
|
Touche'
Then hopefully one of these more experienced gentlemen can chime in who actually have experience and the AIO pro in their hands. Is the board mounted on the copter yet? And is it just slow to react like the computer is not getting the info. Or not moving like possible large EMF like from power wires making the mag not see any change to start with? Check your mag solder points as well. Only things I can really suggest if all the other sensors are showing up fine without lag. |
|
|
|
||
|
Quote:
I am looking for more infomation on how to configure the code before you compile it to load to the board etc, plus a trouble shooting guide if such a thing exists My AIOP hasnt arrived yet i am just getting everything i need sorted out ready for it, The first thing i will do when my programmer arrives is flash my ESC's with SimonK firmware. My Quad is assembled and waiting for the FC only Cheers Ben |
|
|
||
|
|
|
The config is minimal.
#define PIRATES_SENSOR_BOARD PIRATES_FREEIMU_4 #define SERIAL_PPM ENABLED (or not) if PPM then below ... #define TX_CHANNEL_SET TX_standard (or JR type) #define CONFIG_BARO AP_BARO_MS5611_I2C if using GPS then... #define GPS_PROTOCOL GPS_PROTOCOL_NMEA ... #define SERIAL2_BAUD 38400 // GPS port then frame type, your own... #define FRAME_CONFIG QUAD_FRAME #define FRAME_ORIENTATION X_FRAME All in APM_config.h |
|
|
|
|
|
Now Iīm trying to run MPNG on my board. The first time ever.
- RC is running - Sensors working - GPS is working So some things are not clear to me: - What is the "CLI" switch on A5 for? - The Missionplaner shows "Armed" / "Disarmed" but I canīt get the motors running! - Piezo Buzzer: // New in 2.0.43, but unused in MegairateNG // MPNG: Piezo uses AN5 pin in ArduCopter, we uses AN5 for CLI switch #define PIEZO DISABLED #define PIEZO_LOW_VOLTAGE DISABLED #define PIEZO_ARMING DISABLED - Where to connect the PIEZO Buzzer on MPNG? |
|
|
|
|
|
The best choice is use "ledflash" option in MWC. You can connect LEDS to pin 33 (just near the buzzer output at pin 32).
In file "config.h" you must set: Code:
/******************************** LED FLASHER ***********************************/ #define LED_FLASHER #define LED_FLASHER_DDR DDRC #define LED_FLASHER_PORT PORTC #define LED_FLASHER_BIT PORTC4 #define LED_FLASHER_SEQUENCE ( (uint8_t) 0 ) // create double flashes // #define LED_FLASHER_SEQUENCE_ARMED ( (uint8_t) (1<<0 | 1<<2) ) #define LED_FLASHER_SEQUENCE_ARMED 0xFF // i dont like flashing leds... // full illumination #define LED_FLASHER_SEQUENCE_MAX 0xFF In file "def.h" you need change section "#if defined(CRIUS_AIO_PRO_V1)" to: Code:
#if defined(CRIUS_AIO_PRO_V1) #define MPU6050 #define HMC5883 #define MS561101BA #define ACC_ORIENTATION(X, Y, Z) {accADC[ROLL] = -X; accADC[PITCH] = -Y; accADC[YAW] = Z;} #define GYRO_ORIENTATION(X, Y, Z) {gyroADC[ROLL] = Y; gyroADC[PITCH] = -X; gyroADC[YAW] = -Z;} #define MAG_ORIENTATION(X, Y, Z) {magADC[ROLL] = X; magADC[PITCH] = Y; magADC[YAW] = -Z;} #define MPU6050_I2C_AUX_MASTER // MAG connected to the AUX I2C bus of MPU6050 #undef INTERNAL_I2C_PULLUPS #define I2C_SPEED 400000L //400kHz fast mode #define SERVO_1_PINMODE pinMode(44,OUTPUT); // TILT_PITCH #define SERVO_1_PIN_HIGH PORTL |= 1<<5; #define SERVO_1_PIN_LOW PORTL &= ~(1<<5); #define SERVO_2_PINMODE pinMode(45,OUTPUT); // TILT_ROLL #define SERVO_2_PIN_HIGH PORTL |= 1<<4; #define SERVO_2_PIN_LOW PORTL &= ~(1<<4); #define SERVO_3_PINMODE pinMode(46,OUTPUT); // CAM TRIG #define SERVO_3_PIN_HIGH PORTL |= 1<<3; #define SERVO_3_PIN_LOW PORTL &= ~(1<<3); #endif And now some bonus. If you want some extra signalisation via LED's (low battery and other states signalised by buzzer) you can change procedure "void auto_switch_led_flasher()" in "LED.ino" to this version: Code:
void auto_switch_led_flasher() { uint8_t seg = (currentTime/1000/125)%8; if (led_flasher_sequence & 1<<seg) { switch_led_flasher(!isBuzzerON()); } else { switch_led_flasher(isBuzzerON()); } } |
|
|
|
|
|
how do you KNOW how to do all of this
lol |
|
|
|
||
|
Quote:
|
|
|
||
|
|
|
So much to learn. So little time
Well I hope you guys can help me get situated then. I like some other people are waiting on my kit to arrive http://www.rctimer.com/index.php?gOo...1&productname= So I want to get situated before it comes, Because I think it will arrive a day or 2 before I go on a week long camping trip to my cabin. I will have no internet or computer access. (But I did buy a BT module so I can adjust PID with my android while there) So I would like to get everything set up here before hand so I can film my property using the quad and my FPV gear as it sits on a nice sized cliff overlooking a beautiful river valley. So I think the latest version of MWC comes preset with the board loaded but I have to activate it correct? And more or less it is outlined in the latest version of the document posted on here correct? Is making those changes and loading it on the AIOpro all I need to do to get flying and I can adjust the PID with my smartphone? What about if I decide to use MPNG, I like its GUI better, and I will be getting GPS later on after the trip. What changes do I need to make to get that working In quad X mode? Ill be using a Jr9303, How many channel Rx will I be needing. No Pan/tilt stabilization yet? And where will I be making these changes? Open the mulitwii 2.1 or MPNG 2.5 PDE file in the Arduino 1.0? Type in there. Plug in FC and hit GO? Kinda noob rambling here, But how can I learn without some sort of teacher. Thanks |
|
|
|
|
|
can I ask why |
|
|
|
|
|
i cannot change cycle from 1 to 2 why??
but can change RATE to 100 please help I'm not good at languages. I'm sorry. use google translate |
|
|
Thread Tools | |
Similar Threads | |||||
Category | Thread | Thread Starter | Forum | Replies | Last Post |
Mini-HowTo | Arduino and HobbyKing Multi-Rotor Control Board V3.0 or KKmulticontroller v5.5 | pprioverde | Multirotor Drone Talk | 33 | May 28, 2017 11:40 AM |
Discussion | New updated Crius Multiwii SE flight controller | SGsoar | Multirotor Drone Electronics | 72 | May 15, 2013 08:36 PM |
Sold | One New, one used ArduPilot 2560 APM1.0 Flight Controlls/autopilots | wingspinner | FPV Equipment (FS/W) | 3 | May 28, 2012 12:55 AM |
Question | Quad Build Using HobbyKing Multi-Rotor Control Board V3.0 (Atmega328 PA) | SJackson | Multirotor Drone Talk | 27 | Apr 30, 2012 08:51 PM |