Richard Meadows
282da70a9c
Added LED toggle function
2015-10-18 18:56:23 +01:00
Richard Meadows
68c9614efa
Added UBX CFG PWR frame to GPS. Useful for putting GPS in "shutdown"
2015-10-18 18:55:56 +01:00
Richard Meadows
014a9dc568
UBSEDS11
2015-10-11 11:46:17 +01:00
Richard Meadows
7151f20e20
UBSEDS10
2015-10-11 11:13:17 +01:00
Richard Meadows
c7e8cabf94
Correct sense of aprs flight/testing define
2015-10-10 23:18:46 +01:00
Richard Meadows
f35ccb540b
Added thermistor equations, c from Adam Cately
2015-10-10 20:38:02 +01:00
Richard Meadows
9ac99dc637
Tidied up i2c stuff
2015-10-09 18:28:44 +01:00
Richard Meadows
350147a3d7
Add BMP180 to data.c, format output correctly
2015-10-09 18:08:19 +01:00
Richard Meadows
f2425c926e
Set I2C to current I2C layout
2015-10-08 21:59:41 +01:00
Richard Meadows
c2822a5d8f
Added GPS reset code
2015-10-08 21:33:18 +01:00
Richard Meadows
f10d6861ff
Added new datapoints to UHAS string. Increased limit of UKHAS string to 120 characters
...
Increases max. transmission time by 4 seconds, in line with async data collection move 20->25 earlier
2015-10-07 01:10:57 +01:00
Richard Meadows
1171a90e98
Add thermistor voltage readings to analogue.c
...
analogue.c is now configured from hw_config.h. Refactored a few things including the testcase.
2015-10-06 23:39:36 +01:00
Richard Meadows
599e677a20
Collect GPS data asynchronously. Maybe we can reduce the update rate on the GPS to save power?
2015-10-06 20:17:39 +01:00
Richard Meadows
a625416787
Enable aprs, telemetry geofence for testing
2015-10-06 20:06:47 +01:00
Richard Meadows
a6eabc9099
Update hw_config for v0.985
2015-10-06 20:06:15 +01:00
Richard Meadows
7e24523c85
Remove semihosting. We don't use this anymore
2015-10-06 19:48:29 +01:00
Richard Meadows
707ad66e31
Tidy various compiler warnings
2015-10-06 19:27:31 +01:00
Richard Meadows
e5e6cfaf85
Add option for TELEMETRY_USE_GEOFENCE, disable APRS
2015-10-01 14:24:40 +01:00
Richard Meadows
0e01b2a786
Added module and tests for BMP180
2015-10-01 13:07:22 +01:00
Richard Meadows
03fc8a176d
Added I2C module. Currently configured for rocketry / hf dev
2015-08-16 15:54:47 +01:00
Richard Meadows
7f58ddee7b
Added barometeric altitude model and testcase
2015-08-02 14:03:49 +01:00
Richard Meadows
eb1ad8d872
UBSEDS9 pre-flight
2015-07-25 02:20:30 +01:00
Richard Meadows
2f977f9740
Set watchdog max_idle limits for flight
2015-07-24 23:20:51 +01:00
Richard Meadows
ec4829ea43
Enabled aprs parameters for flight
2015-07-24 23:18:16 +01:00
Richard Meadows
1f0e8e1900
location.c now deals in integer only (apart from the point in poly itself), fix testcases to match
2015-07-24 22:56:16 +01:00
Richard Meadows
eaa64690b7
Timeout and retries on gps position and time. Lock and wait for hardware reset after 5 tries
2015-07-24 20:25:57 +01:00
Richard Meadows
8cff9a91fd
Pass lon/lat to geofence update functions as 100 nanodeg int32_t instead of float
2015-07-22 22:56:33 +01:00
Richard Meadows
2be1e3344e
Added no telemetry geofence for China, NK and Yemen. Added test case
2015-07-22 22:33:51 +01:00
Richard Meadows
7acb3d82e7
Now this saves some startup time on the pips. We can actually shortern them with the time we've saved
...
In future potentially keep the si in standby mode rather than shutdown mode. This saves startup time, but could be a reliabilty issue as the si isn't getting a full hw reset each cycle. Probably don't bother, it doesn't matter that much
2015-07-18 22:58:11 +01:00
Richard Meadows
2df3eaf783
Pre-calculate si settings for each frequency. Apparently this only shaves 2 ms off the startup time but hey
2015-07-18 22:30:57 +01:00
Richard Meadows
a734ffef5b
Added crc32 and test case
2015-07-18 21:25:52 +01:00
Richard Meadows
413e116707
Added backlog replay threshold, currently one day
2015-07-18 17:03:45 +01:00
Richard Meadows
93dd085729
Tidy compilation warning
2015-07-18 16:55:58 +01:00
Richard Meadows
b543316b42
Interrupt on both edges of the gps timepulse to ensure we hit the hardware watchdog often enough. Also control the external WDI line as an awake/asleep trigger for debugging.
...
This introduces a uncertainty of ±0.5s on the internal time, but we can ignore that for the moment
2015-07-18 16:53:25 +01:00
Richard Meadows
7a94195d95
Culled various compiler warnings
2015-07-16 21:00:56 +00:00
Richard Meadows
bbdd0b68ee
Added note about `MAXIDLE` values, set to conservative value of 0xFFFF
2015-07-16 20:32:18 +00:00
Richard Meadows
c40105dacb
Improved gps error handling, more work to do here however
2015-07-16 20:19:35 +00:00
Richard Meadows
ea2f7b5c27
Moved gps usart over to glck1 (txco). Should be more stable. Added (untested) test case to check baud rate accuaracy
2015-07-14 20:46:03 +00:00
Richard Meadows
cca08c4a78
Differentiate init for testcase runs. For testcases don't init regular interrupts that could get in the way
2015-07-12 14:54:20 +01:00
Richard Meadows
cd46495152
Fixed a couple of APRS timing/format issues. APRS txes after rtty, on 144.8 when geofence is disabled
2015-07-12 00:17:04 +01:00
Richard Meadows
90363c6b6e
Added APRS_USE_GEOFENCE flag
2015-07-11 20:17:46 +01:00
Richard Meadows
5aea2ccd50
Improved RSID with new si filter profile, leave some time for si startup
2015-07-11 20:07:30 +01:00
Richard Meadows
a518ed92f9
Added write to the si modem DSM_CTRL register, allow even deviation values (potentially could lead to spurs but probs not)
2015-07-11 12:51:34 +01:00
Richard Meadows
1f812b5a00
[bugfix] lat, lon and altitude should all be signed values!
2015-07-05 20:48:31 +01:00
Richard Meadows
5d6d35d9dc
Increase the frequency of the internal watchdog gclk so we don't get massive lag when kicking it. Also fix up varous timing issues / speed things up
2015-07-04 20:47:58 +01:00
Richard Meadows
28d1d18541
Longer pips
2015-07-03 23:44:22 +01:00
Richard Meadows
08e3d30c25
Brought up gps on new hw, various bugfix, pre-calculate telemetry timer counts and more
2015-07-03 23:40:47 +01:00
Richard Meadows
cde21d13f9
Added solar to adc, adc now runs on interrupt, added test case. TODO adc paramter tuning
2015-07-03 12:46:33 +01:00
Richard Meadows
1c9385b612
Added backlog unit and test case. Also mem_erase_all testcase
2015-07-01 19:17:55 +01:00
Richard Meadows
c5d780b0eb
Add base-91 telemetry to aprs
2015-06-30 17:18:00 +01:00