Wykres commitów

64 Commity (8f3d9cf612dd814190187c40ccac42bc5063adb0)

Autor SHA1 Wiadomość Data
Mikael Nousiainen f9d964ab8e Clean up DFM-17 clock calibration implementation and make RS41 compile properly 2023-10-14 11:41:06 +03:00
Mike Hojnowski 591749fa98 Added logic to (hopefully) avoid over-calibration if there is an errant timepulse. 2023-10-13 23:48:07 -04:00
Mike Hojnowski a34c9b9e1f Cleaned up clock calibration code and integrated into the main radio loop. Also added APRS telemetry for calibration. 2023-10-11 23:30:21 -04:00
Mike Hojnowski 0901b02de4 More refinements to the HCI calibration 2023-10-11 14:12:26 -04:00
Mike Hojnowski 324c3bf83b Added a timepulse routine for DFM17 and also a millis() routine. Working toward clock calibration. 2023-10-09 00:58:44 -04:00
Mikael Nousiainen f34b20c3f2 More code cleanup 2023-10-06 21:29:14 +03:00
Mikael Nousiainen f8af11c120 Mor work on config 2023-10-06 20:20:38 +03:00
Mikael Nousiainen 3c6b04bbeb Docs 2023-10-06 20:17:20 +03:00
Mikael Nousiainen 8e9e9b34a5 More work on docs and config for DFM-17 2023-10-06 20:16:31 +03:00
Mikael Nousiainen 7556ebe9bb Clean up Si4063 APRS work and make APRS deviation configurable 2023-10-06 17:12:03 +03:00
Mike Hojnowski bdc3067703
DFM-17 APRS work (#60)
* Modify for APRS on DFM17
2023-10-06 10:09:38 +03:00
Mikael Nousiainen 8a0dc9fb29 Add some known good Si4063 configuration values. Implement direct GPIO-based modulation for Si4063 that allows support for CW now. 2023-09-14 18:40:46 +03:00
Mikael Nousiainen 922e60814d Fix bug when setting Si4063 frequency. Remove unnecessary GPS debug and delays. Add Si4063 debug printout. Find a suitable frequency offset multiplier to achieve 270 Hz tone spacing for Horus 4FSK. 2023-09-14 10:19:13 +03:00
Mikael Nousiainen b646e81e25 Add clearing of SPI overrun status flag to make Si4063 comm work properly in DFM17. Not sure about the reason this is required. 2023-09-14 09:32:48 +03:00
Mikael Nousiainen 231a735477 Still trying to fix Si4063 SPI communication, no luck 2023-09-13 23:27:58 +03:00
Mikael Nousiainen ec7f6c6969 Set DFM17 clocks correctly to 24 MHz 2023-09-13 22:39:17 +03:00
Mikael Nousiainen b78fb95cbd Fix SPI bus initialization for DFM17. Trying to make Si4063 SPI communication work (in progress). Fix LED bit polarity. 2023-09-13 20:20:31 +03:00
Mikael Nousiainen 0db695298b Add an error to indicate that the code does not work yet 2023-09-12 20:20:13 +03:00
Mikael Nousiainen 4af4005dd7 Implementing Si4063 radio chip support for DFM17 sonde. Work in progress. 2023-09-12 20:16:37 +03:00
Mike Hojnowski 0e50f0a334
Initial plumbing for DFM17 (#54) 2023-09-12 20:12:29 +03:00
Mikael Nousiainen 8819d786b3 Fix bugs and add update power consumption notes 2023-08-11 15:03:53 +03:00
Mikael Nousiainen fda9cef76a Implement simple GPS power saving. Read leap seconds from GPS data when available. Improve documentation. 2023-08-09 18:28:00 +03:00
Mikael Nousiainen da2743e4d1 Fix degrees to DMH conversion for APRS to support longitudes > 127 and < -128. Use 16-bit signed values for degrees. 2023-08-09 10:39:17 +03:00
Mikael Nousiainen 6ab0d910ce Add detailed documentation about the time sync feature in README 2023-08-09 09:45:08 +03:00
Mikael Nousiainen 0a2ad591b1 Fix leap seconds handling 2023-08-09 09:13:24 +03:00
Mikael Nousiainen 767c1a2f54 Add leap seconds to raw GPS time 2023-08-08 18:44:01 +03:00
Mikael Nousiainen 84c7a7d6c1 Use Si4032 modulation type NONE for Horus 4FSK to produce a cleaner signal 2023-08-08 18:34:18 +03:00
Mikael Nousiainen 9fda31497d Reduce default transmit power for Si4032 for Horus 4FSK usage and add comments 2023-08-08 18:26:57 +03:00
Clayton Smith 8d8d31c7c8
Copy in strlcpy from libbsd to remove dependency on libbsd (#37) 2023-08-08 18:16:29 +03:00
Mikael Nousiainen 106a21b72f Merge branch 'main' of github.com:mikaelnousiainen/RS41ng 2023-04-11 17:13:07 +03:00
Mikael Nousiainen b5b10dad80 Add support for RadSens I2C radiation sensor. Improve BMP280 sensor configuration. 2023-04-11 17:12:30 +03:00
Mikael Nousiainen 5a3745af0c
Add note about avoiding use of default Horus 4FSK payload IDs and a link to instructions on how to get a new Horus 4FSK payload ID 2022-12-18 22:41:08 +02:00
Mikael Nousiainen 82a181c520 Exclude Si4032 TX modes that are not enabled to save space in generated firmware binary file 2022-11-27 23:20:41 +02:00
Mikael Nousiainen 1018997954
Add a comment about the workaround for recent GCC changes 2022-11-22 10:41:23 +02:00
Mikael Nousiainen 873e281372 Fix compilation/linking in Docker after some recent GCC changes (fixes #23). If someone knows a better fix, please file a pull request! 2022-11-21 23:56:32 +02:00
Manoel 4d22e6d9ca
Add pulse counter feature to RS41ng (#20)
* Started pulse counter implementation

* Update horus_packet_v2.c

* Update horus_packet_v2.c

* Added external bool

* Added pulse count variables for APRS/CW

* Ext Interrupt implementation

* Update pulse_counter.c

* Counter tests

* Update pulse_counter.c

That's what happens when I copy/paste code without triple checking it first...

* Fixed some mistakes

* Interrupt implementation

* More fixes

* Update pulse_counter.c

* Update pulse_counter.c

* Added some interlocks for I2C and UART

* Fixed Interrupts

Now working - need to check the impact on other devices...

* Update horus_packet_v2.c

Forgot to increase the pointer - it kept re-writing the mbar value...

* Code reformatting

* Clean up code and add docs

* Pulse counter WIP

* Add more documentation

Co-authored-by: Mikael Nousiainen <mikael.nousiainen@iki.fi>
2022-09-05 09:36:53 +03:00
Mikael Nousiainen b0602f8b18 Make I²C bus clock speed configurable and add notes about the speed 2022-06-16 18:53:54 +03:00
Mikael Nousiainen 0aa49f5a2c Add 'pip' mode - a short beep to indicate presence of the transmitter 2022-06-16 10:31:43 +03:00
Mikael Nousiainen edbd5faa1e Fix config 2022-02-27 15:45:30 +02:00
Mikael Nousiainen 201b657c51 Require 3D fix from GPS by default to avoid transmitting invalid position information. Improve recovery from I2C bus errors, re-initialize BMP280 in case of errors. Allow disabling of LEDs based on altitude. 2022-02-27 15:45:10 +02:00
Mikael Nousiainen d8f7584a99 Unify GPS fix detection 2022-02-26 19:26:05 +02:00
Mikael Nousiainen 8ec3f8817a Fix incorrect cast for atmospheric pressure. Fix Horus not supporting negative altitudes. Attempt to filter out invalid GPS data by improving fix detection. 2022-02-26 19:23:45 +02:00
Mikael Nousiainen 8c13702598 Fix APRS call sign padding and reading past end of source buffer 2022-02-18 10:38:43 +02:00
Mikael Nousiainen 591c5cb2d3 Revert config changes :) 2022-02-18 09:47:06 +02:00
Mikael Nousiainen cdf3742165 Add note about removing flash protection 2022-02-18 09:37:07 +02:00
Mikael Nousiainen 7963bdc490 Add GPS climb to Horus v2 custom fields and adjust the custom field units. Add comment about libbsd-devel being required for compiling the tests. 2022-02-18 09:25:16 +02:00
Mikael Nousiainen 9092c1a1b3 Zero out GPS location if there is no GPS fix. Add option to repeat transmission of each mode. 2021-11-30 17:42:51 +02:00
Mikael Nousiainen 81013ecf75 Add support for APRS weather reports. Fix incorrect atmospheric pressure values with BMP280. 2021-11-16 10:11:54 +02:00
Mikael Nousiainen 9e399160de Allow relaying of GPS NMEA output to the external RS41 serial port to be integrated with other tracker hardware. Allow GPS position recording (by enabling GPS serial port interrupts) during CW and Horus transmissions to avoid transmitting stale GPS data. 2021-11-11 18:15:52 +02:00
Mikael Nousiainen 74dff15b92 Fix TX mode list condition 2021-11-10 19:04:18 +02:00