panoptes / POCS

An Observatory Control System for the PANOPTES citizen-science project designed to help find transiting exoplanets! :telescope: :stars:
https://pocs.readthedocs.io/en/latest/
MIT License
80 stars 49 forks source link

Add support for Astrohaven dome #134

Closed jamessynge closed 6 years ago

jamessynge commented 7 years ago

Uses a Unitronics Vision 130 PLC to control opening and closing. Has a very simple RS-232 protocol according to this extract the installation manual:

  1. Using a serial communication program like Microsoft Windows HyperTerminal set for 9600 baud, eight bit, no parity, and hardware control = off; type “A” or “a” to make the side opposite the controller box go up and down. Similarly type “B” or “b” to make the side of the controller box go up and down. You will note that the controller replies with your command until the limit switches are encountered. For the side opposite the controller encountering the upper limit switch will result in replies of “X” while the encountering the lower limit switch will result in replies of “x”. You will not similar replies for the side with the controller box except they will be “Y” and “y”.
  2. Test the full Close and full Open commands using “C” and “O” as inputs. Test also that the “R” command will reset the BG Controller after the BG (Bumper Guard) Switch has been bumped.
jamessynge commented 6 years ago

Tested and debugged code with Astrohaven dome at Wheaton. My only remaining concern is about shutters not quite closing all the way (a little light coming through at the top). This may be a matter of timing of commands, momentum of the shutters, position of the "closed" sensors.