Skip to content

Latest commit

 

History

History
69 lines (57 loc) · 2.16 KB

README.md

File metadata and controls

69 lines (57 loc) · 2.16 KB

klodeckelautomat

This project serves the purpose to provide remote control of telescope covers that prevent dust from covering the front lense of telescopes.

Hardware requirements:

  • Arduino
  • Servo motors (one for each moving cover)
  • Cover material for covering the front opening of the telescope
  • Mounting material to attach the servo to the dew shield of the telescope
  • Housing for Arduino
  • push buttons for each cover if manual operation is wanted

Software:

  • platformio project with code for the Arduino
  • .py Python script to control open / close operations via command line
  • .html front-end to use a web browser to open / close the cover

Install python part

  1. Set Port in Winkergrabbe.py
  2. Optional: setup virtuelenv
  3. pip install -r requirements.txt
  4. python Winkergrabbe.py

Serial commands

ID Data Description
0 Text Data Acknowledge
1 Text Error
2 Text Debug Messages
3 (0..7), (0..255) Set Servo x to y
4 (0..7), State Store Servo x as pos
5 (0..2) New state Change State
6 (0..2), State Telescope to pos
ID State
0 Close
1 Open
2 Bahtinov
3 Undefined

Pinout

Pin Description
2 Button 0
3 Button 1
4 Button 2
5 OE
A4 SDA
A5 SCL

Servo description

Num Telescope Purpose
0 0 Cover
1 0 Bahtinov
2 1 Cover Left
3 1 Cover Right
4 1 Bahtinov Left
5 1 Bahtinov Right
6 2 Cover
7 2 Bahtinov

Addition in October 2017:

  • 3D sketch for 3D printing of a telescope clamp that attaches to the dew shield of an AstroPhysics Starfire 155EDF and that provides the hosuing of a servo.

thijse/Arduino-CmdMessenger#27