Si je ne suis pas au bonne endroit les modo on le droit de le déplacer a leur guise .
Salut tout le monde on va faire un petit tuto pour répondre aux questions récurrente des nouveaux venus !
Je pars du principe que votre engin est saint (soudure ok , ESC calibrés etc).
Bien entendu, toutes ses manipulations se font avec LES HELICES DEMONTEES .
Lien de téléchargement :
Arduino http://arduino.cc/en/Main/Software" onclick="window.open(this.href);return false;
Multiwii http://code.google.com/p/multiwii/downloads/list" onclick="window.open(this.href);return false; Choisir la 2.2 (enfin pour milieu 2013)
Premièrement on va brancher la carte sur notre ordinateur .
On lance Arduino et on va choisir son type de carte (processeur de la carte ou arduino) et son "port com" .
Pour ce faire , on va dans "outils">"Type de carte" et on sélectionne la bonne config de la carte .(exemple la RC DS Arduino Pro ou Pro mini (5v , 16MHz) w/ATmega328 ; ou crius V2 Arduino MEGA 2560 / MEGA ADK ).
On sélectionne maintenant le port com correspondant à la carte (différent suivant les ordi) , "Outils">"Port série " .
Bon maintenant on ce fait un petit "eeprom clear" qui va permettre d'effacer toutes traces résiduelles de code dans notre carte .
"Fichier">"Exemple">"Eeprom">"Eeprom clear" puis on téléverce (Flèche qui va vers la droite , en haut à gauche).
CETTE MANIP EST A FAIRE DES QUE L ON VEUX FAIRE UNE MODIF SUR LE SKETCH
Maintenant on va implanter multiwii (2.2 pour le moment attention à vérifier si une version n'est pas sortie entre temps) .
Pour ce faire une fois multiwii téléchargé on se retrouve avec deux dossiers , Multiwii et Multiwiiconf , celui qui nous intéresse est Multiwii tout cours plus précisément le dossier multiwii.ino .
Donc "Fichier">"Ouvrir" un page s'ouvre , on va chercher le fameux dossier cité ci dessus .
Ouvrez en grand votre Arduino et allez chercher "config.h"
Attention mantenant on va faire les réglages de base sans activer le gps , ni mettre notre déclinaison magnétique bref un sketch simple .
1 On choisi quel type de drone on a .
/************************** 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
On voit que j'ai retiré les deux "//" devant QUADX . En fait j'ai activé ce type de drone car il convient à ma config 4 moteurs.
On remet les "//" si on veut retirer cette option .
2 En suite .
/**************************** Motor minthrottle *******************************/
/* Set the minimum throttle command sent to the ESC (Electronic Speed Controller)
This is the minimum value that allow motors to run at a idle speed */
//#define MINTHROTTLE 1300 // for Turnigy Plush ESCs 10A
//#define MINTHROTTLE 1120 // for Super Simple ESCs 10A
//#define MINTHROTTLE 1064 // special ESC (simonk)
//#define MINTHROTTLE 1050 // for brushed ESCs like ladybird
#define MINTHROTTLE 1170 // (*)
ICI LA VALEUR MINI DE DEMARRAGE DES MOTEURS UNE FOIS QU'ILS SERONT ARMES (pour que les moteurs démarrent dès qu'ils sont armés on augmente cette valeur de 10 en 10 (1170 > 1180 > 1190) )
/**************************** Motor maxthrottle *******************************/
/* this is the maximum value for the ESCs at full power, this value can be increased up to 2000 */
#define MAXTHROTTLE 1910
ICI LA VALEUR MAXI .
3
/********************************** I2C speed ************************************/
//#define I2C_SPEED 100000L //100kHz normal mode, this value must be used for a genuine WMP
#define I2C_SPEED 400000L //400kHz fast mode, it works only with some WMP clones
ICI ON SELECTIONNE LA VITESSE DE COMMUNICATION DE NOTRE CARTE (moi j'ai mis 400khz car c'est le fonctionnement pour les carte multiwii récente )
4
/*************************** 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 fromhttp://flyduino.net/" onclick="window.open(this.href);return false;
//#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/" onclick="window.open(this.href);return false;
//#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 herehttp://www.diymulticopter.com" onclick="window.open(this.href);return false;
//#define INNOVWORKS_6DOF // with ITG3200, BMA180 available here http://www.diymulticopter.com" onclick="window.open(this.href);return false;
//#define MultiWiiMega // MEGA + MPU6050+HMC5883L+MS5611 available herehttp://www.diymulticopter.com" onclick="window.open(this.href);return false;
//#define PROTO_DIY // 10DOF mega board
//#define IOI_MINI_MULTIWII// http://www.bambucopter.com" onclick="window.open(this.href);return false;
//#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" onclick="window.open(this.href);return false; <- 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" onclick="window.open(this.href);return false;
//#define RCNet_FC_GPS // RCNet FC with MPU6050 + MS561101BA + HMC5883L + UBLOX GPShttp://www.rcnet.com" onclick="window.open(this.href);return false;
//#define FLYDU_ULTRA // MEGA+10DOF+MT3339 FC
ICI LA CARTE QUE L'ON A SOUS LA MAIN (pour moi miniwii carte de la droneshop) On retire toujours les "//" pour activer
5
/********************************* Aux 2 Pin ***********************************/
/* possibility to use PIN8 or PIN12 as the AUX2 RC input (only one, not both)
it deactivates in this case the POWER PIN (pin 12) or the BUZZER PIN (pin 8) */
//#define RCAUXPIN8
#define RCAUXPIN12
ALORS ICI J'AI ACTIVE UN DEUXIEME AUXILIAIRE (pour la RC DS ça permet de mettre un inter décollage , pour la crius V2 ou V1.1 il n'y en a pas besoin )
Pour la RC DS ce sera tout maintenant suivez le tuto suivant viewtopic.php?f=31&t=1252
Pour ceux qui ont une crius on va poursuivre un tout petit peu .
6
/* MPU6050 Low pass filter setting. In case you cannot eliminate all vibrations to the Gyro, you can try
to decrease the LPF frequency, only one step per try. As soon as twitching gone, stick with that setting.
It will not help on feedback wobbles, so change only when copter is randomly twiching and all dampening and
balancing options ran out. Uncomment only one option!
IMPORTANT! Change low pass filter setting changes PID behaviour, so retune your PID's after changing LPF.*/
//#define MPU6050_LPF_256HZ // This is the default setting, no need to uncomment, just for reference
//#define MPU6050_LPF_188HZ
//#define MPU6050_LPF_98HZ
//#define MPU6050_LPF_42HZ
//#define MPU6050_LPF_20HZ
//#define MPU6050_LPF_10HZ
//#define MPU6050_LPF_5HZ // Use this only in extreme cases, rather change motors and/or props
Ici on a des filtres, si une fois votre gui multiwii bien configuré au premier décollage votre drone vibre beaucoup vous pouvez activer ce filtre en commencent pas 188HZ , vous téléversez et refaites un vol si ça vibre toujours on remet les "//" devant les 188HZ et vous descendez d'une ligne .
J'aurais tendance a dire de faire un eepreom clear a chaque fois que vous modifiez votre sketch , donc rebelote toute la procédure ci dessus .
Voilà pour une config de base .
Je vais laisser trois postes pour de futur précision gps , déclinaison magnétique etc .
Je ne prend pas la responsabilité en cas de mauvaise manip qui pourrait engendrer des blessures ou une dégradation du matériel .
Un grand merci a DroneMacFly qui ma entièrement corrigé ce tuto

