Wykres commitów

9 Commity (3d2bdbf2465899aa632eda08d5327a6c118d254a)

Autor SHA1 Wiadomość Data
Stephen D 3d2bdbf246
CATS support (#86)
* FIFO mode working

* fifo underflow check

* fix TX LED. Not perfect - comes on for longer than we're actually TXing for, because it includes the time to fill the buffer and probably some overhead. But good enough for now

* move to big FIFO buffer. Had to implement a recommendation from the errata

* increase timeout

* a bit of cleanup I missed

* encoding CATS packets inline. Still need to support GPS and NodeInfo whiskers

* cleanup

* additional whiskers

* fix GPS and revert some settings

* revert config

* add balloon node info + more precise altitude

* address feedback

* Add comment about CATS packet parity array size

* bug fixes

---------

Co-authored-by: Stephen D <webmaster@scd31.com>
Co-authored-by: Mikael Nousiainen <mikaelnousiainen@users.noreply.github.com>
2024-03-23 12:05:45 +02:00
Mikael Nousiainen 76e2fd1fae
Graw DFM-17 radiosonde support (#61)
* Initial plumbing for DFM17 (#54)

* Implementing Si4063 radio chip support for DFM17 sonde. Work in progress.

* Add an error to indicate that the code does not work yet

* Removed copyrighted docs from documentation and provided links instead (#55)

* Fix SPI bus initialization for DFM17. Trying to make Si4063 SPI communication work (in progress). Fix LED bit polarity.

* Set DFM17 clocks correctly to 24 MHz

* Still trying to fix Si4063 SPI communication, no luck

* Add clearing of SPI overrun status flag to make Si4063 comm work properly in DFM17. Not sure about the reason this is required.

* 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.

* Add some known good Si4063 configuration values. Implement direct GPIO-based modulation for Si4063 that allows support for CW now.

* DFM-17 APRS work (#60)

* Modify for APRS on DFM17

* Clean up Si4063 APRS work and make APRS deviation configurable

* Add documentation for DFM-17

* Add a note about the DFM-17 connector

* More work on docs and config for DFM-17

* Docs

* Mor work on config

* Fix RS41 URL

* Added info about high-altitude balloon flights

* Fix typo

* More code cleanup

* Update authors

* Improve DFM-17 docs

* Added a timepulse routine for DFM17 and also a millis() routine.  Working toward clock calibration.

* More refinements to the HCI calibration

* Cleaned up clock calibration code and integrated into the main radio loop.  Also added APRS telemetry for calibration.

* Added logic to (hopefully) avoid over-calibration if there is an errant timepulse.

* Clean up DFM-17 clock calibration implementation and make RS41 compile properly

* Adjust README

* Add notes about DFM-17 clock calibration

* Fix typo

* Add DFM-17 note about clock calibration to the top of the README

* Text style

* Working on README

* Working on README

* Move datasheet links to main README

* Markdown styling

* Improve config file structure

* Remove unnecessary comments

---------

Co-authored-by: Mike Hojnowski <kd2eat@gmail.com>
2023-10-15 12:38:05 +03:00
Mikael Nousiainen b5b10dad80 Add support for RadSens I2C radiation sensor. Improve BMP280 sensor configuration. 2023-04-11 17:12:30 +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 0aa49f5a2c Add 'pip' mode - a short beep to indicate presence of the transmitter 2022-06-16 10:31:43 +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 7af1ada130 Add support for morse code (CW) 2021-08-13 00:42:50 +03:00
Mikael Nousiainen 6d2416d307 Improve configuration and its documentation 2021-08-12 09:48:56 +03:00