Ham Radio / Off-grid communication

How are y'all getting this to build? It's trying to include a file (common.hh) that wasn't committed to Git nor exists in the zip. There's other includes in there that also don't make much sense...
Code:
$ make -j6
g++ -std=c++17 -O3 -march=native -Wall -Wextra -DWITH_UI -I../dsp -I../code -I../modem -o modem73 kiss_tnc.cc miniaudio.o -lpthread -lncurses -ldl -lm
In file included from kiss_tnc.cc:33:
modem.hh:10:10: fatal error: common.hh: No such file or directory
   10 | #include "common.hh"
      |          ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:29: modem73] Error 1
I believe this is the droid you're looking for. Did you clone all these?
Code:
# Requires DSP, code, and modem libraries 
git clone https://github.com/aicodix/dsp.git
git clone https://github.com/aicodix/code.git
git clone https://github.com/aicodix/modem.git

# Clone modem73
git clone https://github.com/RFnexus/modem73

# Your folders should look like this:
#.../
#├── dsp/           # DSP library (aicodix)
#│   └── ...
#├── code/          # Code library (aicodix)
#│   └── ...
#├── modem/         # Modem library (aicodix)
#│   └── ...
#└── modem73/       # modem73 src
#    └── ...

# Build
cd modem73
make AICODIX_DSP=../dsp AICODIX_CODE=../code MODEM_SRC=../modem
# Optional: move to /usr/local/bin 
sudo make install
 
Just committed some stuff to the repo. There's now an update utility update.sh to automatically pull in latest changes and build.

I've added fragmentation and re-assembly for packets that exceed the phy payload. You can enable it with the --frag flag or through the UI. It adds a few extra bytes of overhead if you have this option enabled but is useful for modes with low payload.

also been experimenting with 1/4 coding with https://github.com/aicodix/code/blob/master/polar_freezer.hh
 
I did some additional tests with Modem73 between my 2 PCs, so far so good. Serial PTT and audio HT speaker <=> PC mic works OK. I still need another cable to have the 2 required audio interfaces as the UV-3R's connector is scuffed beyond belief (will substitute another UV-K5). Then I'll crank the modulation up to see how fast I can reasonably go (gotta go fast).

Got in an argument with geriatric tacticool hams who are totally gonna save the world (never mind the fact that most of them ought to be in nursing homes), can't really talk about what they do (mainly yapping at home) about "muh VARA", "muh civil protection" and "muh state government". I don't get pissed often when doing ham stuff but this lot can be grating.
 
I did some additional tests with Modem73 between my 2 PCs, so far so good. Serial PTT and audio HT speaker <=> PC mic works OK. I still need another cable to have the 2 required audio interfaces as the UV-3R's connector is scuffed beyond belief (will substitute another UV-K5). Then I'll crank the modulation up to see how fast I can reasonably go (gotta go fast)
The OFDM modem works surprisingly well even without a flat audio response that is usually necessary for something like 9600 baud DFSK common in satwork or similar. All symbols fit inside a 2400 Hz channel which is much more forgiving.

While I did mod my UVK6s to have flat audio I tested just over the air speaker / mic with a Baofeng UV5R and it worker surprisingly well on QAM16 SHORT

Someone submitted a PR for CM108 PTT support which will be in shortly.

I’ve also just finalized a design for a simple ARQ layer for an auxiliary application that will connect to a control port that will be integrated with the modem.

The auxiliary program will have functions like chat, and file transfer. While the modem itself is going to stay as simple as possible and just send out any arbitrary data it gets (The only exception here is fragmentation) the companion program will directly interact with the TCP control layer to perform ARQ and negotiate bitrate through a gear ladder system,

The control port will also provide functionality for any program looking to query channel state, settings, mode, etc. I hate JSON but it's the most "out of the box" solution to handle control port commands.

I could also make this part of the modem itself, comma But it's usually better for that to be handled on the application level.

Got in an argument with geriatric tacticool hams who are totally gonna save the world (never mind the fact that most of them ought to be in nursing homes), can't really talk about what they do (mainly yapping at home) about "muh VARA", "muh civil protection" and "muh state government". I don't get pissed often when doing ham stuff but this lot can be grating.
I'm sorry to hear about that. Hams for whatever reason, especially in ARES/RACES are very reluctant to any type of change and a lot of software used is from a cargo cult mentality. Despite the fact interoperability would only be increased through open source software practices, the trend is going the opposite direction with the adoption of Ion2G. Which is disappointing to say the least.


Please excuse any typos or weirdness,, I'm using speech to text rn be cause of health problems,,. Hoping to be through this shit soon and back to playing radio.
 
Please excuse any typos or weirdness,, I'm using speech to text rn be cause of health problems,,. Hoping to be through this shit soon and back to playing radio.
Hope you're feeling better !

I could also make this part of the modem itself, but it's usually better for that to be handled on the application level.
My advice would be to keep it separate to increase interoperability. A lot of the "big-tent" software that try to do everything tend to be a nightmare to maintain.

I'm sorry to hear about that. Hams for whatever reason, especially in ARES/RACES are very reluctant to any type of change and a lot of software used is from a cargo cult mentality.
While there's some inflexibility to be expected from theses circles working with government agencies, the thing that drives me nuts is their "James Bond" attitude. Like always telling they can't tell you stuff (they totally can), never interacting with other hams and thinking all the repeaters in the state are their birthright because they allegedly work with government agencies.


Last night meeting was good, lots of good energy, even got a few guys interested in testing COFDMTV.

An older ham I don't know much (he's a bit gruff) walked up to me, said "Heard you do portable HF, you take this and you test it." and put a JPC-12 in my hands. That's a nice loan, he's not using it anymore. I should be able to buy it for like 60$ if I want to keep it, which seems to be a more than okay price. Thanks based boomer, I'll try to scrounge some time to test it.
 
the trend is going the opposite direction with the adoption of Ion2G.
Its shitty that Ion2G is closed source (not even linux support kek) but at least its using ALE 2G. That is basically the industry standard for HF. I have an old motorola HF radio that does it and the new Barret radios that glowies/state agencies are buying support it. So I can understand why the ARES wackers want something that talks to those. We can only hope that if it catches on and becomes popular in ham radio that someone will come out with an open source implementation.
 
Vehicle. Planning on running it in line between the radio and antenna.
What antenna and mount? It's gonna depend a lot on the type of mount you have and your vehicle make. Don't dox your car here, but I'd just put into a search engine your vehicle model + CB install (or antenna install) and you'll probably find some results.
 
This thread is amazing, some real OG's in here. Seriously considering the exam even though I really just want to listen. A relative used to be heavy into CB & local scanning (some of which was probably illegal--"open MIKE Joe!!" events aside lol), but his things were all sold when he croaked so no inheritance to inherit, unfortunately.

Speaking of which, anybody else remember the live video feeds of the scanner/radio running during the Boston bombings? Strangely comfy and informative.

For some reason this radio whispered to me like the green goblin in an antique store a year ago, so I rescued it. Works fine but needs an antenna (any suggestions would be greatly appreciated). I know it's a bit limited, but planning to get a more modern mini-rig to eavesdrop on weather emergency comms, the infamous 7200, & maybe even a creepy numbers station or two too. Cheers frens, I've already learned a lot here already!
 
The design I came up with is a "constant k" type. This is nomenclature from the 60's idk if that's something people are familiar with today. It's an inductor and capacitor in series followed by the same configuration in parallel.
1768839772649.png
Given a band of 26.965 to 27.405 Mhz I derived values for components as follows
L1 = 180.858 mH
L2 - 473.819 uH
C1 = 1.89528 pF
C2 = 7.23432 nF

I can go into a more detailed derivation if anyone is interested.
 
For some reason this radio whispered to me like the green goblin in an antique store a year ago, so I rescued it. Works fine but needs an antenna (any suggestions would be greatly appreciated). I know it's a bit limited, but planning to get a more modern mini-rig to eavesdrop on weather emergency comms, the infamous 7200, & maybe even a creepy numbers station or two too. Cheers frens, I've already learned a lot here already!
For the antenna, just a piece of wire, the longer the better for SW. With this set, you should be able to listen to:
- Commercial FM
- Airplanes in AM (https://wiki.radioreference.com/index.php/Aircraft)
- Shortwave broadcast stations and pirates in AM (https://shortwave.live/)

Played a bit with the JPC-12, good antenna overall even if the stock radials are a bit trash. I see that a big (5.6 m) whip is available for this model. While the descriptions says it's for 80m (with another coil), it should be able to tune other bands while using less coil and thus being more effective, no ? (or am I extra retarded)
 
For the antenna, just a piece of wire, the longer the better for SW. With this set, you should be able to listen to:
- Commercial FM
- Airplanes in AM (https://wiki.radioreference.com/index.php/Aircraft)
- Shortwave broadcast stations and pirates in AM (https://shortwave.live/)

Played a bit with the JPC-12, good antenna overall even if the stock radials are a bit trash. I see that a big (5.6 m) whip is available for this model. While the descriptions says it's for 80m (with another coil), it should be able to tune other bands while using less coil and thus being more effective, no ? (or am I extra retarded)
That's very helpful, thanks! I'll probably order the whip first then look to a bigger antenna setup for outdoors once spring arrives.
 
Played a bit with modem73's latest version, everything is still fine, except I'm also receiving all the packets I send. I didn't notice it but the same also happens in the initial release. Am I doing something retarded ?
 
except I'm also receiving all the packets I send.
Nope, not retarded. Sometimes depending on your audio and rig setup this will happen. I just need to find a proper way to implement handling this.

CM108 GPIO support is now also in the latest version. I have some stuff coming up here for the TCP Control layer next.
 
Back
Top Bottom