1
$\begingroup$

So my idea is I might use a keyboard to enter text. I would use an Arduino to control the ham radio. The problem is that I have no idea on how to use the Arduino to control the radio. Also, what speed would I expect and what software would I use? Is there Arduino code for this purpose?

-KM6MCM

$\endgroup$
1
  • 2
    $\begingroup$ what kind of packet radio are you referring to? As far as I know, none of that series "speaks" APRS by itself, so you'd need your external controller to generated the AFSK tones. Whilst possible with an arduino or the like – wouldn't a simple "proper" computer like a raspberry pi or so not be the better choice here? You could basically run any ham software for linux on that, and there's certainly plenty of choices for APRS then. $\endgroup$ Commented Jul 9, 2018 at 6:18

1 Answer 1

4
$\begingroup$

As far as I know, none of that series "speaks" APRS by itself, so you'd need your external controller to generated the AFSK tones.

Whilst it's possible to generate AFSK at such low rates with an arduino or the like – wouldn't a simple "proper" computer like a raspberry pi or so not be the better choice here?

You could basically run any ham software for linux on that, and there's certainly plenty of choices for APRS then.

The Raspberry Pi Zero would absolutely suffice in terms of compute power, you just add your keyboard, and USB sound card that you connect to the baofeng, and would be done (likely, you could also hook up the headset's PTT contact to a GPIO to). With a fully blown raspberry pi, you could even get models that include the audio interface.

Both the Pi Zero as well as the larger Pi 3 and Pi 2 come in variants with integrated bluetooth connectivity - a good idea if you want to connect say a wireless keyboard.

Personally: AFSK 1200bd is so simple, you could absolutely implement that simply setting the PWM units of the pi to different frequencies (or worse, just bitbang GPIO). That way you could basically implement APRS on a 5$ - 10$ Pi Zero without additional 5$ on a USB sound card, but then you'd have to come up with your own software that implements the APRS stack. In case you'd always wanted to work with the linux kernel, you could certainly add that as a physical network interface for AX.25 packets. If I'm correctly educated, then G4KLX implemented AX.25 as part of the network stack in the Linux kernel decades ago, and it's been there ever since.

You see, using a full linux computer like a Raspberry Pi (Zero) or one of its many, many competitors solves many problems at once: No need to write your own keyboard driver (that's actually hard to do on a microcontroller like the arduino), no big hassle implementing the physical (so, AFSK) side of things, and as a big bonus, AX.25 integrates as protocol, just like IP, into the operating system and you can thus leverage a truckload of existing software to get your packets.

Another approach would be using you smart phone's headset port to talk to the Baofeng's headset port – I bet "there's an app for that" and all you need to do is find a way to do some audio level shifting, maybe, and some way to activate transmission. Your baofeng can probably do that already, if it has voice activity detection.

$\endgroup$
8
  • $\begingroup$ Thank you for responding! Do you have a tutorial for what you mentioned above? Also, do I need a license above technician for AFSK? Again, thank you for your time. - KM6MCM $\endgroup$ Commented Jul 9, 2018 at 23:35
  • 1
    $\begingroup$ There is this project: github.com/markqvist/MicroModemGP which implements APRS on an Arduino / ATmega328 microprocessor. A technician license should be fine to operate on 2m/144MHz. $\endgroup$
    – Manawyrm
    Commented Jul 10, 2018 at 9:33
  • $\begingroup$ @TobiasMädel Thank you for responding! I was referring on tutorials on the raspberry pi side since the Arduino seems to be underpowered. Also, how do I control the Baofang radio? I also want to change the channel, not just control what audio gets played(since that is solved by plugging in a 3.5mm audio cable) $\endgroup$ Commented Jul 10, 2018 at 17:57
  • $\begingroup$ @itisyeetimetoday well, I don't know whether the radio in question supports channel control over any kind of external input at all. $\endgroup$ Commented Jul 10, 2018 at 19:24
  • 1
    $\begingroup$ No, the Baofeng unfortunatly has no method for CAT control. So channel switching isn't possible, unfortunatly. $\endgroup$
    – Manawyrm
    Commented Jul 11, 2018 at 6:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .