HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Jul 26, 2012, 10:15 AM
Registered User
flyboygaac's Avatar
Portugal, Lisbon, Sintra
Joined Jul 2011
505 Posts
Quote:
Originally Posted by nebstress View Post
Hi flyboygaac,

Replacing the button battery wont help with the Baud etc resetting (after 24-48h), I spent days looking into it & its down to the u-Blox Neo-6M not being able to be flashed, there is a hardware mod where you add a 'i2c eeprom chip' so that the settings can be flashed permanently (look HERE, EOSBandi's post 4th one down I think) but I'm not bothering , I'm just going to use a different GPS Module.
I also read that we should charge the battery for 24hours and like that it lasts for many days... is it true?
flyboygaac is offline Find More Posts by flyboygaac
Reply With Quote
Sign up now
to remove ads between posts
Old Jul 26, 2012, 10:40 AM
Aleksey Kharlanov
Беларусь, Минская область, Минск
Joined Sep 2011
705 Posts
Quote:
Originally Posted by wazzer View Post
Can you tell us what improvements or features will be in v2.7?
Features you can see at: http://diydrones.ning.com/forum/topi...r-2-7-released
Sir Alex is offline Find More Posts by Sir Alex
Reply With Quote
Old Jul 26, 2012, 11:03 AM
Registered User
Joined Mar 2011
6 Posts
Thx alot Mis_B for the info. awesome!
Do i need a transistor or something between pin 33 and the leds?

thx again
MrFawlty is offline Find More Posts by MrFawlty
Reply With Quote
Old Jul 26, 2012, 11:06 AM
Registered User
United States, TX, Houston
Joined Jan 2005
1,089 Posts
Thank You Sir

Ben
wazzer is offline Find More Posts by wazzer
Reply With Quote
Old Jul 26, 2012, 11:06 AM
Registered User
Joined Mar 2011
6 Posts
Thx alot Mis_B for the info. awesome!
Do i need a transistor or something between pin 33 and the leds?

thx again




Quote:
Originally Posted by mis_b View Post
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
And now you need free pin 33 from usage as camtrig servo output. The camtrig servo should be connected to dedicated pin 46.
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
Additionally this remove bug in MPU6050_I2C_AUX_MASTER definition, and set I2C speed to 400kHz, because all sensors on AIO work better in 400kHz mode.

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());
  }
}
Now any activity on buzzer is transferred to LED's
MrFawlty is offline Find More Posts by MrFawlty
Reply With Quote
Old Jul 26, 2012, 11:10 AM
Registered User
Joined Dec 2007
89 Posts
hi

ok... today i change serial port 2>>port 3 and use TX3 and RX3

that work and test fly very happy

ibooo is offline Find More Posts by ibooo
Reply With Quote
Old Jul 26, 2012, 02:48 PM
VTOL UAV designer
bluelightning's Avatar
France
Joined Aug 2005
118 Posts
ArduCopterNG v2.6xp3 tested successfully on AIOP v1.0

Hello Guys,
Today I have tested successfully the ArduCopterNG v2.6xp3 with the AIOP v1.0 on DJI F450 FlameWheel (quadcopter X frame).

My tested setup is:
Frame:
- DJI F450 FlameWheel (set to Quadcopter X mode)
- 4 brushless motors RC Timers BC-2836/11
- 2 propellers 10x6 CW
- 2 propellers 10x6 CCW
Avionics:
- All In One Pro v1.0 (AIOP)
- Mediatek MT3329 GPS (10hz)
- Receiver: Turnigy 9X8C v2
- Transmitter: Turnigy 9X with Er9X firmware update
Lipo: Turnigy NanoTech 2650 mAh 3S

Thanks to Sir Alex for the latest CRIUS AIO PRO v1 support library.

Ps: if you look my AIOP board carefully, I have needed to repair the USB com port because the micro USB plug of the AIOP has been broken during an unplug...

See attached some photos of my quad
bluelightning is offline Find More Posts by bluelightning
Reply With Quote
Old Jul 26, 2012, 02:57 PM
Registered User
Joined Jul 2011
15 Posts
Quote:
Originally Posted by Flyrobot View Post
-
- Tx1Rx1 is for ppm sum, Tx2Rx2 is for serial GPS, Tx3Rx3 is for serial LCD

John
I would like to point out that in MultiWii 2.1 (and earlier) the default serial LCD pin is RX0. I believe it was intended to use RX3 on the MEGA, and some documentation say so, but it's not yet implemented in the code.

Btw, I have tested it with the Crius MultiWii LCD, and it works great.
balleperu is offline Find More Posts by balleperu
Reply With Quote
Old Jul 26, 2012, 03:15 PM
Registered User
Joined Nov 2011
2 Posts
Hello Guys
In order to avoid confusion, Could we put " MultiWii or MegaPirate " on the top of every threads?
Thanks
stif is offline Find More Posts by stif
Reply With Quote
Old Jul 26, 2012, 03:58 PM
Registered User
United States, CA, Yosemite Lakes
Joined Jan 2008
687 Posts
Quote:
Originally Posted by bluelightning View Post
Hello Guys,
Today I have tested successfully the ArduCopterNG v2.6xp3 with the AIOP v1.0 on DJI F450 FlameWheel (quadcopter X frame).

My tested setup is:
Frame:
- DJI F450 FlameWheel (set to Quadcopter X mode)
- 4 brushless motors RC Timers BC-2836/11
- 2 propellers 10x6 CW
- 2 propellers 10x6 CCW
Avionics:
- All In One Pro v1.0 (AIOP)
- Mediatek MT3329 GPS (10hz)
- Receiver: Turnigy 9X8C v2
- Transmitter: Turnigy 9X with Er9X firmware update
Lipo: Turnigy NanoTech 2650 mAh 3S

Thanks to Sir Alex for the latest CRIUS AIO PRO v1 support library.

Ps: if you look my AIOP board carefully, I have needed to repair the USB com port because the micro USB plug of the AIOP has been broken during an unplug...

See attached some photos of my quad

Are those the settings you fly with?
Since That is the same quad and set up Ill basically have, Would it be a good place to start?
scribble007 is offline Find More Posts by scribble007
Reply With Quote
Old Jul 26, 2012, 04:13 PM
VTOL UAV designer
bluelightning's Avatar
France
Joined Aug 2005
118 Posts
Quote:
Originally Posted by scribble007 View Post
Are those the settings you fly with?
Since That is the same quad and set up Ill basically have, Would it be a good place to start?
I am using the same DJI F450 frame setup with an APMv2 and I use my modified firmware ArduCopter v2.6xp3 and the flights of my two versions of quads are very similar. The only little difference is in the PID setting about the Stabilize Roll/Pitch Proportionnal parameters which have been reduced from 4.5 to 2.5 for the AIOP Vs the APM2. All the parameters are still the same for the APMv2 and for the AIOP v1...
bluelightning is offline Find More Posts by bluelightning
Reply With Quote
Old Jul 26, 2012, 04:38 PM
Registered User
Germany, BY, Ingolstadt
Joined Dec 2011
42 Posts
Hi,

thanks a lot to Sir Alex!

Now the board has with MPNG the same orientation as in MWC !!! Im happy!

There´s one thing more:

On MWC the Piezo / Buzzer is connected to Pin 32. So it would be fine if we could connect the buzzer also with MPNG on Pin 32.

I tried that in defined.h, but without result:

//#define PIEZO_PIN AN5 //Last pin on the back ADC connector // pin 32 mwc -

#define PIEZO_PIN 32 // test

Maybe the port config (input / output) is missing...

Anyone a Idea - or Sir Alex can you put that in V2.7??
Jochen222 is offline Find More Posts by Jochen222
Reply With Quote
Old Jul 26, 2012, 04:59 PM
Anti-Gravity
United States, LA, Opelousas
Joined Mar 2012
96 Posts
Buzzer on AIO Pro ?

Can you connected a buzzer directly to this board like the Crius SE? If so, to what pins?

(MultiWii 2.1)

Thanks
brettwal is offline Find More Posts by brettwal
Reply With Quote
Old Jul 26, 2012, 05:04 PM
Registered User
Germany, BY, Ingolstadt
Joined Dec 2011
42 Posts
Quote:
Originally Posted by brettwal View Post
Can you connected a buzzer directly to this board like the Crius SE? If so, to what pins?

(MultiWii 2.1)

Thanks
Hi,
I use a transistor NPN (for example) BC547 with base resistor to pin 32 - that works an MultiWii.
Jochen222 is offline Find More Posts by Jochen222
Reply With Quote
Old Jul 26, 2012, 05:07 PM
Registered User
Germany, BY, Ingolstadt
Joined Dec 2011
42 Posts
So,
now I made the first test with motors runnig.

I found out, that the MissionPlaner show the Pitch direction correct, but the copter reacts the wrong way on pitch!!??

The motors / esc are connected as shown in the Manual V1.3, and with MWC they are correct.
Jochen222 is offline Find More Posts by Jochen222
Reply With Quote
Reply


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 Talk 30 May 14, 2014 10:52 AM
Discussion New updated Crius Multiwii SE flight controller SGsoar Multirotor Electronics 72 May 15, 2013 09:36 PM
Discussion Jim, any plans for more multi rotor flight controller? chris24g Xtreme Power Systems 12 Jun 25, 2012 09:11 PM
Sold One New, one used ArduPilot 2560 APM1.0 Flight Controlls/autopilots wingspinner FPV Equipment (FS/W) 3 May 28, 2012 01:55 AM
Question Quad Build Using HobbyKing Multi-Rotor Control Board V3.0 (Atmega328 PA) SJackson Multirotor Talk 27 Apr 30, 2012 09:51 PM