forked from darksidelemm/RS41FOX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.h
58 lines (44 loc) · 1.92 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// RS41FOX Config File.
#ifndef RS41HUP_CONFIG_H
#define RS41HUP_CONFIG_H
#ifdef USE_EXTERNAL_CONFIG
#include "config_external.h"
#else
//************GLOBAL Settings*****************
#define TRANSMIT_FREQUENCY 434.650f // MHz. (Default is within the ISM band. ARDF Frequency in Australia is 439.4 MHz)
#define CALLSIGN "N0CALL" // Put your callsign here, max. 15 characters
// TX Power
#define TX_POWER 5 // PWR 0...7 0- MIN ... 7 - MAX
// Power Levels measured at 434.650 MHz, using a Rigol DSA815, and a 10 kHz RBW
// Power measured by connecting a short (30cm) length of RG316 directly to the
// antenna/ground pads at the bottom of the RS41 PCB.
// 0 --> -1.9dBm
// 1 --> 1.3dBm
// 2 --> 3.6dBm
// 3 --> 7.0dBm
// 4 --> 10.0dBm
// 5 --> 13.1dBm - DEFAULT
// 6 --> 15.0dBm
// 7 --> 16.3dBm
//*************BEACON SETTINGS****************
// Morse Ident speed.
#define MORSE_WPM 20
// CW beacon on & off times.
#define ON_TIME 10 // Seconds
#define OFF_TIME 10 // Seconds
// Number of On/Off Repeats.
#define ONOFF_REPEATS 1
// Low-Voltage Beacon
// If enabled (uncommmented), beacon the lat/lon of the fox in the CW ident when the battery voltage gets low.
// NOTE: If you are going to place the fox in a location with no GPS reception, disable this mode,
// else it will draw lots of power trying to acquire GPS signal.
#define LOW_VOLTAGE_BEACON 1
// Low-Voltage beacon threshold voltage. For ~4-5 hours of position beaconing before going flat, use:
// Lithium AA: 2.7 volts (Refer 100mA discharge curve here: http://data.energizer.com/pdfs/l91.pdf )
// Alkaline AA: 2.2 volts (Refer 100mA discharge curve here: http://data.energizer.com/pdfs/e91.pdf )
#define LOW_VOLTAGE_BEACON_THRESHOLD 2.2 // Volts
// Low-Voltage Cutout - Kill power if the supply drops below this level. Useful to avoid destroying cells.
// Set this to < 1 Volt for (essentially) no low-voltage cutout.
#define LOW_VOLTAGE_CUTOUT 0.5 // Volts
#endif
#endif //RS41HUP_CONFIG_H