kopia lustrzana https://github.com/lightaprs/LightAPRS-1.0
Radio module power management improved
rodzic
337ecb5a5d
commit
01bc85ec49
|
@ -46,7 +46,7 @@ char StatusMessage[50] = "LightAPRS by TA9OHC & TA2MUN";
|
|||
unsigned int BeaconWait=60; //seconds sleep for next beacon (TX).
|
||||
unsigned int BattWait=60; //seconds sleep if super capacitors/batteries are below BattMin (important if power source is solar panel)
|
||||
float BattMin=4.5; // min Volts to wake up.
|
||||
float DraHihgVolt=4.8; // min Volts for radio module (DRA818V) to transmit (TX) 1 Watt, below this transmit 0.5 Watt.
|
||||
float DraHighVolt=4.8; // min Volts for radio module (DRA818V) to transmit (TX) 1 Watt, below this transmit 0.5 Watt.
|
||||
float GpsMinVolt=4.0; //min Volts for GPS to wake up. (important if power source is solar panel)
|
||||
|
||||
boolean aliveStatus = true; //for tx status message on first wake-up just once.
|
||||
|
@ -334,7 +334,7 @@ void sendLocation() {
|
|||
#if defined(DEVMODE)
|
||||
Serial.println(F("Location sending with comment"));
|
||||
#endif
|
||||
if (readBatt() > DraHihgVolt) RfPwrHigh; //DRA Power 1 Watt
|
||||
if ((readBatt() > DraHighVolt) && (readBatt() < 10)) RfPwrHigh; //DRA Power 1 Watt
|
||||
else RfPwrLow; //DRA Power 0.5 Watt
|
||||
|
||||
int hh = gps.time.hour();
|
||||
|
@ -368,7 +368,7 @@ void sendLocation() {
|
|||
}
|
||||
|
||||
void sendStatus() {
|
||||
if (readBatt() > DraHihgVolt) RfPwrHigh; //DRA Power 1 Watt
|
||||
if ((readBatt() > DraHighVolt) && (readBatt() < 10)) RfPwrHigh; //DRA Power 1 Watt
|
||||
else RfPwrLow; //DRA Power 0.5 Watt
|
||||
|
||||
RfON;
|
||||
|
|
|
@ -45,7 +45,7 @@ char StatusMessage[50] = "LightAPRS by TA9OHC & TA2MUN";
|
|||
unsigned int BeaconWait=60; //seconds sleep for next beacon (TX).
|
||||
unsigned int BattWait=60; //seconds sleep if super capacitors/batteries are below BattMin (important if power source is solar panel)
|
||||
float BattMin=4.5; // min Volts to wake up.
|
||||
float DraHihgVolt=5.0; // min Volts for radio module (DRA818V) to transmit (TX) 1 Watt, below this transmit 0.5 Watt.
|
||||
float DraHighVolt=5.0; // min Volts for radio module (DRA818V) to transmit (TX) 1 Watt, below this transmit 0.5 Watt.
|
||||
float GpsMinVolt=4.0; //min Volts for GPS to wake up. (important if power source is solar panel)
|
||||
|
||||
boolean aliveStatus = true; //for tx status message on first wake-up just once.
|
||||
|
@ -403,7 +403,7 @@ void sendLocation() {
|
|||
#if defined(DEVMODE)
|
||||
Serial.println(F("Location sending with comment"));
|
||||
#endif
|
||||
if (readBatt() > DraHihgVolt) RfPwrHigh; //DRA Power 1 Watt
|
||||
if ((readBatt() > DraHighVolt) && (readBatt() < 10)) RfPwrHigh; //DRA Power 1 Watt
|
||||
else RfPwrLow; //DRA Power 0.5 Watt
|
||||
|
||||
int hh = gps.time.hour();
|
||||
|
@ -437,7 +437,7 @@ void sendLocation() {
|
|||
}
|
||||
|
||||
void sendStatus() {
|
||||
if (readBatt() > DraHihgVolt) RfPwrHigh; //DRA Power 1 Watt
|
||||
if ((readBatt() > DraHighVolt) && (readBatt() < 10)) RfPwrHigh; //DRA Power 1 Watt
|
||||
else RfPwrLow; //DRA Power 0.5 Watt
|
||||
|
||||
RfON;
|
||||
|
|
|
@ -46,7 +46,7 @@ char StatusMessage[50] = "LightAPRS by TA9OHC & TA2MUN";
|
|||
unsigned int BeaconWait=60; //seconds sleep for next beacon (TX).
|
||||
unsigned int BattWait=60; //seconds sleep if super capacitors/batteries are below BattMin (important if power source is solar panel)
|
||||
float BattMin=4.5; // min Volts to wake up.
|
||||
float DraHihgVolt=4.8; // min Volts for radio module (DRA818V) to transmit (TX) 1 Watt, below this transmit 0.5 Watt.
|
||||
float DraHighVolt=8.0; // max Volts for radio module (DRA818V) to transmit (TX) 1 Watt, above this transmit 0.5 Watt. Do not increase this value to avoid overheating.
|
||||
float GpsMinVolt=4.0; //min Volts for GPS to wake up. (important if power source is solar panel)
|
||||
|
||||
boolean aliveStatus = true; //for tx status message on first wake-up just once.
|
||||
|
@ -337,7 +337,7 @@ void sendLocation() {
|
|||
#if defined(DEVMODE)
|
||||
Serial.println(F("Location sending with comment"));
|
||||
#endif
|
||||
if (readBatt() > DraHihgVolt) RfPwrHigh; //DRA Power 1 Watt
|
||||
if (readBatt() < DraHighVolt) RfPwrHigh; //DRA Power 1 Watt
|
||||
else RfPwrLow; //DRA Power 0.5 Watt
|
||||
|
||||
int hh = gps.time.hour();
|
||||
|
@ -371,8 +371,9 @@ void sendLocation() {
|
|||
}
|
||||
|
||||
void sendStatus() {
|
||||
if (readBatt() > DraHihgVolt) RfPwrHigh; //DRA Power 1 Watt
|
||||
if (readBatt() < DraHighVolt) RfPwrHigh; //DRA Power 1 Watt
|
||||
else RfPwrLow; //DRA Power 0.5 Watt
|
||||
|
||||
AprsPinOutput;
|
||||
RfON;
|
||||
delay(2000);
|
||||
|
|
|
@ -23,7 +23,7 @@ LightAPRS is available on http://www.qrp-labs.com/lightaprs.html for order.
|
|||
- **EEPROM** : 4 kB
|
||||
- **Operating Frequency** : 8 Mhz
|
||||
- **Operating Voltage** : 3.3 Volt
|
||||
- **Input Voltage** : 3.3 Volt (via 3.3V pin) or 4.5 (min) - 15 (max) Volt via usb or VBat pin
|
||||
- **Input Voltage** : 4.5 (min) - 15 (max) Volt for 0.5 Watt / 4.5 (min) - 10 (max) Volt for 1 Watt via usb or VBat pin
|
||||
- **BOD** : 2.7 Volt
|
||||
- **Sensor** : BMP180 (pressure and temperature)
|
||||
- **Radio Module** : [Dorji DRA818V](http://www.dorji.com/products-detail.php?ProId=55) (included)
|
||||
|
@ -31,7 +31,7 @@ LightAPRS is available on http://www.qrp-labs.com/lightaprs.html for order.
|
|||
- **Low Pass Filter** : Available (7 elements)
|
||||
- **Radio Power** : 0.5 Watt or 1 Watt (configurable by code)
|
||||
- **Power Consumption (Sleep)** : ~5 mA
|
||||
- **Power Consumption (TX)** : ~460 mA (0.5 Watt) / ~760 mA (1 Watt)
|
||||
- **Power Consumption (TX)** : ~460 mA (0.5 Watt) / ~760 mA (1 Watt) (Automatically selected based on input voltage by code)
|
||||
- **GPS** : Ublox MAX-M8Q (GPS-GLONASS)
|
||||
- **GPS Antenna Gain** : 4.3 dBi
|
||||
- **Extended Pins** : I2C, SPI
|
||||
|
|
Ładowanie…
Reference in New Issue