Modified APRS format of Image and Log packets
Implemented image
Added memory address to log command (Serial USB console)
Added failsafe to ADC measurements (if PAC1720 fails)
Improved radio buffer management (less memory needed now)
Changed tracking manager: Last sequence ID read from memory now (at startup)
Implemented Webserver for displaying Position, Log and Images packets
Implemented SSDV Decoding Server
- Fixed error in SOI-not-found flag in debug.c
- Added camera-command command (for testing different camera options while watching the livestream)
- Fixed table header in readLog USB command
- Added last-image-id to track-point struct (which is also logged), SSDV transmission will start with next ID on STM32 reset.
This has been done while habhub alway mixes up different images with the same image id.
- Added thread (module) configuration printout on USB debug
- Added GPS_LOG and GPS_OFF flag
- Changed tracking manager initialization strategy:
Tracking Manager runs all time and also logs when there is no new GPS fix
Tracking Manager logs images ID
Tracking Manager doesnt switch on GPS unless there is a position thread running (in order to save energy when position is not sent out)
Implemented several flags in decoder2.py
Added script command.c which sends camera registers via USB to the OV5640.
Fixed bug: Image transmission over USB was only possible when no image module was activated
Added feature: Print saved log on USB
Fixed camera initialization bug
Implemented dynamic camera resolution change without reinitialization
Created separated takePicture method in image.c
Changed timer implementation for 2FSK
Implemented concurrent transmission and packet encoding (not working yet)
Wrote documentation for config.c
Implemented grouped transmission (without preamble)
All dividers for all clocks are static except for HPRE.
HPRE is dynamically changed between /1 and /8. It is usually set to /8.
If the camera is capturing the image, it is set to /1. This is necessary
while the sampling method needs a to sample the fast data from the camera.
After capture, the prescaler is switched back to /8.
HPRE will affect the speed of AHB1 and AHB2. Both have the same speed.
At image capture, both are running at 48Mhz and 6Mhz at all other times.
The clock change has a drastic effect of the power consumption.
--------------------------------------------------
Running at 1.8V
Position packet transmission, APRS AFSK, one packet every 1min (GPS off)
Image transmission, APRS AFSK, one packet every 20sec, redundant TX
=> average consumption 55mW
--------------------------------------------------
Running at 1.8V
Position packet transmission, APRS AFSK, one packet every 1min (GPS off)
=> average consumption 34mW
Merged configuration types
Made USB and 3V switch configureable
Removed USB debugging temporarly
Adjusted camera clocking
Removed Si4464 power conversion function
Implemented I2C communication with ublox module
Fixed endless-loop bug in tracking manager
Increased cutoff voltage at which PAC1720 is used
Implemented redundant tansmission option
Moved APRS definitions to APRS related files
Renamed variables (so they get more understandable)