Introduction: Real Time Planet Tracking System & Trajectory Prediction (Self Adjusting Pan Mechanism [MPU-9250]){RTPT} With Arduino and GPS

INTRODUCTION

This project aims to make a system that effectively track celestial bodys (such as planets ) with a fair amount of accuracy.We will be using some algorithms along with a processing unit for the calculations and a servo mechanism to show the location of the planet physically!

Not just planet tracking you will learn some additional important things that you can implement in your other projects :

  • Planet tracking using keplers algorithms.
  • Many co-ordinate systems and their interconversion.
  • pan-tilt programming and servo mapping (3.5 turns Servo and 180 degree Servo ).
  • MPU9250 auto-calibration programmingUsing Madwicks/Mahony Filter to Stablise Mpu readings.
  • Yaw correction using P- controller with MPU9250.

The steps are too detailed to fit in a single page so I have split the project in different pages they are :

  • Step 1 :Calculation of Right Ascension and Declination and its conversion to Azimuth and Altitude [Calculated using Kepler’s Laws] using Osculating Elements. Here is the Link
  • Step 2:The Circuitry (connections of GPS Module U-BLOX NEO-6M or similar , pan – tilt servo ) and Servo Mapping . Note : If you do not use a MPU9250 ,you will have to align your system in its initial state to the North direction .Here is the Link
  • Step 3:This step uses the MPU9250 for automatic north detection and its alignmentand best part is that its Dynamic i.e. even you keep changing (the yaw angle) or azimuth alignment it will continuously sense the error and correct it dynamically.Here is the Link
  • Step 4:Software Integration and Trajectory Prediction.Go to this section for the final Arduino code.Here is the Link

I hope you learn new things for your own projects from this tutorial.This is a repost my original article is at : Link

The final code is in my Github repo