ScopeGram - Telescope Control Interface
========================================

Author: Jason Page
Email: jsp@pagetelegram.com
Website: https://amfile.org

DESCRIPTION
-----------
ScopeGram is a Bash-based control interface for Meade LX200 and
Bushnell Northstar telescopes via serial port communication.

FEATURES
--------
- Interactive keyboard control with arrow keys
- Command-line operation for automation and scripting
- Variable speed control (1-9) matching telescope slew rates
- Auto-detection of telescope on serial ports
- Debug mode for troubleshooting serial communication
- Emergency stop functionality
- Support for USB-to-serial adapters

USAGE
-----
Interactive Mode:
  $ sudo scopegram

Command-Line Mode:
  $ sudo scopegram --up --speed 5 --time 2
  $ sudo scopegram --scan
  $ sudo scopegram --debug --port /dev/ttyUSB0
  $ sudo scopegram --stop

For complete usage information:
  $ scopegram --help

REQUIREMENTS
------------
- Bash 4.0 or higher
- Serial port access (requires root or dialout group membership)
- stty, timeout, od, head, cat utilities (included in coreutils)

SUPPORTED TELESCOPES
-------------------
- Meade LX200 series
- Meade Autostar controllers
- Bushnell Northstar
- Any telescope using Meade LX200 protocol

SERIAL PORT CONFIGURATION
-------------------------
Default: /dev/ttyS0
Baud Rate: 9600 (some models use 19200)
Protocol: 8N1 (8 data bits, no parity, 1 stop bit)

To add your user to the dialout group:
  $ sudo usermod -aG dialout $USER
  (logout and login for changes to take effect)

TROUBLESHOOTING
---------------
Use the --scan flag to auto-detect your telescope.
Use the --debug flag to monitor raw serial port data.

For more information, visit: https://amfile.org

Copyright (C) 2024-2025 Jason Page
Licensed under GPL-3+
