Wykres commitów

87 Commity (71c9ac48eb6731b1a6ad3c776149575b235037e9)

Autor SHA1 Wiadomość Data
Sven Steudte 71c9ac48eb Inverted power measurement 2018-08-06 22:32:21 +02:00
Sven Steudte a8441c508a Made tracking struct compatible to most recent decoder 2018-08-06 22:30:54 +02:00
Sven Steudte c107a5c9c3 Implemented Berlin Geofence 2018-01-21 16:42:53 +01:00
Sven Steudte 09c1ff92dc Fixed camera sampling bug 2018-01-13 22:09:58 +01:00
Sven Steudte 955c33a2f8 Implemented Log packets for the last protocol changes 2018-01-11 13:31:47 +01:00
Sven Steudte c745ef50c9 Updated APRS protocols and much more
- Removed secondary decoder
- Updated image encoding at tracker firmware
- Updated image encoding at decoder software
- Implemented more sophisticated website
- Added error transmission
- Adjusted MCU speed to the highest rate
- Implemented configuration that allows GPS to be switched on permanently at a certain battery voltage
- Decreased humidity sensor accuray
- Imcreased voltage measurement accuracy
- Added temperature measurements of STM32 and Si4464 to TrackPoint struct
- Added light intensity measurements of OV5640 to TrackPoint struct
- Cleaned up (removed unused things)
- Implemented more accurate measurements for PAC1720
- Implemented failure detection for PAC1720 and ublox chips
- Fixed bug in Si4464 driver which used power when switched off
- Added more data readouts for GPS receiver (pDOP, gpsFixOK)
- Changed way of determination if GPS fix is good
- Implemented temperature measurement of STM32
- Added error detection of I2C bus
- Removed Milliseconds from ptime_t
- Fixed bug in timestamp conversion
- Removed RBAT measurement implementation (it was very inaccurate)
- Avoid radio being switched off when next packet is waiting for being transmitted
- Tidied up tracking manager
2018-01-09 06:01:19 +01:00
Sven Steudte b51b45b839 Fixed GPS communication error 2017-12-12 03:38:01 +01:00
Sven Steudte d642472fed Fixed uBlox I2C compile error 2017-10-31 06:36:03 +01:00
Sven Steudte 8a0b8b8252 Implemented UART/I2C switch for GPS
Implemented LOWBATT1 and LOWBATT2
Switch off camera at JPEG validation process
Moved JPEG validation section
Added GPS communication error message
Changed Watchdog behavior (1sec delay inserted)
Tidy up
2017-10-16 23:14:46 +02:00
Sven Steudte f6d69c9afe Removed STM32 based modulation and moved task to PH of Si4464 (so stable HSE is not needed for STM32 anymore which was needed for radio modulation)
Fixed receiver value in decoder.py
Limited data display on decoder map to 14 days
Implemented additional exception handlers for bad internet connections
Modified SSDV/APRS protocol: removed redundant transmitted data
Modified SSDV/APRS protocol: Increased amount of data being sent in one packet
Adjusted clocks: (in order to save energy)
- Use HSI for STM32 only
- Use HSE for Si4464 only (HSE switched off, only switched on when Si4464 needs it)
- Reduced STM32 clock to 3MHz
Improved Morse implementation
Fixed thread (module) startup delay bug
Changed behavior of Watchdog LED: Flashing instead of blinking (in order to save energy)
Fixed preamble bug from AX25 implementation
2017-10-14 05:58:51 +02:00
Sven Steudte af870d89e0 Split image packets in half, fixed timezone bug 2017-10-08 19:29:17 +02:00
Sven Steudte 1ad5b02eb7 Modified Base91 characters
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
2017-10-07 06:55:11 +02:00
Sven Steudte 8a4d8ff5ef Reimplemented Base91
Changed message buffer implementation
Removed error transmission
Moved getFrequency implementation to radio.c
2017-10-02 21:16:02 +02:00
Sven Steudte 60578aa5c4 Implemented Base128 and new packet type for APRS picture transmission 2017-10-02 15:54:28 +02:00
Sven Steudte ea793f8d11 Added voltage change when using OV5640
Added I2C Lock around voltage change methods
Implemented RBAT sleep methods
Fixed I2C init problem, reordered initialization methods
2017-09-19 03:36:38 +02:00
Sven Steudte 6da0be4483 Fixed build error 2017-09-17 10:38:09 +02:00
Sven Steudte 3365888cb4 Added connection of PCLK to PC6 so the PCLK is sampled directly from
a timer which is capable of triggering the DMA. Before a LPTIM1/TIM1
cascade was used which lead to errors in the DMA transmission.
The errors are not gone yet completly but a reduction was noticed
from 5.5% to 0.3%. If a picture is broken, it might get detected very
easily by the SSDV algorithm, because the encoding of those pictures
look very bad in particular.
2017-09-16 00:37:56 +02:00
Sven Steudte e23dac53a7 Reactivated DMA DBM 2017-09-14 04:55:23 +02:00
Sven Steudte 28eb8bcf1d Fixed syntax bug in OV5640
Implemented OV5640 configurations which work for sure without HREF (tested on PP7 with DCMI)
Adjusted clocking for camera
2017-09-13 06:25:06 +02:00
Sven Steudte d1ac86b8aa Fixed image id initialization error 2017-09-12 03:04:40 +02:00
Sven Steudte 37180ab892 - Merged dbgon and dbgoff command to debug
- 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.
2017-09-11 06:45:19 +02:00
Sven Steudte e9cff81fa4 Fixed bug: Image transmission over USB was only possible when debug on USB was activated
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
2017-09-10 03:22:58 +02:00
Sven Steudte 423f88a671 Increased image sampling speed 2017-09-09 01:02:02 +02:00
Sven Steudte a4087588fa Increased FIFO buffer in Si4464 to 129bytes
Decreased buffer of USB image capturing
Removed defines.h
Moved mutex initialization to radio.c and image.c
2017-09-09 00:00:55 +02:00
Sven Steudte b7fcbc5406 Improved image over USB implementation, created python decoder script 2017-09-08 16:28:01 +02:00
Sven Steudte 08e798ce5e Reimplemented 2GFSK modulation 2017-09-08 01:48:03 +02:00
Sven Steudte d9309f3266 Implemented SSDV USB transmission, updated decoder for SSDV over USB receiption 2017-09-08 00:06:22 +02:00
Sven Steudte a162e27d6e Added USB switch in config 2017-09-07 21:56:00 +02:00
Sven Steudte 34301509c0 Decreased uC speed, lowered mem for image thred, changed 2GFSK to 2FSK modulation 2017-09-07 20:11:59 +02:00
Sven Steudte a5a19fe262 Added special STM32F413 ChibiOS version 2017-09-07 02:17:18 +02:00
Sven Steudte b0b92a7f58 Implemented QQVGA 2017-09-07 01:53:32 +02:00
Sven Steudte 3b496b3658 Use SPI3 instead of SPI1, fixed radio/camera mutex bug 2017-09-07 01:02:45 +02:00
Sven Steudte 4ad6bf098d Fixed packet losses 2017-09-07 00:46:59 +02:00
Sven Steudte 056fb067a0 Implemented grouped APRS packet transmission properly
Fixed packet losses (incomplete)
2017-09-06 22:03:56 +02:00
CInsights afd3b96352 Added... OR of EVT bits, blocking of init of fifo thread until it
finishes.
2017-09-05 21:56:20 +10:00
Sven Steudte 23487ad26c Reimplemented Packet handler for 2GFSK
Changed timer implementation for 2FSK
Implemented concurrent transmission and packet encoding (not working yet)
Wrote documentation for config.c
Implemented grouped transmission (without preamble)
2017-09-05 08:35:23 +02:00
Sven Steudte 8f7d85f21e Implemented group transmission, implemented camera init once 2017-09-03 04:10:34 +02:00
Sven Steudte f4625bf753 Implemented grouped transmissions 2017-09-03 02:53:01 +02:00
Sven Steudte b8a0cdce95 Fixed redundant TX error, fixed keep-tx-state-after-transmission error 2017-09-03 01:34:22 +02:00
Sven Steudte 9205c80327 Implemented Si4464 packet handler 2017-09-02 05:43:13 +02:00
Sven Steudte 1de6cd03ab Updated SSDV 2017-09-02 03:24:10 +02:00
Sven Steudte 8b35d701d1 Tidy up 2017-09-02 00:36:45 +02:00
Sven Steudte 136540414b Removed OV2640, implemented testimage 2017-09-01 03:48:15 +02:00
Sven Steudte 94aaa434cf Implemented RBAT (Battery impedance measurement)
Removed ISOL
Added LOWBATT message in APRS position packet
2017-09-01 02:02:30 +02:00
Sven Steudte fe68f49820 Removed backup files 2017-08-31 03:55:28 +02:00
Sven Steudte 1cea4b1573 Finalized clockling (so far) for power savings.
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
2017-08-31 01:27:09 +02:00
Sven Steudte 20b70a5680 Adjusted clocks for low power operation (camera fix no implemented yet) 2017-08-30 05:29:59 +02:00
Sven Steudte 6851721d03 Removed duplicate GPS printout, added more debugging at PVT Polling 2017-08-29 01:21:32 +02:00
Sven Steudte 23c42f83c3 Fixed faulty image transmission, implemented server exception handling in decoder 2017-08-29 00:35:16 +02:00
Sven Steudte 934fd1ec3a Adjusted clocks
Flipped image in OV5640 driver
Fixed spelling
2017-08-28 04:14:56 +02:00