Wykres commitów

77 Commity (b8c88c87a2f1a47b697976fe0f45de6a8bdebee9)

Autor SHA1 Wiadomość Data
Stephen D b8c88c87a2 add balloon node info + more precise altitude 2024-03-10 10:11:55 -03:00
Stephen D 5e298c4d1b revert config 2024-03-07 21:30:40 -04:00
Stephen D 2a9060bba6 fix GPS and revert some settings 2024-03-07 21:29:54 -04:00
Stephen D f71ef21f53 additional whiskers 2024-03-07 19:25:27 -04:00
Stephen D 9e1fba05f8 cleanup 2024-03-06 23:48:41 -04:00
Stephen D 720afc2a92 encoding CATS packets inline. Still need to support GPS and NodeInfo whiskers 2024-03-06 23:43:46 -04:00
Stephen D 1ee2710a57 a bit of cleanup I missed 2024-03-03 23:10:32 -04:00
Stephen D a0e1074eb6 increase timeout 2024-03-03 23:01:27 -04:00
Stephen D 22abb5857b move to big FIFO buffer. Had to implement a recommendation from the errata 2024-03-03 22:45:20 -04:00
Stephen D 1ec1fc623f 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 2024-03-03 22:32:58 -04:00
Stephen D 91d1c0c376 fifo underflow check 2024-03-03 22:28:32 -04:00
Stephen D 16a5eb2948 FIFO mode working 2024-03-03 22:17:55 -04:00
Mikael Nousiainen 0b32abff31 Fix compilation error and formatting 2024-01-09 09:36:38 +02:00
Mike Hojnowski 005dc0b3e5
Modified formula for voltage calculation on dfm17 (#81) 2024-01-03 12:13:43 +02:00
penfold42 ce961ae5fb
clean up minor compiler warnings (#79)
set c99 on tests/CMakeLists.txt
2024-01-03 12:12:58 +02:00
Randy Pratt 9b4c19c101
APRS address and routing fix. (#77)
* Update config.h

Added note to APRS_RELAYS line.

* Update ax25.h

source_ssid and destination_ssid did not match. Uint8_t was used in function definition within ax25.c file. Now all should match.

* Update ax25.c

source_ssid and destination_ssid are both defined the same in config.h and in ax25.h.  Both are inserted to memory by adjusting a pointer. Therefore both should require moving the pointer back 7 bytes to place in correctly addressed position. I am puzzled that the header definition and the cast in this code line are both needed.
2024-01-03 12:11:26 +02:00
Mikael Nousiainen 149141fb46
Add DFM-17 notes to config.h for visibility 2023-10-15 13:58:06 +03:00
Mikael Nousiainen ff40f468f4
Update READM with additional warnings on the experimental nature of DFM-17 support 2023-10-15 13:54:30 +03: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 18b6e1ffb4
Remove references to specific ARM GNU toolchain versions 2023-10-14 11:02:55 +03:00
Mikael Nousiainen 6462371a14
Update the ARM GNU compiler toolchain URL 2023-10-14 11:01:47 +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 c23c1569d3 Fix formatting 2023-08-09 09:45:24 +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
Clayton Smith 72a33f1397
Add a clarification about powering the sonde (#48)
Fixes #38
2023-08-08 18:14:54 +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 b1bcf4f08c
Add link in README to instructions on how to get a new Horus 4FSK payload ID 2022-12-18 22:43:52 +02: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 57b35a62ac
Improve instructions about erasing the firmware
Using the larger number of sectors should be attempted first
2022-11-22 10:36:57 +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
MrARM 1b6ff19a95
Create a Docker container for building RS41ng (#11)
* Create a Docker container to build on any compatible platform

* Add newlines to the end of the newly-created files.

* Remove outdated IDE-suggested comment

* Cleaned up and adjusted the Docker build environment

Co-authored-by: Mikael Nousiainen <mikael.nousiainen@iki.fi>
2022-08-23 22:33:31 +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 06e85235d9 Improve README: Add note about BMP280/BME280 differences and fix pinout numbers 2022-02-26 19:24:36 +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