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)
This commit is contained in:
Anthony Good 2021-10-14 22:40:52 -04:00
parent 3bfbe818c0
commit e43ed787f6
11 changed files with 279 additions and 176 deletions

File diff suppressed because it is too large Load Diff

View File

@ -79,3 +79,4 @@
// #define DEBUG_SATELLITE_TRACKING_CALC_PROFILE
// #define DEBUG_SATELLITE_POPULATE_LIST_ARRAY
// #define DEBUG_SATELLITE_LIST_EXTRA_INFO
// #define DEBUG_SATELLITE_CALC_RESET

View File

@ -146,6 +146,8 @@
#error "FEATURE_SATELLITE_TRACKING requires FEATURE_CLOCK"
#endif
#if defined(FEATURE_GPS) && !defined(OPTION_GPS_USE_TINY_GPS_LIBRARY) && !defined(OPTION_GPS_USE_SPARKFUN_U_BLOX_GNSS_LIBRARY)
#error "FEATURE_GPS requires either OPTION_GPS_USE_TINY_GPS_LIBRARY or OPTION_GPS_USE_SPARKFUN_U_BLOX_GNSS_LIBRARY"
#endif

View File

@ -186,4 +186,6 @@
//#define OPTION_STEPPER_DO_NOT_USE_DIGITALWRITEFAST_LIBRARY
// #define OPTION_CLI_VT100 // use VT100 terminal emulation
// #define OPTION_CLI_VT100 // use VT100 terminal emulation
#define OPTION_GPS_USE_TINY_GPS_LIBRARY // For serial port based NMEA GPS units; serial port defined by GPS_PORT and GPS_PORT_BAUD_RATE in settings file

View File

@ -173,3 +173,6 @@
//#define OPTION_STEPPER_DO_NOT_USE_DIGITALWRITEFAST_LIBRARY
// #define OPTION_CLI_VT100 // use VT100 terminal emulation
#define OPTION_GPS_USE_TINY_GPS_LIBRARY // For serial port based NMEA GPS units; serial port defined by GPS_PORT and GPS_PORT_BAUD_RATE in settings file

View File

@ -199,8 +199,14 @@
//#define OPTION_STEPPER_DO_NOT_USE_DIGITALWRITEFAST_LIBRARY
//#define OPTION_USE_OLD_TIME_CODE
#define OPTION_CLI_VT100
#define OPTION_GPS_USE_TINY_GPS_LIBRARY // For serial port based NMEA GPS units; serial port defined by GPS_PORT and GPS_PORT_BAUD_RATE in settings file
#define OPTION_GPS_USE_SPARKFUN_U_BLOX_GNSS_LIBRARY // For Sparkfun (and perhaps others) u-blox GPS units interfaced via I2C ( https://github.com/sparkfun/SparkFun_u-blox_GNSS_Arduino_Library)
// ######## ######## ###### ########
// ## ## ## ## ##
// ## ## ## ##

View File

@ -22,7 +22,7 @@
// #define FEATURE_AUTOCORRECT
// #define FEATURE_TEST_DISPLAY_AT_STARTUP
#define FEATURE_SATELLITE_TRACKING // https://github.com/k3ng/k3ng_rotator_controller/wiki/707-Satellite-Tracking
// #define FEATURE_SATELLITE_TRACKING // https://github.com/k3ng/k3ng_rotator_controller/wiki/707-Satellite-Tracking
#define LANGUAGE_ENGLISH // all languages customized in rotator_language.h
// #define LANGUAGE_SPANISH
@ -187,3 +187,6 @@
// #define OPTION_STEPPER_DO_NOT_USE_DIGITALWRITEFAST_LIBRARY
// #define OPTION_CLI_VT100 // use VT100 terminal emulation
#define OPTION_GPS_USE_TINY_GPS_LIBRARY // For serial port based NMEA GPS units; serial port defined by GPS_PORT and GPS_PORT_BAUD_RATE in settings file

View File

@ -186,4 +186,9 @@
// #define OPTION_STEPPER_DO_NOT_USE_DIGITALWRITEFAST_LIBRARY
// #define OPTION_USE_OLD_TIME_CODE
#define OPTION_CLI_VT100 // use VT100 terminal emulation
#define OPTION_GPS_USE_TINY_GPS_LIBRARY // For serial port based NMEA GPS units; serial port defined by GPS_PORT and GPS_PORT_BAUD_RATE in settings file
// #define OPTION_GPS_USE_SPARKFUN_U_BLOX_GNSS_LIBRARY // For Sparkfun (and perhaps others) u-blox GPS units interfaced via I2C ( https://github.com/sparkfun/SparkFun_u-blox_GNSS_Arduino_Library)

View File

@ -41,7 +41,7 @@
// do not modify anything below this line
#if defined(HARDWARE_M0UPU) || defined(HARDWARE_EA4TX_ARS_USB) || defined(HARDWARE_WB6KCN) || defined(HARDWARE_TEST)
#if defined(HARDWARE_M0UPU) || defined(HARDWARE_EA4TX_ARS_USB) || defined(HARDWARE_WB6KCN) || defined(HARDWARE_TEST) || defined(HARDWARE_WB6KCN_K3NG)
#define HARDWARE_CUSTOM
#endif

View File

@ -37,6 +37,9 @@
#ifdef HARDWARE_WB6KCN
#include "rotator_features_wb6kcn.h"
#endif
#ifdef HARDWARE_WB6KCN_K3NG
#include "rotator_features_wb6kcn_k3ng.h"
#endif
#ifdef HARDWARE_M0UPU
#include "rotator_features_m0upu.h"
#endif
@ -46,16 +49,15 @@
#if !defined(HARDWARE_CUSTOM)
#include "rotator_features.h"
#endif
#ifdef HARDWARE_EA4TX_ARS_USB
#include "rotator_pins_ea4tx_ars_usb.h"
#endif
#ifdef HARDWARE_M0UPU
#include "rotator_pins_m0upu.h"
#endif
#ifdef HARDWARE_WB6KCN
#include "rotator_pins_wb6kcn.h"
#endif
#ifdef HARDWARE_WB6KCN_K3NG
#include "rotator_pins_wb6kcn_k3ng.h"
#endif
#ifdef HARDWARE_TEST
#include "rotator_pins_test.h"
#endif
@ -67,7 +69,7 @@
#include "rotator.h"
#endif
#define K3NG_DISPLAY_LIBRARY_VERSION "2020.03.16.01"
#define K3NG_DISPLAY_LIBRARY_VERSION "2021.10.14.01"
#define MAX_SCREEN_BUFFER_COLUMNS 20
#define MAX_SCREEN_BUFFER_ROWS 4

View File

@ -192,6 +192,8 @@ You can tweak these, but read the online documentation!
#define SERIAL_LED_TIME_MS 250
// #define DEFAULT_LATITUDE 1.0
// #define DEFAULT_LONGITUDE -2.0
#define DEFAULT_LATITUDE 40.889958
#define DEFAULT_LONGITUDE -75.585972