Configuration - Breezedude/breezedudeWindSensor GitHub Wiki
Location (GPS coordinates), altitude and sensor orientation are set via a text file on the device and can be adjusted manually or via the configurator.
To do so, connect the Breezedude to your computer via USB, press reset once and read in the "settings.txt" file on the mass storage device.
Then download the revised configuration file from the configurator and copy it to the Breezdude flash device (overwrite). The filename of the active file must be settings.txt.
Parameter
[!IMPORTANT] Parameters can be enabled
1or disabled0.
Not all parameters need to be present in the configuration.
If not present, default values are used. See source for default values.
NAME=?Test Stationname of the station being broadcasted. The?indicates that whitespaces will not be removed. The altitude of the station will be added to the name automatically when send to FANET (will be moved from name to altitude when shown by breezedude.de website)LON=12.194196longitude of the stations WGS84 coordinates. must use.for decimalLAT=47.891249latitude of the stations WGS84 coordinates. must use.for decimalALT=460altitude of the station above means sea level (MSL) in meter. Integer value (no demcimal)HEADING_OFFSET=0offset of the sensors 'north' to the actual north. Use configurator for graphical setup.WIND_AGE=30duration in seconds for averaging wind values as 'current wind' valueGUST_AGE=600duration in seconds for looking for the 4th highest gust as 'current gust' valueBROADCAST_INTERVAL_WEATHER=40interval in seconds in which weather messages are send.BROADCAST_INTERVAL_NAME=300interval in seconds in which the station name is send.SENSOR_BARO=1enable barometric pressure sensor. The type of sensor will be detected automatically.SENSOR_WSXX=1use WS80 or WS85 sensor as wind data input. Sensor type will be detected automatically. only enable one wind sensor type at a time.SENSOR_WS85_UART=1use WS85 sensor in UART mode as wind data input. See modification for details.SENSOR_DAVIS6410=1use DAVIS 6410 as wind data input. only enable one wind sensor type at a time.SENSOR_WINDNERD=1use a Windnerd Core as wind data input. only enable one wind sensor type at a time.DEBUG=1print debug messages to UART and I2C (if connected). Can be left enabledWDT=1enable watchdog reset. recommended to enableTESTMODE=1send fake values to test FANET weather reporting without a sensor connected. requiresSENSOR_WSXX=1. Only use for testingLORA_FREQ=868.2LoRa Frequency. EU is 868.2 MHz, for North America use 920.8 MHz and bandwidth 500 Mhz. See Protocol. Is selected automatically based on GPS coordinates. This is for manual override only.LORA_BW=250LoRa Bandwidth. EU (default) is 250 kHz, for North America use 500 kHz. This is for manual override only.
[!IMPORTANT] Any comments can be included in the configuration file using
#in front of a line. Whitespaces should be removed automatically. For additional parameters see sourcecode (dev & debug only).
Intervals
Recommended broadcast intervals are 40 sec for weatherdata and 300 sec for station name. These values are tested. When using more frequent transmission, the battery may deplete. When mounted in shaded locations, it may be necessary to increase the intervals slightly or use a different housing with a bigger solar cell. An automated reduction of transmission during night or adptive intervals depending on battery level may be added in the future.
[!NOTE] The configuration can also be edited using an Android cell phone or tablet. It is best to prepare the file in advance and only copy it to the Breezdude. In my case, the Android device could not use the mass storage without formatting it first. This should be possible without any problems and should also work afterwards (red LED must remain off). Depending on the file manager/app used, the file is not always written properly when editing (opening directly on the Breezedude drive, the file exists but is 0kb in size). Therefore it is better to just copy it, that works better. If you want to do this with your cell phone, it is best to try out the process at home in peace._