Discussion Group for ArduImu V3 Applications Only?

I purchased a ArduImu V3 a while ago and have just started my journey on making use of this neat little IMU.

Honestly I had a hard time getting my head wrapped around the demo code.  It has so much legacy code related to the different versions and also it's relation to the AP hardware.  When searching for information it got even more confusing when I came across the discussions on camera gimbal mounts and mini-quad copters all based on different versions of this IMU.  Information on the issue of magnetometer calibration was also difficult to come by.  For me, it was very confusing looking at code and at first not realizing that it was for a different version.  Also, it took me awhile to find the schematics for this IMU - SparkFun has it.

Anyway, just wondering if it would be a good idea to create a discussion group for V3 due to the fact that as far as I can tell the sensors are different? and possibly a code repository?

Applications:

Roll, Pitch, Yaw output - Head Tracker

Magnetometer Calibration

GPS Output

Barometer Output

Stand alone On-Gimbal Camera Stabilized mount

Basic Mini Quad with PPM RC control

Interfacing additional sensors - Sonar, IR distance

 

 

 

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

Join diydrones

Email me when people reply –

Replies

  • @Al,

       Thanks much for this cleaned up version. The Magnetometer calibration seems to work - the "released" version doesn't have that at all - shouldn't it? Unfortunately, the printed out pitch and roll are incorrect for me UNLESS I make the same changes to Kp_ROLLPITCH and Ki_ROLLPITCH that others have suggested. Don't know why some boards need it and others don't.

        Seems that you and Harry and Michel and others are making significant improvements to the code but they are not ending up as "Beta releases" for others to test. Sure would be nice to get a DMP based, a FreeIMU based, and a DCM based version available for all to test.

       Personally, I would like to use an ArduIMU along with simpler autopilot code to fly a simple RC airplane but the lack of PWM inputs and outputs make that very difficult. I like the reduced size and cost that the ArduIMU provides over the ArduPilot.

      Thanks again for your efforts!!

    Dave

  • I would say start one. I have a version of code that I modified which greatly increases the speed of the IMU(from 8hz to 50+hz). I have also made it so it is easy to receive ACCURATE data from Serial. I would like to post my work and share it. I think a discussion group would be the perfect place to share it.

  • Hey all, can anyone recommend a good, compact LiPo battery to power my prototype (picture included)? I'm using a ghetto 9V and I don't like it. 

    Setup:

    ArduIMU v3,  MTEK GPS, OpenLog. 

    IMG_2442.JPG

  • Al,

    I got my setup working thanks to your calibration code. Thanks for such a great contribution. I was banging my head against the wall because I was not getting good values, even after calibrating. I was setting roll of 90 degrees, and seeing 45-50 outputted on the serial monitor. Similar results in pitch and yaw. I made the following change:

    In RotationMatrix, I changed:

    #define Kp_ROLLPITCH 0.015            //PID Coefficients
    #define Ki_ROLLPITCH 0.000010

    To the following:

    #define Kp_ROLLPITCH 0.015/GRAVITY          //PID Coefficients
    #define Ki_ROLLPITCH 0.000010/GRAVITY

    This seemed to do the trick, although I can't explain why. Any ideas?

  • Al, I like 4s batteries with ~ 750 rpm/V motors and 10 x 4.5 props on a 2 KG bird.  I'm strictly a MikroKopter guy, so can't recommend a PWM ESC. 

    -Don

  • Hi Don,

    Here are some notes/links about the ArduIMU V3 board that I put together.  I can't guaranty that it is all correct but could help others who are trying to get their head around this board.

     

     

    ArduIMU_V3_Layout.txt

  • Don,

    That looks great!  Question, how do I go about joining and then uploading code?  BTW, how far have others progressed in getting working code?

  • Hi Al,

    I think it's a good idea.  I know that there are people struggling to get the ArduIMU AHRS working on V3 and not getting much help.  The ported code is buggy and suffering from benign neglect.  I've been at it for most of a day and have managed to get it working with a 3rd party UBlox LEA 6H GPS after discovering the UBlox configuration routine in AP_GPS_UBLOX.cpp doesn't work.  I've also stripped out all the code for V2 and V1.

    -Don  

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13, 2022
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13, 2022
More…