Commit Graph

275 Commits

Author SHA1 Message Date
Anthony Good
b1072145cb 2021.10.19.04
FEATURE_NEXTION_DISPLAY: more work on initialization code
2021-10-19 17:22:11 -04:00
Anthony Good
87b9bb20d4 2021.10.19.03
FEATURE_NEXTION_DISPLAY: optimization of OPTION_NEW_NEXTION_INIT_CODE
2021-10-18 22:20:21 -04:00
Anthony Good
54d8d51dd1 2021.10.19.02
FEATURE_NEXTION_DISPLAY: testing new initialization code (OPTION_NEW_NEXTION_INIT_CODE)
2021-10-18 21:43:59 -04:00
Anthony Good
32ae1f1e0d 2021.10.19.01
Increment Encoder Sensors: Attempt to get large EL_POSITION_INCREMENTAL_ENCODER_PULSES_PER_REV working correctly
2021-10-18 20:14:22 -04:00
Anthony Good
417f512eb9 2021.10.17.01
FEATURE_SATELLITE_TRACKING: I *believe* I fixed the issue with satellite tracking using DEFAULT_LATITUDE and DEFAULT_LONGITUDE rather than GPS-derived coordinates
2021-10-17 17:12:05 -04:00
Anthony Good
e43ed787f6 2021.10.15.01
FEATURE_SATELLITE_TRACKING:
          Added \& command to manually invoke recalculation of all satellite tracking data
          All satellite data is now recalculated if the clock comes out of FREE_RUNNING state or if the latitude / longitude (current location) changes
        All time functionality permanent changed to use TimeLib library
        Working on adding Sparkfun u-blox GNSS library (OPTION_GPS_USE_SPARKFUN_U_BLOX_GNSS_LIBRARY)
2021-10-14 22:40:52 -04:00
Anthony Good
3bfbe818c0 Fixed some typos in rotator_features_wb6kcn.h 2021-10-14 18:04:33 -04:00
Anthony Good
17412038d0 2021.10.14.02
Added OPTION_CLI_VT100 - VT100 terminal emulation; currently used only by satellite tracking status command \|
        Updated hardcoded default AO7TEST TLE
2021-10-14 12:27:37 -04:00
Anthony Good
56e6ed8233 2021.10.14.01
FEATURE_STEPPER_MOTOR
          Removed OPTION_STEPPER_MOTOR_MAX_50_KHZ.  Too much overhead from interrupts.
          Implemented faster digital writes using digitalWriteFast library (library now included in Github)
          Added OPTION_STEPPER_DO_NOT_USE_DIGITALWRITEFAST_LIBRARY to disable digitalWriteFast library use
2021-10-13 20:58:48 -04:00
Anthony Good
027df6c342 2021.10.13.01
FEATURE_STEPPER_MOTOR: Added OPTION_STEPPER_MOTOR_MAX_50_KHZ
2021-10-12 20:14:54 -04:00
Anthony Good
fd355b2556 2021.10.12.01
FEATURE_STEPPER_MOTOR: Added several options to change maximum frequency supported.  (Not tested on hardware yet.)
          OPTION_STEPPER_MOTOR_MAX_2_KHZ (enabled by default)
          OPTION_STEPPER_MOTOR_MAX_5_KHZ
          OPTION_STEPPER_MOTOR_MAX_10_KHZ
          OPTION_STEPPER_MOTOR_MAX_20_KHZ
2021-10-11 23:57:54 -04:00
Anthony Good
c66e10f280 added TimeLib to libraries folder 2021-10-08 08:53:30 -04:00
Anthony Good
701800cba2 2021.10.08.01
DEVELOPMENT_TIMELIB - Have TimeLib integrated with all time-related functionality, including FEATURE_CLOCK, FEATURE_GPS, FEATURE_MOON_TRACKING, FEATURE_SUN_TRACKING, FEATURE_RTC_DS1307, FEATURE_RTC_PCF8583
        Place a define for DEVELOPMENT_TIMELIB in your rotator_features file to test
2021-10-08 08:42:57 -04:00
Anthony Good
cbdfc826bc 2021.10.06.01
FEATURE_STEPPER_MOTOR and Variable frequency outputs (rotate_cw_freq, rotate_ccw_freq, rotate_up_freq, rotate_down_freq):
          Clarified in settings files minimum and maximum values for AZ_VARIABLE_FREQ_OUTPUT_LOW, AZ_VARIABLE_FREQ_OUTPUT_HIGH, EL_VARIABLE_FREQ_OUTPUT_LOW, EL_VARIABLE_FREQ_OUTPUT_HIGH
        FEATURE_STEPPER_MOTOR - added code to limit high frequency value to 2000 hertz
        Big thanks to Fred, VK2WS!
        DEVELOPMENT_TIMELIB - working on recoding clock and time functions to the TimeLib library, in preparation for supporting Teensy RTC
2021-10-06 21:32:33 -04:00
Anthony Good
a78deaf816 2021.10.05.02
Cleaned up code and pins files to remove az_stepper_motor_direction and el_stepper_motor_direction and throw a compiler error if either are defined.  (Use the rotate_* pins instead.)
        Reference: b36c5a1d4c
2021-10-05 20:44:53 -04:00
Anthony Good
7179f72516 2021.10.05.01
DEBUG_ROTATOR - added code to traceback who called rotator()
2021-10-05 15:41:29 -04:00
Anthony Good
7d9ef8d3a9 2021.07.18.02
FEATURE_NEXTION_DISPLAY - Added code to watch for unexpected reset / 'i am alive' from Nextion
2021-07-18 09:49:54 -04:00
Anthony Good
d67cb92aae 2021.07.18.01
FEATURE_SATELLITE_TRACKING - Fixed another issue with the \! not loading up the AO7-TEST default satellite (Thanks, Karl Jan Skontorp)
        FEATURE_NEXTION_DISPLAY - Major improvement in Nextion display startup timing (Thanks, Adam, VK4GHZ)
2021-07-18 09:30:20 -04:00
Anthony Good
26f2622cdb 2021.07.17.01
FEATURE_SATELLITE_TRACKING - Fixed issue with \! command not clearing out satellit array and leaving invalid choices displayed on Nextion display
        FEATURE_NEXTION_DISPLAY - Added \?NG command which prompts the rotator controller to send the gSC variable immediately to the Nextion
2021-07-17 15:10:59 -04:00
Anthony Good
53cfb6c939 2021.06.24.01
Fixed issues with integer conversions involving azimuth and elevation (Thanks, Alexander, RV6FX)
2021-06-24 08:52:01 -04:00
Anthony Good
72a14eb51c 2021.04.07.01
Fixed issue with el_incremental_encoder_position rolling over to 0 after 32,767 or so
2021-04-07 17:35:16 -04:00
Anthony Good
de712f2f42 2021.04.02.01
FEATURE_AUDIBLE_ALERT new commands:
          \-   Query audible alert state
          \-0  Disable audible alerts
          \-1  Enable audible alerts
          \-X  Silence current audible alert
          \-~  Manually trigger audible alert
          \-A0 Disable AZ target alert
          \-A1 Enable AZ target alert
          \-E0 Disable EL target alert
          \-E1 Enable EL target alert
2021-04-02 16:16:36 -04:00
Anthony Good
1761d97ec1 2021.04.01.01
FEATURE_NEXTION_DISPLAY
          New Variables:
            gV2         Integer, Bit Mapped   Various States 2
              Bit Values
                audible_alert_enabled 1

            gTS          Integer               Satellite tracking check interval (mS)
            gTU          Integer               Sun tracking check interval (mS)
            gTM          Integer               Moon tracking check interval (mS)
            gTX          Integer               Satellite tracking rotation interval (mS)
            gTY          Integer               Sun tracking rotation interval (mS)
            gTZ          Integer               Moon tracking rotation interval (mS)
            vTA          String[5]             Satellite tracking degrees difference threshold
            vTB          String[5]             Sun tracking degrees difference threshold
            vTC          String[5]             Moon tracking degrees difference threshold

          New Bit Mapped in Existing Variable:
            gSC         Integer, Bit Mapped   System Capabilities
              Bit Values
                AUDIBLE_ALERT 8192
2021-03-31 20:12:43 -04:00
Anthony Good
7e829275cf 2021.03.20.01
The satellite, sun, and moon automatic tracking algorithms have been enhanced and have new runtime settings

          tracking check interval = the interval in mS the system performs a tracking calculation and decision
          rotation interval = the minimum amount of time in mS between rotation initiations
          degrees difference threshold = the decimal degrees difference between the current az/el and the desired az/el which must be met or exceed in order to initiate rotation

          Both the rotation interval and degrees difference threshold must met in order to initiate rotation.
          The rotation interval and/or degrees difference threshold can be set to 0 to disable.

        New commands:

          \(                  - show satellite, sun, and moon automatic tracking parameters

          \?TSxxxx            - set satellite tracking check interval (mS)
          \?TUxxxx            - set sun tracking check interval (mS)
          \?TMxxxx            - set moon tracking check interval (mS)

          \?TXxxxx            - set satellite rotation interval (mS)
          \?TYxxxx            - set sun rotation interval (mS)
          \?TZxxxx            - set moon rotation interval (mS)

          \?TAx[.]x            - set satellite degrees difference threshold
          \?TBx[.]x            - set sun degrees difference threshold
          \?TCx[.]x            - set moon degrees difference threshold
2021-03-20 12:15:56 -04:00
Anthony Good
e497a745a0 2021.03.08.01
Even more work on FEATURE_AZ_POSITION_PULSE_INPUT to properly handle float values and preserve decimal places
2021-03-08 19:47:45 -05:00
Anthony Good
9e820370d2 2021.03.07.03
Additional work on FEATURE_AZ_POSITION_PULSE_INPUT to properly handle float values and preserve decimal places
2021-03-07 14:41:44 -05:00
Anthony Good
05513308e1 2021.03.07.02
Fixed issue in FEATURE_EL_POSITION_PULSE_INPUT with EL_POSITION_ROTARY_ENCODER_DEG_PER_PULSE decimal values being truncated
2021-03-07 14:08:42 -05:00
Anthony Good
b4774910cc 2021.03.07.01
Fixed potential issue with AZ_POSITION_ROTARY_ENCODER_DEG_PER_PULSE and EL_POSITION_ROTARY_ENCODER_DEG_PER_PULSE decimal values being truncated
        Updated default AO7TEST TLE
2021-03-07 12:51:49 -05:00
Anthony Good
7efacefc46 2021.02.16.01
Fixed potential for latest coordinates from GPS not being used for satellite tracking
2021-02-15 19:17:24 -05:00
Anthony Good
43d7a3ce4b 2021.01.26.01
(Hopefully) Fixed heading decimal place issues (float vs. int) in FEATURE_AZ_POSITION_HH12_AS5045_SSI, FEATURE_EL_POSITION_HH12_AS5045_SSI, and FEATURE_EASYCOM_EMULATION
2021-01-26 17:32:11 -05:00
Anthony Good
965f0452fb 2020.12.23.01
Removed EA4TX hardware support due to copying of other open source project hardware and selling it
2020-12-23 22:00:47 -05:00
Anthony Good
99e8494f5b 2020.10.20.01
Merge of pull request 79 - Added Norwegian Bokmål language https://github.com/k3ng/k3ng_rotator_controller/pull/79  (Thanks, Supermagnum)
        LANGUAGE_NORWEGIAN_BOKMAAL added with pull request 79 merge
2020-10-20 18:53:26 -04:00
Anthony Good
8502dfbd9e
Merge pull request #79 from Supermagnum/master
Added Norwegian Bokmål language
2020-10-20 18:48:10 -04:00
Supermagnum
20dac844e0
Update rotator_features.h
Added // #define LANGUAGE_NORWEGIAN_BOKMAAL
2020-10-20 03:42:56 +02:00
Supermagnum
1c3a673032
Added Norwegian Bokmål language
Added Norwegian Bokmål language
2020-10-11 01:25:50 +02:00
Anthony Good
214dcdd943 2020.09.17.01
FEATURE_AUTOPARK & FEATURE_PARK - raise an error at compile time if FEATURE_AUTOPARK is enabled without FEATURE_PARK rather than silently including FEATURE_PARK
        DEBUG_SATELLITE_TRACKING_CALC - fixed compiler error
2020-09-17 16:55:41 -04:00
Anthony Good
b20629c60e 2020.09.09.01
FEATURE_NEXTION_DISPLAY
          Some code cleanup
2020-09-08 21:54:40 -04:00
Anthony Good
b41b7dbfe8 2020.09.04.01
FEATURE_NEXTION_DISPLAY
          Added new bit value to gVS (various statuses): configuration_dirty 65536
        FEATURE_AUTOPARK
          Cleaned up some code for the \Y command that may have had a bug
2020-09-03 21:46:26 -04:00
Anthony Good
48a4583abb 2020.09.02.01
Settings Files
          setting ANALOG_AZ_FULL_CCW renamed to ANALOG_AZ_FULL_CCW_EEPROM_INITIALIZE
          setting ANALOG_AZ_FULL_CW renamed to ANALOG_AZ_FULL_CW_EEPROM_INITIALIZE
          setting ANALOG_EL_0_DEGREES renamed to ANALOG_EL_FULL_DOWN_EEPROM_INITIALIZE
          setting ANALOG_EL_MAX_ELEVATION renamed to ANALOG_EL_FULL_UP_EEPROM_INITIALIZE
          Added additional comments for clarification
        FEATURE_NEXTION_DISPLAY
          Fixed conflicts between moon, sun, and satellite API variables and issues with gMSS variable
2020-09-02 18:50:07 -04:00
Anthony Good
e2401a95d5 fixed typo in rotator_debug_log_activation.h 2020-09-01 16:28:25 -04:00
Anthony Good
975a9ec4ce 2020.09.01.02
Overlap functionality can now be disabled by commenting out define ANALOG_AZ_OVERLAP_DEGREES in settings file
        Setting AZIMUTH_STARTING_POINT_DEFAULT renamed to AZIMUTH_STARTING_POINT_EEPROM_INITIALIZE
        Setting AZIMUTH_ROTATION_CAPABILITY_DEFAULT renamed to AZIMUTH_ROTATION_CAPABILITY_EEPROM_INITIALIZE
2020-09-01 16:19:32 -04:00
Anthony Good
3eb13727c1 2020.09.01.01
FEATURE_NEXTION_DISPLAY & FEATURE_PARK
          Added vPA and vPE API variables for park azimuth and elevation settings
          Added vAT API variable for autopark time setting in minutes
        FEATURE_NEXTION_DISPLAY
          Added transient user messaging capability for vSS1 and vSS2 via request_transient_message() call
          \PA or \PE command from Nextion pushes output to vSS1 in transient message
        Now updating software version date based on UTC date, not Eastern US date.  G'day, mates! :-)
2020-08-31 23:02:52 -04:00
Anthony Good
0c840987e1 2020.08.30.01
FEATURE_PARK
          The park azimuth and elevation is now stored in the EEPROM configuration
          Settings PARK_AZIMUTH and PARK_ELEVATION have been deprecated
          The \P command has been enhanced:
            \PA[x][x][x] - set the park azimuth
            \PE[x][x][x] - set the park elevation
            \PA or \PE (no parameter) - report current park azimuth and elevation
            \P still initiates park
        FEATURE_NEXTION_DISPLAY & FEATURE_SATELLITE_TRACKING
          Changing the current satellite on the Nextion display no longer echoes the command output on the control port
2020-08-30 17:06:43 -04:00
Anthony Good
3358207202 2020.08.29.02
FEATURE_CLOCK
          Fixed bug with CLOCK_DEFAULT_*_AT_BOOTUP settings not being used at boot up
          \O (Oscar) command (set clock manually) will now optionally take seconds in the argument (i.e. \O202008292032 or \O20200829203255)
        FEATURE_SATELLITE_TRACKING & FEATURE_CLOCK
          The \O (Oscar) command (set clock manually) now resets the satellite data array so it's recalculated using the new time setting
        FEATURE_NEXTION_DISPLAY & FEATURE_AUTOPARK
          Added an addition bit value to API variable gVS (various statuses), autopark_active 32768
        FEATURE_NEXTION_DISPLAY
          Enhanced initialization routine to retry if "i'm alive" bytes are not received
          Additional logging in DEBUG_NEXTION_DISPLAY_INIT
2020-08-29 21:07:36 -04:00
Anthony Good
d23527048f 2020.08.29.01
FEATURE_SATELLITE_TRACKING
          Yet another significant update to service_calc_satellite_data() - next AOS and LOS calculations are now accurate within 5 seconds!
2020-08-29 14:14:16 -04:00
Anthony Good
efc1ae2edf 2020.08.28.01
FEATURE_NEXTION_DISPLAY & FEATURE_SATELLITE_TRACKING
          Fixed bug with vSS1 degrees symbol
2020-08-28 16:22:40 -04:00
Anthony Good
929df3e135 2020.08.26.03
FEATURE_SATELLITE_TRACKING
          Even more optimizations!  It's working great!
        FEATURE_NEXTION_DISPLAY
          Fixed bug with gMSS API variable introduced with satellite related API variable code
2020-08-26 22:09:54 -04:00
Anthony Good
fb3a23e9f0 2020.08.26.02
FEATURE_SATELLITE_TRACKING
          Significant updates to next AOS and LOS time calculations.  This is some crazy code that throttles the calculation resolution back depending on the amount of time the calculation has been running.
          Better handling of TLE loading at boot up and handling a corrupt TLE file
2020-08-26 13:08:48 -04:00
Anthony Good
40f9f57b80 2020.08.25.02
FEATURE_SATELLITE_TRACKING
          Significant changes to the satellite data array updating algorithm
          More debugging code everywhere
          Improved AOS detection consistency
          Made it Harder Better Faster Stronger
2020-08-25 23:20:09 -04:00
Anthony Good
6842f98d8b 2020.08.25.01
DEBUG_SATELLITE_ARRAY_ORDER - additional debugging code
2020-08-25 10:08:27 -04:00