Skip to content

Arduino code driving a rotation mechanism for telescope aperture masks

Notifications You must be signed in to change notification settings

e-foley/MaskRotator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 

Repository files navigation

MaskRotator

Arduino code driving a rotation mechanism for telescope aperture masks. All code in this repository except for the TimerOne library was written by Ed Foley.

Hardware required

Software required

Wiring

Stepper

Stepper wire Arduino terminal
A (red) A+
B (yellow) B+
C (green) A-
D (blue) B-

Hall switch

Hall switch line Arduino pin
SIG 5
VCC 4
GND GND

Running

  1. Clone this repository.
  2. Set the Arduino sketchbook location to the new MaskRotator directory.
  3. Open mask_rotator.ino using the Arduino IDE.
  4. Connect the power supply to the Arduino Uno.
  5. Connect the computer to the Arduino Uno with a USB cable.
  6. Press Ctrl+U to upload the sketch.

Communicating with the device

Either

  • Open the serial monitor with Ctrl+Shift+M and type commands manually (e.g. rt18000 to spin the mask 180 degrees), or
  • Execute a custom program that implements the rotator's communication protocol.

See A Rotating Aperture Mask for Small Telescopes for complete information about the communications protocol, or inspect the source of mask_rotator.ino.

About

Arduino code driving a rotation mechanism for telescope aperture masks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published