Enabling Auto Gain

@thomascundy

FIVE (5) Settings for Adaptive Gain

For Piaware SD Card image

sudo piaware-config [PARAMETER]  
sudo systemctl restart piaware

Replace [PARAMETER] by any one of the parameters below

adaptive-burst                no                             
adaptive-dynamic-range        yes                           
adaptive-dynamic-range-target xx        # Replace xx by gain value. No value set and no default value      
adaptive-max-gain             xx        # Replace xx by gain value. No value set and no default value
adaptive-min-gain             xx        # Replace xx by gain value. No value set and no default value

 

 

For package install of dump1090-fa & Piaware on Raspbian or other OS

sudo nano /etc/default/dump1090-fa  

 

# Initial receiver gain, in dB. If adaptive gain is enabled (see below) the act>
# may change over time
RECEIVER_GAIN=60

# Adjust gain to try to achieve optimal dynamic range / noise floor?
ADAPTIVE_DYNAMIC_RANGE=yes
# Target dynamic range in dB (leave blank to autoselect based on SDR type)
ADAPTIVE_DYNAMIC_RANGE_TARGET=
# Reduce gain when loud message bursts from nearby aircraft are seen?
ADAPTIVE_BURST=no
# Gain range to allow when changing gain, in dB (empty = no limit)
ADAPTIVE_MIN_GAIN=
ADAPTIVE_MAX_GAIN=

Save File after editing

Restart piaware

sudo systemctl restart piaware