Wykres commitów

28 Commity (dfm17)

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 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 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 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
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 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 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 fd090f039a Fix potential deadlocks in I2C code and add bus reset code. Add continuous transmit mode for Horus 4FSK V1 and V2 modes, use alternative preamble byte for V2. Improve configuration for continuous transmissions. Extend default custom data content for Horus V2 mode. 2021-11-10 18:49:29 +02:00
Mikael Nousiainen 9486cd3370 Add support for Horus 4FSK v2 mode with custom data fields for BMP280 sensor. Add support for CW and 4FSK v1+v2 (50 baud) on HF/VHF using the Si5351 clock generator. 2021-09-14 22:47:39 +03:00
Mikael Nousiainen fa46e8a30c Add support for powering off the radiosonde. Improve documentation. 2021-08-16 23:24:46 +03:00
Mikael Nousiainen d12c923594 Add support for Horus 4FSK modulation. Increase APRS preamble size to improve reception. Fix slowness in I2C initialization. Fix incorrect GPS settings for airborne usage. Additional minor code clean-up and refactoring. 2021-08-11 23:24:30 +03:00
Mikael Nousiainen f2ff6cb8a7 Add simple templating and rotating messages per mode. Finish support for FSQ modes. Attempt to get power-off button working (WIP). 2020-09-10 22:57:41 +03:00
Mikael Nousiainen 4714911e35 Fix issues with firmware heap and stack colliding. Refactor radio transmission code into multiples files. Add more data from GPS to APRS packets. Get more data from GPS (climb/course). Implement simple GPS time-based scheduling of digital modes that require accurate timing. Write some initial documentation for building/flashing the firmware. 2020-09-03 22:12:43 +03:00
Mikael Nousiainen 105149c186 Extend GPS functionality and APRS message contents. Add locator calculation utility for WSPR/FT8. Fix reading of Si4032 temperature. 2020-09-01 22:56:34 +03:00
Mikael Nousiainen 8a315f5879 70cm APRS working again (WIP). Fix bugs in AX.25 encoding. Generate Bell tones for APRS in a tight loop to avoid issues with inconsistent timing. 2020-08-31 23:07:23 +03:00
Mikael Nousiainen c56bfc16cb Initial commit (work in progress) 2020-08-26 22:57:35 +03:00