Star-Track/README.md

54 lines
2.0 KiB
Markdown
Raw Normal View History

2016-07-29 06:47:46 -05:00
# Star-Track
2016-08-09 02:38:03 -05:00
2025-07-28 15:28:54 -05:00
[![License: GNU General Public License v3.0](https://img.shields.io/badge/Firmware%20License-GNU%20GPL--v3.0-yellow)](https://www.gnu.org/licenses/gpl-3.0.en.html#license-text)
[![License: CC BY-SA 4.0](https://img.shields.io/badge/Documentation%20License-CC_BY--SA_4.0-lightgrey)](https://creativecommons.org/licenses/by-sa/4.0/)
This repository contains all the files and documentation for Star Track, Arduino powered GoTo-mount inspired star tracking system. [Visit the DIY guide](https://gorkem.cc/projects/StarTrack/) for details.
File structure:
2025-07-28 15:29:31 -05:00
+ `Firmware` contains the code and necessary drivers.
2025-07-28 15:28:54 -05:00
+ `CAD` contains print ready .stl files
## More info:
2016-08-09 02:38:03 -05:00
2025-02-01 15:41:17 -06:00
There are two Arduino's working in order. Arduino Uno being master and nano being the puppet.
2016-08-09 02:35:42 -05:00
2025-07-28 15:28:54 -05:00
### Master module
2016-08-09 02:35:42 -05:00
The master(Uno) module has two inputs,
2025-07-28 15:28:54 -05:00
- Gyro data
2016-08-09 02:38:03 -05:00
2025-07-28 15:28:54 -05:00
- RTC(Real Time Clock) data
2016-08-09 02:35:42 -05:00
and 6 outputs,
2025-07-28 15:28:54 -05:00
- cw(base motor clockwise)
2016-08-09 02:38:03 -05:00
2025-07-28 15:28:54 -05:00
- ccw(base motor counter clockwise)
2016-08-09 02:38:03 -05:00
2025-07-28 15:28:54 -05:00
- stahp(base motor stop)
2016-08-09 02:38:03 -05:00
2025-07-28 15:28:54 -05:00
- cw2(DEC motor clockwise)
2016-08-09 02:38:03 -05:00
2025-07-28 15:28:54 -05:00
- ccw2(DEC motor counter clockwise)
2016-08-09 02:38:03 -05:00
2025-07-28 15:28:54 -05:00
- stahp2(DEC motor stop)
2016-08-09 02:38:03 -05:00
2025-02-01 15:41:17 -06:00
The RTC is set to UTC time, a function calculates local sidereal time in degrees and rotates the mount to 0h RA position. The loop constantly checks if the gyro data is equal to the user input & sidereal time data. The default is 0,0. If there is a change and the equality breaks the master module send a command to the puppet module.
2016-08-09 02:35:42 -05:00
If the user value is higher than the gyro value a signal is sent through cw the motor turns clockwise.
2016-08-09 02:38:03 -05:00
2016-08-09 02:35:42 -05:00
If the user value is less than the gyro value a signal is sent through ccw the motor turns counter clockwise
2016-08-09 02:38:03 -05:00
2016-08-09 02:35:42 -05:00
If the user value is equal to the gyro value a signal is sent through stahp and the motor stops
same for cw2,ccw2,stahp2.
This way the mount will turn to the user-specified coordinates. And update with sidereal time thus it will track the sky.
Note: I could use serial communication between the two Arduino's but since the analog pins are used by the inputs I had to use digital pins.