intro to using raspberry pi for ham radio

34
BY DAVE SLOTTER, W3DJS MODIFIED BY EARL BOATMAN, KB0NRK

Upload: others

Post on 22-Jun-2022

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Intro to USING raspberry pi FOR Ham RADIO

BY DAVE SLOTTER, W3DJS

MODIFIED BY

EARL BOATMAN, KB0NRK

Page 2: Intro to USING raspberry pi FOR Ham RADIO

WHAT’S A RASPBERRY PI?

• RPi 4 : low cost completely functional computer ($30 - $100 USD) about the

size of a card deck

CPU (ARM v8) Micro HDMI

RAM (2GB – 8GB) Micro SD Card Slot

USB (2x USB 2.0 + 2x USB 3.0) Audio Jack

Ethernet (Gigabit) Camera Port

WiFi (802.11ac) GPIO Header!

Bluetooth (5.0 + BLE)

Page 3: Intro to USING raspberry pi FOR Ham RADIO

WHAT OPERATING SYSTEMS DOES RASPBERRY PI USE?

Raspberry Pi OS Linux (Buster based on Debian) - “was Raspbian”

Windows 10 IoT Core Mozilla WebThings

Ubuntu PiNet

Ubuntu MATE RISC OS

OSMC Weather Station

LibreELEC DRAWS [Digital Radio Amateur WorkStation]

Page 4: Intro to USING raspberry pi FOR Ham RADIO

WHAT CAN I DO WITH RASPBERRY PI?

LibreOffice Suite (Word, Sheet, Present) BitTorrent Server

Chromium (Web Browsing) Home Automation

Media Player (Living Room PC) Wireless network printer

Game Emulator Music Streaming

Robotics Kids First Computer

Windows 3.0 Computing Cluster

Learn to Program Weather Station

File Server (NAS) Ham Radio Station

Page 5: Intro to USING raspberry pi FOR Ham RADIO

WHAT CAN I DO WITH RASPBERRY PI?

LibreOffice Suite (Word, Sheet, Present) BitTorrent Server

Chromium (Web Browsing) Home Automation

Media Player (Living Room PC) Wireless network printer

Game Emulator Music Streaming

Robotics Kids First Computer

Windows 3.0 Computing Cluster

Learn to Program Weather Station

File Server (NAS) Ham Radio Station

Radio Frequency transmitter (rpitx) - Frequencies from 5 KHz up to 1500 MHz.

Page 6: Intro to USING raspberry pi FOR Ham RADIO

WHAT DO I NEED TO USE THE RASPBERRY PI?

• Headless with SSH

• Keyboard

• Bluetooth

• USB

• Monitor

• HDMI

• 12 inch (Portable Small)

• Mouse or a Trackball

• USB Audio Adapter External Stereo Sound

Card

Page 7: Intro to USING raspberry pi FOR Ham RADIO

RASPBERRY PI 4 POWER REQUIREMENTS

• Input voltage of 4.0 V to 5.5 V with absolute max rating of 6V before

damage occurs

• Reasonable power range is 5.1 V to 5.25 V

• Power supply recommended provides 3A (15W) if USB peripherals consume

less than 500mA in total

• Original Pi 4 had non-compliant USB-C power port. This has now been fixed.

Page 8: Intro to USING raspberry pi FOR Ham RADIO

WHY USE RASPBERRY PI FOR HAM RADIO?

• Small form-factor

• Lightweight

• Low power needs

• Some people even power from solar!

• Uses Linux which is already well supported

Page 9: Intro to USING raspberry pi FOR Ham RADIO

WHY USE RASPBERRY PI FOR HAM RADIO?

• Great in the shack or for going portable

• Tactical Radio Carrier

• With a Raspberry Pi they can be digital

Page 10: Intro to USING raspberry pi FOR Ham RADIO

WHY USE RASPBERRY PI FOR HAM RADIO?

• Portable / Remote Weather Station / repeater

• Weather Board

• Weather Meter Kit

• SmartiPi Touch Pro case

• Portable Antenna Tripod Mount

Page 11: Intro to USING raspberry pi FOR Ham RADIO

WHERE DO I START?

1. Determine needs for Raspberry Pi – will determine equipment

2. Buy Raspberry Pi + power supply + micro sd card from local retailer

1. Use an SD of at least 64GB or larger and class 10

2. Alternatively: SATA SDD + Cable or NVME SSD + NVME USB3 Adapter

3. Use USB keyboard, mouse and display. Don’t forget the micro-HDMI cable!

4. Download software

1. Download BalenaEtcher or Raspberry Pi Imager for Windows, Mac, Do not need for Linux

2. flash micro-SD card

Page 12: Intro to USING raspberry pi FOR Ham RADIO

WHERE DO I START? 1. There are 5 ways to set up the Raspberry pi for use in amateur radio

1. You can use DL2GKK’s instructions

1. Manual (good for a lite system)

2. https://dl1gkk.com/setup-raspberry-pi-for-ham-radio/

2. Use a script from KM4ACK

1. Almost fully automatic

2. https://github.com/km4ack/pi-build

3. You can use a ready SD card image e.g. HamPi

1. https://sourceforge.net/projects/hampi/

4. You can buy a ready installed SD card e.g., from G4WNC

1. Already setup for your radio and DRAWS

2. https://photobyte.org/

5. You can use a hardware solution e.g., DRAWS

1. They also have a SD card image

2. http://nwdigitalradio.com/

Page 13: Intro to USING raspberry pi FOR Ham RADIO

HAMPI IMAGE V1.6A1

• Custom-built ham radio software image chock full of >80 applications:

• Created using Ansible, software automation tool.

FlDigi Suite CHIRP CQRLog

WSJT-X BlueDV wsjtx_to_n3fjp

JS8Call ADS-B Flight Tracker Pat WinLink + ARDOP

CubicSDR NOAA Weather Imaging CW Applications

GQRX DX Cluster Client + Server Ham Test Trainers

Direwolf Xnecview GPredict

Xastir YAAC Support for SDR Hardware

D-Rats TrustedQSL …and DOZENS MORE!

Page 14: Intro to USING raspberry pi FOR Ham RADIO

WHERE DO I FIND HAMPI IMAGE V1.6A1?

• Find site??????

• https://sourceforge.net/projects/hampi/

• Image is compressed with XZ in TAR format and is ~4GB.

• Uncompressed 14.6Gb

• Over 6,000 direct downloads in first 60 days!

Page 16: Intro to USING raspberry pi FOR Ham RADIO

HOW CAN I PUT IMAGE ON (MICRO) SD CARD?

• You just can’t copy the image as a file on to the (micro) SD card.

• (some people have tried – and failed)

• One solution: dd (for Linux)

• But what if I have a Windows PC or Mac?

• Solution:

• BalenaEtcher, available at https://www.balena.io/etcher/

• Raspberry Pi Imager

Page 17: Intro to USING raspberry pi FOR Ham RADIO

HOW DO I EXPAND THE IMAGE TO USE ENTIRE (MICRO) SD CARD?

• You have a 128GB microSD card and the Pi is only using 16GB. What do you

do?

• This is automatic on Raspbian Buster

• On older versions of Raspbian:

• sudo raspi-config

• Expand Filesystem

Page 18: Intro to USING raspberry pi FOR Ham RADIO

HOW DO I POWER MY RASPBERRY PI? • In the Ham Shack: Power Adapter aka “wall wart”

• Also in the Ham Shack: Power over Ethernet (PoE) $20

• GPIO Pin #2 (5V) GPIO Pin #6 (GND)

Dangerous – only use if you know what you’re doing

• Mobile Power – USB Battery Pack $15+

• MoPi 2 – Hot-Swap Mobile Power £29

• PiJuice with Solar Panels

• 12V to 5V DC USB Type-C Step-Down Power

Converter, Buck Converter

Page 19: Intro to USING raspberry pi FOR Ham RADIO

HOW DO I CONNECT THE PI TO MY RADIO?

• Short answer: USB

• Cable from RIG

• USB Sound Card

• SignaLink: $135

• Sabrent USB Sound Adapter $7

• Another short answer:

DRAWS Ham Radio HAT by

NW Digital Radio $150

Page 20: Intro to USING raspberry pi FOR Ham RADIO

DRAWS DIGITAL RADIO AMATEUR WORKSTATION

• • Raspberry Pi 3 Compliant HAT

• • Power HAT and Pi from 6-15VDC

• • Onboard Voltage Monitor

• • 2 Radio Interfaces

• • Mini DIN-6 Connectors

• • Optional Cables

• • On Board GPS

• • Optional External Antenna w/LNA

• • PPS for Stratum 1 Time Source

• • Battery Backed Real Time Clock

• • Accessory Port

• • PWR, IO, Serial Port, Analog In

Operating Modes:

• Headless, operate from your Computer

• Network Attach or VNC

• Workstation, operate locally by adding

• HDMI Monitor

• USB Keyboard & Mouse

Open-Source Software:

An image is available for download with

popular applications pre-installed, including:

• Packet

• DIREWOLF 1200/9600

• APRS, WinLink

• Soundcard Digital

• FLDIGI, WSJT-X

• Digital Voice Repeater/Hotspot

Page 21: Intro to USING raspberry pi FOR Ham RADIO

HOW TO KEEP ACCURATE TIME ON THE PI?

• In the Hamshack: use timedatectl and NTP

• Command: timedatectl

• Command: ntpdate –q 0.us.pool.ntp.org

• For more info, see

https://raspberrytips.com/time-sync-raspberry-pi/

• In the Field: use GPS receiver & gpsd

• GLONASS GPS Tracker Module for

Raspberry Pi: $8

• Alternative: RTC Module $15

• Alternative: DRAWS Hat GPS Receiver $150

Page 22: Intro to USING raspberry pi FOR Ham RADIO

HAMPI V1.6A1 USE CASE: OPERATING DIGITAL MODES

FlDigi Suite by W1HKJ gnss-sdr - GLONASS satellite system

Software Defined Receiver

WSJT-X - Weak Signal (FT8, FT4, etc.)

by W1JT

linpsk - amateur radio PSK31/RTTY

program via soundcard

GridTracker - Graphical mapping

companion program for WSJT-X or JTDX

multimon - multimon - program to decode

radio transmissions

JTDX - Alternate client for Weak Signal

(FT8, FT4, etc.)

multimon-ng - digital radio transmission

decoder

JS8Call - Messaging built on top of FT8

protocol by KN4CRD

psk31lx - a terminal based ncurses

program for psk31

JS8CallTools - Get Grid coordinates using

GPS

twpsk - a psk program

Page 23: Intro to USING raspberry pi FOR Ham RADIO

HAMPI V1.6A1 USE CASE: LOGGING

• Software included:

• TrustedQSL - LotW client from ARRL

• CQRlog - Ham Radio Logging Application

• PyQSO - Logging software (written in Python)

• klog - The Ham Radio Logging program

• tlf - console based ham radio contest logger

• tucnak2 - VHF/UHF/SHF Hamradio contest log version 2

• twlog - basic logging program for ham radio

• wsjtx_to_n3fjp - Logging adapter to allow WSJT-X to log to N3FJP by yours truly, W3DJS

• xlog - GTK+ Logging program for Hamradio Operators

Page 24: Intro to USING raspberry pi FOR Ham RADIO

HAMPI V1.6A1 USE CASE: APRS

• Software included:

• Direwolf - Software "soundcard" AX.25 packet modem/TNC and APRS encoder/decoder

• Xastir - APRS GUI client / Digipeater / Igate

• YAAC - Yet Another APRS Client

• APRS Message App for JS8Call

• aprsdigi - digipeater for APRS

• aprx - APRS Digipeater and iGate

• soundmodem - Sound Card Amateur Packet Radio Modems

Page 25: Intro to USING raspberry pi FOR Ham RADIO

HAMPI V1.6A1 USE CASE: CW / MORSE CODE

aldo - Morse code training program morse - training program about morse-

code for aspiring radio hams

cw - sound characters as Morse code on

the soundcard or console speaker

morse2ascii - tool for decoding the morse

codes from a PCM WAV file

cwcp - Text based Morse tutor program morsegen - convert file to ASCII morse

code

xcwcp - Graphical Morse tutor program qrq - High speed Morse telegraphy

trainer

cwdaemon - morse daemon for the serial

or parallel port

twcw - sends morse code via the sound

card or serial card (Needs RTC installed)

ebook2cw - convert eBooks to Morse

MP3s/OGGs

xdemorse - decode Morse signals to text

ebook2cwgui - GUI for ebook2cw rscw - Receive CW through Soundcard

Page 26: Intro to USING raspberry pi FOR Ham RADIO

HAMPI V1.6A1 USE CASE: D-STAR

•Software included:

• d-rats - A communication tool for D-STAR

• NOTE: THIS INCLUDES INSTANT UPDATE ABILITY

• BlueDV - Client for D-Star, DMR and YSF (Phone)

Page 27: Intro to USING raspberry pi FOR Ham RADIO

HAMPI V1.6A1 USE CASE: SOFTWARE DEFINED RADIO (SDR)

CubicSDR - Software Defined Radio receiver SoapyMultiSDR - Multi-device support module for

SoapySDR

cutesdr - Simple demodulation and spectrum display

program

SoapyNetSDR - Soapy SDR module for NetSDR

protocol

GQRX - Software defined radio receiver SoapyRemote - Use any Soapy SDR remotely

SDRAngel - SDR player SoapyRTLSDR - Soapy SDR module for RTL SDR USB

dongle

lysdr - Simple software-defined radio SoapySDR - Vendor and platform neutral SDR

support library

quisk - Software Defined Radio (SDR) SoapySDRPlay - Soapy SDR module for SDRPlay

SoapyAudio - Soapy SDR plugin for Audio devices Rpitx - Radio Frequency transmitter

SoapyHackRF - SoapySDR HackRF module (and More!)

Page 28: Intro to USING raspberry pi FOR Ham RADIO

HAMPI V1.6A1 USE CASE: SATELLITE COMMUNICATION

•Software included:

•Gpredict - Satellite prediction

• predict-gsat - Graphical Predict client

• gnss-sdr - GLONASS satellite system Software Defined

Receiver

• wxtoimg - NOAA weather imaging software

Page 29: Intro to USING raspberry pi FOR Ham RADIO

HAMPI V1.6A USE CASE: WINLINK / EMCOMM

• Software included:

• Pat WinLink - WinLink for Raspberry Pi (and other platforms)

• ARDOP support for Pat WinLink

• ARDOP-GUI - Provides graphical representation of ARDOP connections

• Find ARDOP - Retrieves local ARDOP sources by KM4ACK

• AX25 support for Pat WinLink

• PMON - a PACTOR® Monitoring Utility for Linux

Page 30: Intro to USING raspberry pi FOR Ham RADIO

HAMPI V1.6A1 USE CASE: ANTENNA MODELING

• Software included:

• antennavis - Antenna Visualization Software

• gsmc - A GTK Smith Chart Calculator for RF impedance matching

• nec2c - Translation of the NEC2 FORTRAN source code to the C language

• xnecview - NEC structure and gain pattern viewer

• yagiuda - software to analyse performance of Yagi-Uda antennas

• VOACAP - HF propagation prediction

Page 31: Intro to USING raspberry pi FOR Ham RADIO

HAMPI V1.6A1 USE CASE: HAM TRAINING / TESTING

•Software included:

• fccexam - Study tool for USA FCC commercial radio license

exams.

• hamexam - Study guide for USA FCC amateur radio (ham

radio) license examinations.

Page 32: Intro to USING raspberry pi FOR Ham RADIO

HAMPI V1.6A1 USE CASE: MISCELLANEOUS APPLICATIONS

• Software included:

• CHIRP - Radio Programming Software

• QTel - EchoLink client

• QSSTV - Slow Scan TV (e.g. "Fax")

• FreeDV - Free digital voice vocoder

• WsprryPi - WSPR software

• ADS-B Flight Tracking Software

• Xdx is a DX-cluster client

• DXSpider - DX Cluster Server

Page 33: Intro to USING raspberry pi FOR Ham RADIO

QUESTIONS

•RFI sensitivity concerns

• Use Ferrite choke

•Other Information Sites

• KM4ACK

• https://www.youtube.com/user/jasonoleham

• OH8STN

• https://www.youtube.com/user/SurvivalTechEU

Page 34: Intro to USING raspberry pi FOR Ham RADIO

THANKS FOR WATCHING AND SOME IDEAS

• For mobile and portable use

• Emergency use during disasters

• Field day

• For quick setup while traveling

• For various events or shows

• In the home station

• To support your ham station

• Just for the fun of it