Menu

using minimu9 to do the same

Cozmicray
2012-09-12
2012-10-18
  • Cozmicray

    Cozmicray - 2012-09-12

    I have been testing an arduino with a IMU (inertial measurement Unit) attached to it
    to indicate Az and El of scope.
    Using a MinIMU-9 v2 Gyro, Accelerometer, and Compass (L3GD20 and LSM303DLHC Carrier) which uses i2c bus to interface to arduino.
    There is some standard software out there to show IMU output.
    The Elevation seems great but Azimuth (yaw axis on gyro) is very erratic.

    Do you have arduino code to interface with stellarium?
    I can get angles out of IMU with existing arduino code
    What routine do I need to add to interface with Stellarium?

    Tnx

     
  • Leon

    Leon - 2012-09-12

    I working on adapting the kelman filter for the adxl345 and the itg3200 so the erratic movements will be solved.
    I am aiming for a very modular code so the changes you would need to make are very small
    Currently I am on vacation and will be returning soon to work on the project.

     

    Last edit: Leon 2012-09-12
  • Leon

    Leon - 2012-09-12

    Yes, I do have a code for interfacing with stellarium.
    You can modify my code to read the angles from your imu
    And the rest will be done automatically by the sketch.
    I know it is a lot of code to go through but as I said I am not next to my workstation.
    Most of the code is documented so you just need to modify the lines in which the actual angle read is done from reading my sensors to reading your sensors.
    I will be back on the 16th with the code in front of me so I can see exactly what you need to modify.

     
  • Cozmicray

    Cozmicray - 2012-09-16

    Leon
    Super -- No rush just glade to see there is some help out there.
    I am a coding dummie -- basically using example code and snippets from others.
    I work with arduino uno and ATMega 2560 using the arduino IDE.
    Also have some python code running, I can make stepper motors step
    and read the IMU, and display it's output.
    I downloaded all your code from the site so I can plough through it.
    Your code looks like C++ to me, is that correct?
    I was expecting an arduino ido?

    My Ultimate goal:
    My brother has a great Meade 2120 10" scope and I have been toying with
    how to upgrade it to goto / pushto scope.

    Perhaps a project or kit to allow others to do the same.

    Thanks for the interest!!

    cozmicray@comcast.net

     
  • Cozmicray

    Cozmicray - 2012-10-18

    Have you done any more on the IMU telescope project
    Would like to see and try out some of you code
    Tnx
    Ray

     

Log in to post a comment.