Star Tracker: Right Ascension & Declination
For amateur astronomers, pointing a telescope at a specific galaxy can be incredibly frustrating. This project uses an Arduino and a 9-axis IMU (Inertial Measurement Unit) to calculate Right Ascension (RA) and Declination (Dec)—the longitude and latitude of the night sky.

The Math Behind the Stars
The project requires intense trigonometry and timekeeping:
- Local Sidereal Time (LST): The sky rotates based on sidereal time, not standard 24-hour time. You must use a GPS module or an RTC to calculate the exact LST based on your earthly longitude.
- Orientation: The BNO055 or MPU9250 (9-axis IMUs) use accelerometers and magnetometers to determine exactly where the telescope tube is pointing relative to True North and the horizon (Altitude and Azimuth).
- The Conversion: The Arduino runs matrix math equations to convert the earthly Alt/Az coordinates into the celestial RA/Dec coordinates, displaying them on an OLED screen.
Hardware Needed
- Arduino Mega or ESP32: This requires heavy floating-point math, so a faster processor is highly recommended.
- BNO055 9-DOF Sensor: The "Absolute Orientation" sensor.
- GPS Module: For exact time and location data.
- OLED Display: To act as the digital readout.
This "Digital Setting Circles" project ("Push-To" telescope) allows you to find deep-sky objects for a fraction of the cost of commercial computerized telescopes.