MultiWii NanoWii For Stand-alone Gimbal

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
Post Reply
dale
Posts: 7
Joined: Tue Nov 19, 2013 2:32 pm

MultiWii NanoWii For Stand-alone Gimbal

Post by dale »

Hi to all;
I have been trying for weeks to get this board setup as a "stand-alone 2-axis gimbal controller.
What I'm trying to get is.
quad go's forward, both pitch and roll servos should go up.
quad go's back, both pitch and roll servos should go down.
quad go's right, pitch servo should go up, roll servo should go down.
quad go's lift, pitch servo should go down, roll servo should go up
Same as the SSG gimbal.
http://www.rcgroups.com/forums/showthread.php?t=1793759
I hop some of you MultiWii experts will help, I'm at a loss as to what to do.
I have tried different config.h settings. Can't get the servos to do the above.
Please look at the pic's.
Attachments
PB170388.JPG
PB170387.JPG

Deet
Posts: 129
Joined: Sun Jul 08, 2012 1:54 am

Re: MultiWii NanoWii For Stand-alone Gimbal

Post by Deet »

define_servo_tilt_mix does that for you

timecop
Posts: 1880
Joined: Fri Sep 02, 2011 4:48 pm

Re: MultiWii NanoWii For Stand-alone Gimbal

Post by timecop »

awesome DJI Phantom you got there bro

dale
Posts: 7
Joined: Tue Nov 19, 2013 2:32 pm

Re: MultiWii NanoWii For Stand-alone Gimbal

Post by dale »

Deet wrote:define_servo_tilt_mix does that for you


Thank you for responding. Using MultiWii V2.2 When I make a change to config.h, I then use the GUI to see what has changed. No mater what I change in config.h The GUI shows no change. I have actevated the camstab aux3 and aux4 in the GUI. Here is what I have entered in the config.h
I'm beginning to think the NanoWii board mite be defective. I have a new board on the way to me.

/************************** The type of multicopter ****************************/
#define GIMBAL
//#define BI
//#define TRI
//#define QUADP
//#define QUADX
//#define Y4
//#define Y6
//#define HEX6
//#define HEX6X
//#define HEX6H // New Model
//#define OCTOX8
//#define OCTOFLATP
//#define OCTOFLATX
//#define FLYING_WING
//#define VTAIL4
//#define AIRPLANE
//#define SINGLECOPTER
//#define DUALCOPTER
//#define HELI_120_CCPM
//#define HELI_90_DEG

/*************************** Combined IMU Boards ********************************/
/* if you use a specific sensor board:
please submit any correction to this list.
Note from Alex: I only own some boards, for other boards, I'm not sure, the info was gathered via rc forums, be cautious */
//#define FFIMUv1 // first 9DOF+baro board from Jussi, with HMC5843 <- confirmed by Alex
//#define FFIMUv2 // second version of 9DOF+baro board from Jussi, with HMC5883 <- confirmed by Alex
//#define FREEIMUv1 // v0.1 & v0.2 & v0.3 version of 9DOF board from Fabio
//#define FREEIMUv03 // FreeIMU v0.3 and v0.3.1
//#define FREEIMUv035 // FreeIMU v0.3.5 no baro
//#define FREEIMUv035_MS // FreeIMU v0.3.5_MS <- confirmed by Alex
//#define FREEIMUv035_BMP // FreeIMU v0.3.5_BMP
//#define FREEIMUv04 // FreeIMU v0.4 with MPU6050, HMC5883L, MS561101BA <- confirmed by Alex
//#define FREEIMUv043 // same as FREEIMUv04 with final MPU6050 (with the right ACC scale)
#define NANOWII // the smallest multiwii FC based on MPU6050 + pro micro based proc <- confirmed by Alex
//#define PIPO // 9DOF board from erazz
//#define QUADRINO // full FC board 9DOF+baro board from witespy with BMP085 baro <- confirmed by Alex
//#define QUADRINO_ZOOM // full FC board 9DOF+baro board from witespy second edition
//#define QUADRINO_ZOOM_MS// full FC board 9DOF+baro board from witespy second edition <- confirmed by Alex
//#define ALLINONE // full FC board or standalone 9DOF+baro board from CSG_EU
//#define AEROQUADSHIELDv2
//#define ATAVRSBIN1 // Atmel 9DOF (Contribution by EOSBandi). requires 3.3V power.
//#define SIRIUS // Sirius Navigator IMU <- confirmed by Alex
//#define SIRIUSGPS // Sirius Navigator IMU using external MAG on GPS board <- confirmed by Alex
//#define SIRIUS600 // Sirius Navigator IMU using the WMP for the gyro
//#define SIRIUS_AIR // Sirius Navigator IMU 6050 32U4 from MultiWiiCopter.com
//#define SIRIUS_AIR_GPS // Sirius Navigator IMU 6050 32U4 from MultiWiiCopter.com with GPS/MAG remote located
//#define MINIWII // Jussi's MiniWii Flight Controller <- confirmed by Alex
//#define MICROWII // MicroWii 10DOF with ATmega32u4, MPU6050, HMC5883L, MS561101BA from http://flyduino.net/
//#define CITRUSv2_1 // CITRUS from qcrc.ca
//#define CHERRY6DOFv1_0
//#define DROTEK_10DOF // Drotek 10DOF with ITG3200, BMA180, HMC5883, BMP085, w or w/o LLC
//#define DROTEK_10DOF_MS // Drotek 10DOF with ITG3200, BMA180, HMC5883, MS5611, LLC
//#define DROTEK_6DOFv2 // Drotek 6DOF v2
//#define DROTEK_6DOF_MPU // Drotek 6DOF with MPU6050
//#define DROTEK_10DOF_MPU//
//#define MONGOOSE1_0 // mongoose 1.0 http://store.ckdevices.com/
//#define CRIUS_LITE // Crius MultiWii Lite
//#define CRIUS_SE // Crius MultiWii SE
//#define OPENLRSv2MULTI // OpenLRS v2 Multi Rc Receiver board including ITG3205 and ADXL345
//#define BOARD_PROTO_1 // with MPU6050 + HMC5883L + MS baro
//#define BOARD_PROTO_2 // with MPU6050 + slave MAG3110 + MS baro
//#define GY_80 // Chinese 10 DOF with L3G4200D ADXL345 HMC5883L BMP085, LLC
//#define GY_85 // Chinese 9 DOF with ITG3205 ADXL345 HMC5883L LLC
//#define GY_86 // Chinese 10 DOF with MPU6050 HMC5883L MS5611, LLC
//#define GY_521 // Chinese 6 DOF with MPU6050, LLC
//#define INNOVWORKS_10DOF // with ITG3200, BMA180, HMC5883, BMP085 available here http://www.diymulticopter.com
//#define INNOVWORKS_6DOF // with ITG3200, BMA180 available here http://www.diymulticopter.com
//#define MultiWiiMega // MEGA + MPU6050+HMC5883L+MS5611 available here http://www.diymulticopter.com
//#define PROTO_DIY // 10DOF mega board
//#define IOI_MINI_MULTIWII// http://www.bambucopter.com
//#define Bobs_6DOF_V1 // BobsQuads 6DOF V1 with ITG3200 & BMA180
//#define Bobs_9DOF_V1 // BobsQuads 9DOF V1 with ITG3200, BMA180 & HMC5883L
//#define Bobs_10DOF_BMP_V1 // BobsQuads 10DOF V1 with ITG3200, BMA180, HMC5883L & BMP180 - BMP180 is software compatible with BMP085
//#define FLYDUINO_MPU
//#define CRIUS_AIO_PRO_V1
//#define DESQUARED6DOFV2GO // DEsquared V2 with ITG3200 only
//#define DESQUARED6DOFV4 // DEsquared V4 with MPU6050
//#define LADYBIRD
//#define MEGAWAP_V2_STD // available here: http://www.multircshop.com <- confirmed by Alex
//#define MEGAWAP_V2_ADV
//#define HK_MultiWii_SE_V2 // Hobbyking board with MPU6050 + HMC5883L + BMP085
//#define HK_MultiWii_328P // Also labeled "Hobbybro" on the back. ITG3205 + BMA180 + BMP085 + NMC5583L + DSM2 Connector (Spektrum Satellite)
//#define RCNet_FC // RCNet FC with MPU6050 and MS561101BA http://www.rcnet.com
//#define RCNet_FC_GPS // RCNet FC with MPU6050 + MS561101BA + HMC5883L + UBLOX GPS http://www.rcnet.com
//#define FLYDU_ULTRA // MEGA+10DOF+MT3339 FC


/* enforce your individual sensor orientation - even overrides board specific defaults */
#define ACC_ORIENTATION(X, Y, Z) {accADC[ROLL] = Y; accADC[PITCH] = -X; 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;}


/*********************** Cam Stabilisation ***********************/
/* The following lines apply only for a pitch/roll tilt stabilization system. Uncomment the first or second line to activate it */
#define SERVO_MIX_TILT
//#define SERVO_TILT
#define TILT_PITCH_MIN 1020 //servo travel min, don't set it below 1020
#define TILT_PITCH_MAX 2000 //servo travel max, max value=2000
#define TILT_PITCH_MIDDLE 1500 //servo neutral value
#define TILT_PITCH_PROP -25 //servo proportional (tied to angle) ; can be negative to invert movement
#define TILT_PITCH_AUX_CH AUX3 //AUX channel to overwrite CAM pitch (AUX1-AUX4), comment to disable manual input and free the AUX channel
#define TILT_ROLL_MIN 1020
#define TILT_ROLL_MAX 2000
#define TILT_ROLL_MIDDLE 1500
#define TILT_ROLL_PROP 25
#define TILT_ROLL_AUX_CH AUX4 //AUX channel to overwrite CAM Roll (AUX1-AUX4), comment to disable manual input and free the AUX channel

/************************ Moving Average Gyros **********************************/
//#define MMGYRO 10 // (*) Active Moving Average Function for Gyros
//#define MMGYROVECTORLENGTH 15 // Length of Moving Average Vector (maximum value for tunable MMGYRO
/* Moving Average ServoGimbal Signal Output */
#define MMSERVOGIMBAL // Active Output Moving Average Function for Servos Gimbal
#define MMSERVOGIMBALVECTORLENGHT 32 // Lenght of Moving Average Vector


I have Digital servos on my gimbal
/*********************** Servo Refreshrates ***********************/
/* Default 50Hz Servo refresh rate*/
//#define SERVO_RFR_50HZ

/* up to 160Hz servo refreshrate .. works with the most analog servos*/
//#define SERVO_RFR_160HZ

/* up to 300Hz refreshrate it is as fast as possible (100-300Hz depending on the cound of used servos and the servos state).
for use with digital servos
dont use it with analog servos! thay may get damage. (some will work but be careful) */
#define SERVO_RFR_300HZ

dale
Posts: 7
Joined: Tue Nov 19, 2013 2:32 pm

Re: MultiWii NanoWii For Stand-alone Gimbal

Post by dale »

timecop wrote:awesome DJI Phantom you got there bro


Thank you for checking it out. But it's a Walkera QR X350. I scratch belt the gimbal. 110g. with Mobius cam.

Deet
Posts: 129
Joined: Sun Jul 08, 2012 1:54 am

Re: MultiWii NanoWii For Stand-alone Gimbal

Post by Deet »

comment the moving average gyro stuff

and set servo to 50Hz

then try again

timecop
Posts: 1880
Joined: Fri Sep 02, 2011 4:48 pm

Re: MultiWii NanoWii For Stand-alone Gimbal

Post by timecop »

Or get acroafro and not every have to worry about dicking with config.h or other nonsense.

dale
Posts: 7
Joined: Tue Nov 19, 2013 2:32 pm

Re: MultiWii NanoWii For Stand-alone Gimbal

Post by dale »

Deet wrote:comment the moving average gyro stuff

and set servo to 50Hz

then try again


Thank you Deet for your input. I'm using digital servos. that is way I changed from 50Hz to 300Hz. Did I choose the right Hz.
I commented the moving average gyro, nothing changed. I think the Nanowii board is bade. New board coming. I have a HobbyKing MultiWii Lite v1.0 board. It dos what I need. The problem is the MultiWii Lite is to large for my application.

dale
Posts: 7
Joined: Tue Nov 19, 2013 2:32 pm

Re: MultiWii NanoWii For Stand-alone Gimbal

Post by dale »

timecop wrote:Or get acroafro and not every have to worry about dicking with config.h or other nonsense.


Hi there timecop
What is acroafro. Can you give me a web-sight so I can check it out.

timecop
Posts: 1880
Joined: Fri Sep 02, 2011 4:48 pm

Re: MultiWii NanoWii For Stand-alone Gimbal

Post by timecop »

dale wrote:
timecop wrote:Or get acroafro and not every have to worry about dicking with config.h or other nonsense.


Hi there timecop
What is acroafro. Can you give me a web-sight so I can check it out.


http://abusemark.com/store/index.php?ma ... ucts_id=38

Image

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: MultiWii NanoWii For Stand-alone Gimbal

Post by Hamburger »

dale wrote:
timecop wrote:Or get acroafro and not every have to worry about dicking with config.h or other nonsense.


Hi there timecop
What is acroafro. Can you give me a web-sight so I can check it out.


it is what he sells and it is not MultiWii compatible if that is what matters to you (but it is a fork for different hardware, with different features)

timecop
Posts: 1880
Joined: Fri Sep 02, 2011 4:48 pm

Re: MultiWii NanoWii For Stand-alone Gimbal

Post by timecop »

Hamburger wrote:it is what he sells and it is not MultiWii compatible if that is what matters to you (but it is a fork for different hardware, with different features)


All the features he needs on it (gimbal) work, and better - with hardware 16bit PWM.
I'd even go as far as to say it's probably more accurate at servo gimbal since angle calculations are in floats.
But yeah, it does not have LCD telemetry. Sorry.

dale
Posts: 7
Joined: Tue Nov 19, 2013 2:32 pm

Re: MultiWii NanoWii For Stand-alone Gimbal

Post by dale »

timecop wrote:
dale wrote:
timecop wrote:Or get acroafro and not every have to worry about dicking with config.h or other nonsense.


Hi there timecop
What is acroafro. Can you give me a web-sight so I can check it out.


http://abusemark.com/store/index.php?ma ... ucts_id=38

Image


I emailed for info thy answered in minutes. That board seems to be a good choice. I have one on the way.

dale
Posts: 7
Joined: Tue Nov 19, 2013 2:32 pm

Re: MultiWii NanoWii For Stand-alone Gimbal

Post by dale »

timecop wrote:
dale wrote:
timecop wrote:Or get acroafro and not every have to worry about dicking with config.h or other nonsense.


Hi there timecop
What is acroafro. Can you give me a web-sight so I can check it out.


http://abusemark.com/store/index.php?ma ... ucts_id=38

Image


This seems to be the way to go when building a servo driven, standalone bimbal. I got the second NanoWii board, It dos exactly the same as the first one. The NanoWii board cannot be setup for a "SSG", standalone gimbal. The customer serves at AbuseMark is top notch. The board is only $23. Don't have to mess with config.h. The instructions have step by step on standalone gimbal setup. Thank you timecop for your advice.

Post Reply