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

1,378

3

3

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

## Recommendations

• ### FeatureCAM Premium Class

713 Enrolled

## 3 Discussions

Thanks for sharing :) Just for reference if you would like to break down the steps and add some progress photos to the instructable itself so that others can replicate the project then it will receive more attention from the community and be possible to be featured on the site. Here are some helpful guides on how to write out an instructable. https://www.instructables.com/id/How-to-Create-a-Fe... I look forward to seeing more great content from you!

Thank you,

Christa (Swansong) Community Manager

2 replies

Sorry, I made this project 8 months ago and didnt click many photos or videos.Thats all I have.Also I have dismantled the project few months ago.