Commit Graph

202 Commits

Author SHA1 Message Date
Anthony Good
9cdc072cc3 2020.07.24.01
After pulling my hair out for two days, I rewrote the satellite tracking to use the P13 library from Mark VandeWettering
      \^ command to activate and deactive satellite tracking
      \~ command to view satellite tracking status
2020-07-24 21:24:34 -04:00
Anthony Good
0a4113031b 2020.07.23.01
Lots more work on FEATURE_SATELLITE_TRACKING.  It's only outputting AO-7 in debug logs right now.
      Pushing to Github in case I get hit by a bus before I finish this.
2020-07-23 22:45:10 -04:00
Anthony Good
bdf7559bf5 added Plan13 library for FEATURE_SATELLITE_TRACKING (under development) 2020-07-22 19:35:05 -04:00
Anthony Good
f15b13e2a7 2020.07.22.01
Developing FEATURE_SATELLITE_TRACKING.  Yea.
      FEATURE_NEXTION_DISPLAY: call service_nextion_display() right after rebooting display at start up
2020-07-22 19:24:44 -04:00
Anthony Good
7e7a8b9553 2020.07.21.01
FEATURE_NEXTION_DISPLAY
        Added NOT_PROVISIONED state to gCS Clock Status API variable
        Added gX and gY API variables for heading Cartesian coordinates, for future use to drive combined azimuth and elevation gauges
2020-07-21 18:27:05 -04:00
Anthony Good
f680db1bfa 2020.07.19.02
FEATURE_NEXTION_DISPLAY
        Changed updating of gMSS API variable to reflect moon and sun visibility without tracking activated
2020-07-19 12:57:21 -04:00
Anthony Good
8ff1aa844a 2020.07.19.01
Added DEBUG_PROCESSES
      Removed several instances where update_time() was being called unnecessarily.  update_time() was consuming about 21% CPU time, now down to about 12%
2020-07-19 10:01:18 -04:00
Anthony Good
3c1d592ffd 2020.07.18.02
FEATURE_NEXTION_DISPLAY
        Fixed updating of vMAS, vMES, vSAS, and vSES API variables
        Fixed degree symbol in vSS1 API variable
        Add variable gDP (Integer) - Number of decimal places used in various heading variables (set by DISPLAY_DECIMAL_PLACES)
2020-07-18 22:44:02 -04:00
Anthony Good
6f3d191f58 2020.07.18.01
Added extended backslash commands
        \?CGxxxx[xx]        - convert grid to coordinates
        \?RG                - read grid square
        \?CCxxxxx yyyyy     - convert coordinates to grid xxxxx = latitude, yyyyy = longitude
        \?BCxxxxx yyyyy     - calculate bearing to coordinate target xxxxx = latitude, yyyyy = longitude
        \?BGxxxx[xx]        - calculate bearing to grid target
        \?GCxxxxx yyyyy     - go to coordinate target xxxxx = latitude, yyyyy = longitude (rotate azimuth)
        \?GTxxxx[xx]        - go to grid target (rotate azimuth)
      Added function maidenhead_to_coordinates(grid,latitude_degrees, longitude_degrees) from Adam VK4GHZ code contribution
      Added function calculate_target_bearing(source_latitude, source_longitude, target_latitude, target_longitude) from Adam VK4GHZ code contribution
2020-07-18 15:00:13 -04:00
Anthony Good
d34316ffa9 2020.07.17.02
DISPLAY_DEGREES_STRING is now broken out into LCD_DISPLAY_DEGREES_STRING and NEXTION_DISPLAY_DEGREES_STRING in settings files
      Yaesu Help (H command) updated to include missing commands (Thanks, Adam VK4GHZ )
2020-07-17 19:54:04 -04:00
Anthony Good
54fc97c7ef 2020.07.17.01
Merged Pull Request 71 - Update rotator_dependencies.h, fixing issue: device was unresponsive when using LSM303D sensor with FEATURE_AZ_POSITION_POLOLU_LSM303 ( https://github.com/k3ng/k3ng_rotator_controller/pull/71/ ) (Thanks, 7x2uv)
2020-07-17 17:32:38 -04:00
Anthony Good
b9518b9a96
Merge pull request #71 from 7x2uv/patch-1
Update rotator_dependencies.h
2020-07-17 14:36:09 -04:00
Anthony Good
f934f3dc60
Merge branch 'master' into patch-1 2020-07-17 14:35:53 -04:00
Anthony Good
2925c3a885 2020.07.01.02
Added FEATURE_ADC_RESOLUTION12 contributed by Adam VK4GHZ
2020-07-01 21:15:43 -04:00
Anthony Good
f499a38000 2020.07.01.01
Fixed \I and \J commands when used with no argument so they return current values of azimuth starting point and azimuth rotation capability
      Added CONFIG_DIRTY and CONFIG_NOT_DIRTY flags to periodic debug logging
      Made resetting of Nextion display upon Arduino boot up more reliable
      Bug OPTION_CLOCK_ALWAYS_HAVE_HOUR_LEADING_ZERO and Nextion display (Thanks, Adam VK4GHZ )
      Fixed bug with FEATURE_SUN_TRACKING and FEATURE_MOON_TRACKING and Nextion display API variable gMSS (Thanks, Adam VK4GHZ )
2020-07-01 18:15:39 -04:00
Anthony Good
0528223277 2020.06.26.02
In rotator_hardware.h, got rid of serial port class definitions for the GPS, GPS mirror, and remote serial ports, and have one define CONTROL_PORT_SERIAL_PORT_CLASS for the control port (usually the Serial port)
      Arduino Leonardo, Micro, and Yún users will need to change CONTROL_PORT_SERIAL_PORT_CLASS in rotator_hardware.h if not using the Serial port as the control port
      Changed and reorganize serial port mappins in rotator_settings*.h files
2020-06-26 08:52:00 -04:00
Anthony Good
8f65f1b97f 2020.06.26.01
Removed errant HEADING_MULTIPLIER from PARK settings in settings files (Thanks, Adam VK4GHZ )
2020-06-26 08:05:17 -04:00
Anthony Good
34cbe44bcb 2020.06.20.01
Refactoring of read_azimuth()
      In settings files deprecated ROTATE_PIN_INACTIVE_VALUE and ROTATE_PIN_ACTIVE_VALUE; replaced with ROTATE_PIN_AZ_INACTIVE_VALUE, ROTATE_PIN_AZ_ACTIVE_VALUE, ROTATE_PIN_EL_INACTIVE_VALUE, ROTATE_PIN_EL_ACTIVE_VALUE
2020-06-20 08:06:18 -04:00
Anthony Good
7219a69bae 2020.06.13.02
FEATURE_EASYCOM_EMULATION: Deprecated OPTION_EASYCOM_AZ_QUERY_COMMAND and OPTION_EASYCOM_EL_QUERY_COMMAND.  AZ and EL commands without parameters are standard in Easycom 2 protocol, so no need to have as an OPTION
      Changed some elevation variables I missed in 2020.06.12.03 from int to float
      Updated submit_request() for float heading datatypes
      Updated azimuth and elevation readings for float datatypes
      LCD_DECIMAL_PLACES setting has been renamed DISPLAY_DECIMAL_PLACES as it also applies to the Nextion display unit and API
      FEATURE_DCU_1_EMULATION: Rewrote to comply with published command specification.  AI1 and ; commands now implemented
2020-06-13 12:16:12 -04:00
Anthony Good
c73c559312 2020.06.13.01
More work on \A azimuth calibration command and proper modification of azimuth_starting_point and azimuth_offset.  I think I got it right now.
2020-06-13 09:44:08 -04:00
Anthony Good
1c4ef06e1c fixed type in rotator_hardware.h 2020-06-12 11:46:30 -04:00
Anthony Good
7aeaf3274b 2020.06.12.03
azimuth, raw_azimuth, and elevation variables changed from int to float datatypes
      Eliminated HEADING_MULTIPLIER, LCD_HEADING_MULTIPLIER settings related to azimuth, raw_azimuth, and elevation variables being int datatypes
      Eliminated FEATURE_ONE_DECIMAL_PLACE_HEADINGS and FEATURE_TWO_DECIMAL_PLACE_HEADINGS
      LCD_DECIMAL_PLACES now is only setting need to change number of decimal places displayed
2020-06-12 11:41:42 -04:00
Anthony Good
704e1ed46f 2020.06.12.02
Typo fix on \X0 command
2020-06-12 11:39:24 -04:00
Anthony Good
d363a7c0e4 Merge branch 'master' of https://github.com/k3ng/k3ng_rotator_controller 2020-06-12 10:24:57 -04:00
Anthony Good
079da32f61 2020.06.12.01
\A Azimuth calibration command now also modifies azimuth_starting_point so that proper rotation decisions are made for large calibration values
2020-06-12 10:24:08 -04:00
Anthony Good
fcab05cd72
Create LICENSE 2020-05-29 22:23:47 -04:00
Anthony Good
a9032eccbb
Delete LICENSE 2020-05-29 22:21:22 -04:00
Anthony Good
0afb74cfbc correction to last Github push 2020-05-26 14:17:29 -04:00
Anthony Good
0c3dd72321 2020.05.26.01
Hopefully fixed issues with Arduino Leonardo and Micro and serial port classes
      Added note on Arduino Leonardo and Micro serial configuration in rotator_hardware.h
2020-05-26 14:12:05 -04:00
AbdelHakim ALLAL
d94abc9767
Update rotator_dependencies.h
Fix POLOLU_LSM303 "Setup error"
2020-05-26 14:50:22 +01:00
Anthony Good
be47f2143f 2020.05.11.02
Added OPTION_ALLOW_ROTATIONAL_AND_CONFIGURATION_CMDS_AT_BOOT_UP which is disabled by default.  By default the controller will ignore at boot up GS-232 commands that start rotation or change the configuration.
        Related setting (new): ROTATIONAL_AND_CONFIGURATION_CMD_IGNORE_TIME_MS 5000   (ignore commands the first 5 seconds after boot up)
2020-05-11 19:58:10 -04:00
Anthony Good
0f74085281 2020.05.11.01
Handle ARDUINO_AVR_MICRO having Serial port as Serial_ class and Serial1 as HardwareSerial class
2020-05-11 17:31:05 -04:00
Anthony Good
97c655108f 2020.05.08.01
Made improvement to rotator_k3ngdisplay.cpp to reduce LCD bus traffic from cursor positioning
2020-05-08 18:30:37 -04:00
Anthony Good
3453a14e86 2020.05.07.01
More work on FEATURE_NEXTION_DISPLAY
      Updated Nextion documentation: https://github.com/k3ng/k3ng_rotator_controller/wiki/425-Human-Interface:-Nextion-Display
      New Extended Backslash Commands
        \?AO - Azimuth Full CCW Calibration
        \?AF - Azimuth Full CW Calibration
        \?EO - Elevation Full DOWN Calibration
        \?EF - Elevation Full UP Calibration
      Fixed several issues with debug dump log
      Updated command reference: https://github.com/k3ng/k3ng_rotator_controller/wiki/820-Command-Reference
2020-05-07 21:54:33 -04:00
Anthony Good
1fbad18815 2020.05.06.01
More work on FEATURE_NEXTION_DISPLAY
      Updated Nextion documentation: https://github.com/k3ng/k3ng_rotator_controller/wiki/425-Human-Interface:-Nextion-Display
      Updated BASE HMI file, new Nextion API variables
2020-05-06 22:34:13 -04:00
Anthony Good
07123047d1 2020.04.28.01
More work on FEATURE_NEXTION_DISPLAY
      Nextion HMI file contributed by Jan ZS1VDV
2020-04-28 12:46:30 -04:00
Anthony Good
6c963806ff 2020.04.27.01
New pin: pin_status_led - Status LED - blinks when there is rotation in progress
2020-04-27 21:14:22 -04:00
Anthony Good
19984cf531 2020.04.19.01
More work on FEATURE_NEXTION_DISPLAY, Nextion Display API (UNDER DEVELOPMENT)
      Documentation in progress: https://github.com/k3ng/k3ng_rotator_controller/wiki/425-Human-Interface:-Nextion-Display
2020-04-19 10:36:41 -04:00
Anthony Good
81f43ee657 2020.04.18.01
More work on FEATURE_NEXTION_DISPLAY, Nextion Display API (UNDER DEVELOPMENT)
      Documentation in progress: https://github.com/k3ng/k3ng_rotator_controller/wiki/425-Human-Interface:-Nextion-Display
2020-04-18 15:16:45 -04:00
Anthony Good
446629c2e7 Not a release. Backup of Nextion API work in progress. 2020-04-13 10:06:45 -04:00
Anthony Good
9cd6ff5642 Just a backup of Nextion API work in progress. Not a major update. 2020-04-12 09:53:52 -04:00
Anthony Good
92ddc7d40f 2020.04.03.01
Fixed issue with 20 column LCD displays and spacing of az and el readings (Thanks Steve VE3RX)
2020-04-03 09:31:04 -04:00
Anthony Good
23ee1d25ce 2020.04.02.02
Improved FEATURE_PARK not parked mode detection
2020-04-02 19:18:19 -04:00
Anthony Good
8f5673101a 2020.04.02.01
Fixed bug with AZIMUTH_SMOOTHING_FACTOR and ELEVATION_SMOOTHING_FACTOR (Thanks Steve VE3RX)
      More work on FEATURE_NEXTION_DISPLAY (UNDER DEVELOPMENT)
2020-04-02 18:19:30 -04:00
Anthony Good
ad822c3cc1 2020.03.30.02
Fixed potential calculation issue with AZIMUTH_SMOOTHING_FACTOR and ELEVATION_SMOOTHING_FACTOR
2020-03-30 20:40:34 -04:00
Anthony Good
71a28f2ada 2020.03.30.01
FEATURE_NEXTION_DISPLAY - Nextion display support UNDER DEVELOPMENT
      Added file rotator_nextion.h
      Documentation in progress: https://github.com/k3ng/k3ng_rotator_controller/wiki/425-Human-Interface:-Nextion-Display
2020-03-30 15:22:47 -04:00
Anthony Good
e5166c2b6d 2020.03.11.01
Upon deactivation of moon or sun tracking using the button pins (moon_tracking_button, sun_tracking_button) or the activation lines (moon_tracking_activate_line, sun_tracking_activate_line), any in progress rotation will now stop (Thanks Steve VE3RX)
2020-03-11 20:45:39 -04:00
Anthony Good
ac0be598e7 2020.03.08.01
Change made to ensure slow start completes before slow stop activates
      Add \H command line interface command - clear and redraw the LCD display
2020-03-08 11:35:33 -04:00
Anthony Good
76f24cf832 2020.03.07.01
Added LCD_PERIODIC_REDRAW_TIME_SECS, LCD_CLEAR_BEFORE_REDRAW, LCD_REDRAW_UPON_COMMANDS to settings files
      Fixed bug with sun and moon tracking deactivation not stopping rotation (Thanks Steve VE3RX)
      Minor addition in the k3ngdisplay code for display updates and redraws
2020-03-07 13:56:01 -05:00
Anthony Good
bfdd023649 2020.03.07.01
Added LCD_PERIODIC_REDRAW_TIME_SECS, LCD_CLEAR_BEFORE_REDRAW, LCD_REDRAW_UPON_COMMANDS to settings files
2020-03-07 13:48:52 -05:00