Arduino Nano based GS-232 rotor controller
Control a G-{800,1000,2800}DXA rotor via an RS232 port. Initially based on the Lemington G-2800 code, but most of it is long gone, outside of the calibration routines.
Hook up your rotor to the output of a 2n2222 connected to the output pins of the Nano, one pin for speed control, and off you go.
Much work remains to be done.
Remaining todo's:
- Convert the last of the if(debug) statments to #ifdefs
- Add elevaton control and El ADC to control Az/El rotors as well
- Clean up and use return variables rather than globals
- Modify to use all 450 degrees of Az rotation
- Move volts to degree conversion and read_adc to a single function
- Make motor speed selection persistant when changed
- Make tolerant of 2 digit heading input
- DONE - Clean up display routine to add leading zero
- Clean up the relay code to fully remove the L/R relays from the K commands
- Re-enable calibration switch - Bypassed it in SW to avoid opening the box again
- Review BRAKE code to control rotors with brakes
- Write OS X Client
- Write TCP/IP client