So I have a little backyard observatory with a rotating dome that I purchased used in the fall. It came with motor to open the shutter and 2 motors that rotate the dome so that the dome slit is the same direction as my telescope. My primary interest is astrophotography and I'm able to control all of my image acquisition steps by remote controlling a laptop that's inside the dome and connected to telescope mount/imaging camera/guide camera/etc, all from inside the house. However the dome does not track with the telescope, so I have to go out every hour and turn the motors on to rotate the dome in one direction or another so I'm not taking pictures of the inside of the dome. I'd like to try and fully automate this process so I can rotate the dome from inside the house, open/close the shutter, and turn on/off equipment inside the dome. Perhaps one day track the domes position and have it sync with the telescope, but for now manual control from inside the house is a good start. I will be attaching a webcam to the scope so I will know if things are lined up from inside.
I've never owned an Arduino before, but I'm pretty tech savy and enjoy tinkering, but I realize I don't know what I don't know and I could use your help to make sure I don't fry anything.
I have an Uno on the way and an 8 channel relay. The wiring looks straight forward between the arduino and relay. Relays will be dedicated for the following:
Energize dome power supply for shutter and rotation motors (this is just a transformer that makes 12v DC available for the motors)
Open the shutter (timed operation, separate relay with a magnetic sensor cut the power when it's completely open/closed, this came with the dome) 12v DC
Close the shutter 12v DC
Rotate the dome clockwise 12v DC
Rotate the dome counter-clockwise 12vDC
Power up camera (AC power)
Power up mount (AC power)
Power up EL panel (AC power)
I don't have an electrical engineering background and my astronomy equipment is very expensive, is there anything I need to add to this system to protect it from any kind of electrical surges? This is my biggest concern, please be honest.
I found some sample code to turn the relays on and off for timed duration's, but I need manual control over actions like powering the camera on or off and rotating the dome for 2 seconds or 5 seconds or 60 seconds. What's the best way to go about this? Do I need to create some kind of GUI or is there a way I can send commands in real time to the arduino? It will be connected via USB to a laptop at all times.
I hope you all can help me make this project a success. I'm sure I'm leaving out a lot of information, please let me if there is any info that would help.