Arduimu v2 flat based quadrotor build

hello all on this forum,

i have started building my quadrotor. and i am using arduimu v2 flat as a main controller.

i am very new to all those things,uptill now i got my arduimu v2 and i just programmed it with

the latest firmware 1.7ver with the parameters said in the program for testing and

i also tested it with the happykillmore sofware and is working well.

so now my question is the values which are said to be set in the firmware should i change them

since i am using only arduimu v2 flat and no magnetometer and no gps module.

and 2nd is how to do PID tuning since i dont have any idea about this.

and how the arduimu recognizes the perticular s isnal coming from transmitter.

please anyone help me out.

thanks in advance

E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • hello yun,i have read all your post on the forum.i am building a quadrotor same like yours.
    Currently i have arduimu+v2 board with Magnetometer attached.
    And i have 8 chaneel ppm encoder from diydrones store.
    i am using Spektrum DX5e Radio With AR500 5 channel receiver.
    i have programmed the imu with the Quad_mini20 firmware withsome parameter change.
    I have connected the receiver channel to ppm encoder in following order:
         Receiver                  PPM Encoder    Aileron                     CH1    Elevator                    CH2    Throttle                    CH3    Rudder                      CH4
    But in the serial monitor i am getting following values:JJ ArduIMU Quadcopter 1.20 mini PIDRx values: 1037,1037,1037,1037,0,0AN[0]:381.11AN[1]:391.98AN[2]:365.85AN[3]:506.50AN[4]:512.00AN[5]:510.00-2,4,0,0.00,20-5,7,0,0.00,14-8,9,0,0.00,14-12,10,-1,0.00,14-15,11,-2,0.00,14-17,14,-3,0.00,14-20,16,-4,0.00,14-22,18,-4,0.00,14-24,20,-13,0.00,14-25,21,-22,0.00,14-24,21,-31,0.00,14-22,19,-40,0.00,14-18,17,-48,0.00,14-13,14,-57,0.00,14-10,12,-65,0.00,14
    These are the values when nothing is connected to the imu.But after connecting everything and giving PPM input alsoThe last value remains the same i.e 14.It does not shows value for all 4 channel.
    I dont understand what to do.
    Can you please guide me toward what change i should make in the program.I know about tuning you just tell me about other parameters to be set for mysetup.
    You Help will be really great.
    RegardsDhiraj
    Pls reply as soon as possible.
    Thanks
  • these are the values which i am getting in serial serial monitor of arduino

    after programing arduimu v2 with the above code:

    -23,-1,25,0.00,14-23,-1,25,0.00,15-23,-1,25,0.00,14-24,-1,25,0.00,14-23,-1,25,0.00,15-23,-1,25,0.00,14-23,-1,25,0.00,14-23,-1,25,0.00,14!ERR Mag data-24,-2,25,0.00,14-24,-1,25,0.00,14-24,-1,25,0.00,15-24,-1,25,0.00,14

    tell me wheather the values are well or not

  • i am using the code one which is given in jose julio's mini quad project.

    which is given here:

    code for mini quad-II

    https://storage.ning.com/topology/rest/1.0/file/get/3689341253?profile=original
  • Developer

    ArduIMU v2 can be used as a full autopilot, but the v1.7 and v1.8 code is NOT for a full autopilot, only an AHRS system.

     

    If you want to use is as a full autopilot solution you will need to either write your own code or find someone who has done so who is willing to share.

  • can you provide me with any connection diagram or any tutorial regarding this
  • hi scotty thanks for response since this is the first time i am doing with arduino.i have downloaded 1.8firmware with the parameter u said.i want to build the one like jose julios mini quad.i am using Spectrum DX5e radio system.and will be using Meekpe ppm encoder. i have been through the code but how i should write the code for reading channel.pls help me out with these issues.
    thanks
  • 3D Robotics

    Just a housekeeping note: Questions should be asked in the discussion forum, not as blog posts. I'll leave this one up because there are already comments, but I wanted to remind members and moderators that questions should not be submitted or approved as blog posts.

  • thanks mark for your reply but what values i should set in the below code since i will use arduimu as standalone 

    controller.have a look

    /*For debugging propurses*/
    #define PRINT_DEBUG 0 //Will print Debug messages

    //OUTPUTMODE=1 will print the corrected data, 0 will print uncorrected data of the gyros (with drift), 2 will print accelerometer only data
    #define OUTPUTMODE 1

    #define PRINT_DCM 0 //Will print the whole direction cosine matrix
    #define PRINT_ANALOGS 0 //Will print the analog raw data
    #define PRINT_EULER 0 //Will print the Euler angles Roll, Pitch and Yaw
    #define PRINT_GPS 1 //Will print GPS data

    // *** NOTE! To use ArduIMU with ArduPilot you must select binary output messages (change to 1 here)
    #define PRINT_BINARY 0 //Will print binary message and suppress ASCII messages (above)

     

    and please reply me and also soon i will post u the result i got in arduimu test u check and tell

    me if they are ok pr not.

    thanks for ur help

     

     

This reply was deleted.