{"by":"mpkendall","descendants":22,"id":44734983,"kids":[44736094,44738403,44738690,44736169,44745126,44739294,44736271],"score":42,"text":"I&#x27;ve been working on this for a while now, and I&#x27;m happy to share!<p>I&#x27;ve been into launching weather balloons for a few years. One aspect of the hobby that really drew me in was the tracking side of things. Tracking systems let you follow the balloon&#x27;s position throughout the flight and, most importantly, know exactly where it lands so you can recover the instrumentation. APRS is what I started out using during my first few years in the hobby, after I got my amateur radio license in 2020 (W0MXX). I designed a few small boards using the trackuino (<a href=\"https:&#x2F;&#x2F;github.com&#x2F;trackuino&#x2F;trackuino\">https:&#x2F;&#x2F;github.com&#x2F;trackuino&#x2F;trackuino</a>) firmware (while breaking 3 $70 radio modules along the way).<p>I then got into recovering radiosondes, which are launched twice per day by the NWS and can be reprogrammed using RS41ng (<a href=\"https:&#x2F;&#x2F;github.com&#x2F;mikaelnousiainen&#x2F;RS41ng\">https:&#x2F;&#x2F;github.com&#x2F;mikaelnousiainen&#x2F;RS41ng</a>) to run many amateur radio tracking protocols. I was a bit dissatisfied with how large and heavy the radiosonde trackers were, so I designed my own tracking system, called Tiny4FSK.<p>Tiny4FSK is a flight computer with built-in tracking using the Horus Binary v2 tracking system. This protocol was developed by the Project Horus team specifically for high-altitude balloons, and it brings features like high transmit rates, forward error correction, and excellent weak-signal performance in an open source package. It&#x27;s designed to be as compact as possible and can run on a single AA battery for upwards of 17 hours.<p>The main board comes with header rows that allow for out-of-the-box expansion. I developed a shield that supports the BME280 environmental sensor, the ICM-20948 9-axis IMU, and more via the Qwiic connector. It also features an OLED display for basic diagnostics.<p>While I&#x27;ve pretty much polished the main tracking procedures (and have tested on multiple flights), I&#x27;m still developing the IMU code using a lightweight Kalman filter. Additionally, there isn&#x27;t yet a wide network of Horus Binary decoding stations like the APRS network has (I-gates), but I hope that by promoting this protocol, more stations will pop up. This means that if you&#x27;re not in an area with many receive stations, you&#x27;ll need to set up your own using either Horus-GUI (<a href=\"https:&#x2F;&#x2F;github.com&#x2F;projecthorus&#x2F;horus-gui\">https:&#x2F;&#x2F;github.com&#x2F;projecthorus&#x2F;horus-gui</a>) or horusdemodlib (<a href=\"https:&#x2F;&#x2F;github.com&#x2F;projecthorus&#x2F;horusdemodlib\">https:&#x2F;&#x2F;github.com&#x2F;projecthorus&#x2F;horusdemodlib</a>).<p>One issue I’m still working on is improving RF signal strength. Although the protocol is decodable in very low-noise environments, the transmit power appears to be lower than that of a typical radiosonde. This could be due to several factors: limited current on a weak power source (signal is stronger when powered from a bench supply), off-tuned filtering&#x2F;matching, or not paying enough attention to the antenna. I&#x27;m planning to run more simulations to figure this out. That said, the signal is still decodable from the ground even at max altitude (~100,000 feet).<p>On the more technical side, Tiny4FSK uses:\n- the SAMD21 microcontroller, which is an ARM Cortex-M0+ MCU\n- the TPS61200 boost converter, which is adjusted to output 3.3v\n- Si4063 radio module, which I use on the 70cm band\n- ATGM336H gps module - pretty cheap GPS module which works in airborne mode (&gt;18km)\n- integrated BME280 temperature, pressure, and humidity sensor\nThe code uses the Arduino framework to make it accessible to beginners.<p>All flights using Horus Binary v2, including reprogrammed radiosondes, other custom trackers, and Tiny4FSK show up in real-time on Sondehub Amateur (<a href=\"https:&#x2F;&#x2F;amateur.sondehub.org\" rel=\"nofollow\">https:&#x2F;&#x2F;amateur.sondehub.org</a>). Flight data can be found in the &#x2F;Media&#x2F;Data folder on Github (there&#x27;s several missing flights on there though).<p>Thanks for reading, hope I didn’t mess anything up too badly in the post!\n-Max","time":1753887070,"title":"Show HN: A high-altitude low-power flight computer for high-altitude balloons","type":"story","url":"https://github.com/New-England-Weather-Balloon-Society/Tiny4FSK"}