News for hackers. Stuff that matters.
Re:All Your Modem Are Belong to Us by chrissnell on Monday October 19, 2015 @01:34PM (#10414354)
I've been working on open-source balloon control software [1] for my own balloon project that I've been building on/off for about six years. I am hoping to use a software modem to bridge between the RF and my AX.25 packet reader/writer [2] because I wanted to save weight. Payload weight is the name of the game in the balloon hobby--the lighter your payload, the less you have to inflate your balloon and the higher it will fly before it bursts. Even an ounce matters and the competitive altitude record balloons are invariably tiny, single-board, all-in-one payloads that are built around a single low-power microcontroller.

There are a couple of good open source options for software-based AFSK APRS modem/TNCs:

Dire Wolf: https://github.com/wb2osz/direwolf minimodem: https://github.com/kamalmostafa/minimodem

You'll still need a USB sound card though, which adds weight and cabling. I would love to see some open-source SBC hardware a la Beaglebone Black or RasPi that had a high-quality sound card built onto the board and wired through a Molex-type plug that was suitable to the bumps and bounces of flying.

[1] https://github.com/chrissnell/GoBalloon -- This was my first project in Go and while it works well, it now looks pretty ugly to me with a year and a half of Go experience under my belt.

[2] https://github.com/chrissnell/GoBalloon/blob/master/ax25/dec...

Re:All Your Modem Are Belong to Us by j_s on Monday October 19, 2015 @03:07PM (#10414902)
There are some tiny USB sound cards these days! (Not sure if the quality meets the requirements though.)

http://plugable.com/2014/09/23/plugable-usb-external-audio-w...

http://www.audioquest.com/usb_digital_analog_converter/drago...

Re:All Your Modem Are Belong to Us by normaldotcom on Monday October 19, 2015 @03:55PM (#10415256)
I've been working on a balloon controller as well, although mine is incredibly bare-bones [1]. It only reports position, altitude, and temperature; but since it's so minimal it only weighs around 2 grams.

For your use case, you might want to consider a small external microcontroller that handles TNC functionality, this /might/ be smaller and more lightweight than a USB sound card.

Your payload controller software looks pretty awesome--nearly makes me want to launch a balloon with a full Linux single-board computer!

[1] http://protofusion.org/wordpress/2015/10/featherhab-2-gram-h...

Re:All Your Modem Are Belong to Us by chrissnell on Monday October 19, 2015 @04:22PM (#10415452)
I've tested my code with the TNC-Black from Coastal Chipworks and it works well. Weight isn't a huge issue on my flight; I'm focused on high altitude photography. It's just more fun for me to do things in software whenever possible. I'd really love to do the mod/de-mod in pure Go. There is an interesting example of a modem in Go but I have much more learning to do before I could write one of these for AFSK:

http://bemasher.github.io/rtlamr/

Re:All Your Modem Are Belong to Us by chrissnell on Monday October 19, 2015 @05:01PM (#10415716)
Awesome tracker, by the way! I'm super jealous of guys like you with actual engineering skills that can put together a custom integrated package on a PCB like that. Would you consider putting up your schematics and Eagle files on Github or similar?
Re:All Your Modem Are Belong to Us by normaldotcom on Monday October 19, 2015 @05:25PM (#10415898)
Definitely! I have a couple issues I need to fix on the hardware so the board runs without mods, but I plan on posting all of the hardware/firmware very soon once I get that wrapped up.
Re:All Your Modem Are Belong to Us by Sanddancer on Monday October 19, 2015 @02:54PM (#10414811)
What about using one of the i2s daughterboards for the pi, instead of a usb sound card? The Pi has all-in-one shields that work out of the box, but the bbb will need a tiny bit of wiring to make it work.