SlideShare une entreprise Scribd logo
1  sur  31
Raspberry Pi and Amateur Radio
Radio related things to do
with your Raspberry Pi
Kevin Hooke KK6DCT
July 2016
http://www.raspberrypi.org/
Amateur Radio + Raspberry Pi
General Radio stuff:
● SDR radio (RTL dongle and rtl_sdr / rtl_tcp)
● ADS-B Aircraft transponder reception (RTL dongle and dump1090)
Amateur Radio:
● Cheap Desktop PC replacement (for Logging, internet, QRZ lookups)
● Weak Signal Propagation (WSPR / WSPRryPi)
● DSTAR Access Point (DVAP dongle and other add-on boards)
● Packet Radio - h/w (Pi TNC) and s/w (Direwolf) TNC solutions
● Packet Radio BBS / Personal mailbox (PiLinBPQ)
● Packet DX Cluster (DX Spider)
● DIY Projects: Remote antenna rotator, antenna switches
Raspberry Pi – what is it?
● How does it differ from an
Arduino?
● Arduino: a microcontroller
– Programmable, can control
external devices, circuits
through analog and digital
I/O pins
– does one thing, usually
repeatedly
Image from: SparkFun Electronics from Boulder, USA - Arduino Uno - R3, CC BY 2.0
https://commons.wikimedia.org/w/index.php?curid=26785892
Raspberry Pi – what is it?
● ARM microprocessor based
● Usually runs a flavor of Linux
(e.g. Raspbian)
● Uses SD Cards for disk
storage
● GPIO and I2C I/O pins for
interacting with hardware
devices
Raspberry Pi B+
Image from: Lucasbosch - CC BY-SA 3.0,
https://commons.wikimedia.org/w/index.php?curid=34179985
● Pi 1 & 2: USB ports (for keyboard, mouse), HDMI out,
Ethernet
● Pi 3: WiFi, Bluetooth
● A general purpose single-board computer
Did I mention?
$35
Warning: Hobby time-sink alert!
● From this point onwards:
– You will most likely spend a bunch of time installing
and tweaking Linux related stuff
● We'll skip a lot of specifics here, but there are plenty of
resources online, e.g.
– https://www.raspberrypi.org/forums/
– http://raspberrypi.stackexchange.com/
– http://elinux.org/RPi_Hub
– … many more
● All ideas here I've blogged in detail (some step by step):
– https://www.kevinhooke.com/?s=raspberry+pi
● I'll be happy to help anyone with specific questions after
the meeting, or via email: kevin.hooke@gmail.com
Raspberry Pi – Getting Started
● Download an OS https://www.raspberrypi.org/downloads
● Burn to an SD card
● Several options to choose from, Raspbian is the default
option
● Connect an HDMI monitor and keyboard/mouse for initial
setup
● Once setup, you can run it 'headless' (no monitor), use ssh
(Linux/OS X), or putty (on Windows) to access remotely
over your network
● sudo raspi-config : several useful config options
Raspberry Pi – Setting Up
Menu driven
config options:
Let's look at a few ideas!
Raspberry Pi – Radio Stuff
● Install: sudo apt-get install xlog
Logging Apps: xlog
● Install: sudo apt-get install cqrlog
Logging Apps: CQRLog
● RTL USB TV receiver
● Install osmocomSDR software:
http://sdr.osmocom.org/trac/wiki/rtl-sdr
● rtl_sdr
● rtl_fm : fm receiver
● rtl_tcp : sdr server – can be accessed
remotely, eg from SDR# on a PC
– e.g. allows Pi + dongle + antenna
can be remotely located
= avoids long coax feed
RTL dongles + Raspberry Pi
$23 from
http://www.nooelec.com/store/sdr/
nesdr-mini-2-plus.html
Step by step setup:
https://www.kevinhooke.com/2014/07/26/installing-rtl-sdr-and-dump1090-on-a-raspberry-pi-to-receive-ads-b-signals/
● ADS-B: Automated position report transmissions from
airplanes, location/speed/heading/flight/airframe id – 1.090
GHz
● https://en.wikipedia.org/wiki/Automatic_dependent_surveillance_%E2%80%93_broadcast
● Online flight tracking (eg FlightAware.com and others)
collect reception data from hobbyists
● Multiple approaches, dump1090 is easiest
● Needs rtl-sdr installed first
● Original version: https://github.com/antirez/dump1090
● Updated version: https://github.com/MalcolmRobb/dump1090
● To pull source and build:
– git clone https://github.com/MalcolmRobb/dump1090.git
– cd dump1090
– make
RTL dongle: ADS-B Reception
● dump1090 --interactive
Running dump1090
● dump1090 --net
● WSPR: Weak Signal Propagation Reporting
● Raspberry Pi
+ WsprryPi software
https://github.com/JamesP6000/WsprryPi
+ TAPR QRP shield ($29)
https://www.tapr.org/kits_20M-wspr-pi.html
+ wire antenna (e.g. dipole)
WSPR: WsprryPi + TAPR QRP TX
Shield
● TAPR QRPi shield ($29)
● https://www.tapr.org/kits_20M-wspr-pi.html
● 20 dBm / 100 mW TX output
● LPF + BPF + 10 dBm power amp (20 dBm output)
WSPR: WsprryPi + TAPR QRP TX
Shield
See docs for other apps and modes:
SSB
NFM
AM
SSTV
CW
First attempt: Didn't get any spots using a RPi 1
(WsprryPi s/w was updated to support Rpi 2?)
● TAPR QRPi Shield
● 20m wire dipole
● Weatherproof
box
● 10000 mAh
USB battery
WSPR: WsprryPi + TAPR QRPi TX
Shield
Second attempt: RPi 2
● TAPR QRPi Shield
● 20m wire dipole
● Weatherproof
box
● 10000 mAh
USB battery
WSPR: WsprryPi + TAPR QRPi TX
Shield
4/30/16: 20m : 100 mW – 2180 miles to W4DJW in South Carolina!
WSPR: WsprryPi + TAPR QRP TX
Shield
DSTAR Access Point (DVAP
dongle & others)
● DV Access Point USB
Dongle
– Requires DSTAR radio
From:
http://www.dvapdongle.com/DV_Access_Point_Dongle/Home.html
● DVMega
- various models, some require
DSTAR radio
- AMBE3000 takes analog input
and converts to DSTAR data
signal
From:
http://www.dvmega.auria.nl/AMBE3000_shield.html
Packet Radio and Raspberry Pi
● Lots of options!
– ax25 networking stack support in Linux
● Already installed or easily installed on Linux distros
● Provides basic tools like call: axcall 1 kberr
– Direwolf (Packet soundcard modem / TNC)
● Also supports APRS beacons, iGates
https://github.com/wb2osz/direwolf
– LinPac (Packet terminal app) http://linpac.sourceforge.net/overview.php
– PiLinBPQ: BPQ32 Packet BBS
http://www.cantab.net/users/john.wiseman/Documents/InstallingLINBPQ.htm
– Hardware TNC boards: TNC-Pi
● Checkout Joe DeAngelo AG6QO's site on setting up the
WINTBB Raspberry Pi BBS: http://ag6qo.com/PiPBBS.html
Prebuilt SD Card images for Packet
● Don't need to install apps yourself, prebuilt OS images (SD
Card):
– F6BVP: Xastir, FPAC, LinFBB
● Uses TNC-Pi by default
http://f6bvp.free.fr/AX25_BBS_Node_RaspBerry_Pi_install.html
– HALDigital: https://sourceforge.net/p/haldigital/wiki/Home/
● Prebuild Raspbian image with ax25, Direwolf, etc
● Menu driven configuration
If you want more flexibility/options, can still install all parts
yourself
Direwolf – soundcard modem
● Soundcard Packet modem (Linux and Windows versions)
● https://github.com/wb2osz/direwolf
– AWESOME documentation
– Easy setup
– KISS app support
– AGWE app support
● APRS / Smart Beaconing / GPS board support
● APRS iGate
Direwolf and PiLinBPQ
● Raspberry Pi + Direwolf + PiLinBPQ:
– Low cost / low power packet BBS and CHAT station
– Portable Packet BBS? Add USB battery packs
● BPQ32: ax25 Node – Windows and Linux versions
– http://www.cantab.net/users/john.wiseman/Documents/BPQ32.html
● PiLinBPQ: Raspberry Pi version
– Add on apps: BBS, CHAT, other integration
Direwolf and axcall/LinPac
● Raspberry Pi + Direwolf + axcall/LinPac
– Low cost / low power packet station
– Portable Packet station? Add USB battery packs
● Linpack: http://linpac.sourceforge.net/overview.php
Direwolf and APRS: Xastir
● APRS client: http://xastir.org/index.php/Main_Page
Direwolf and APRS: YAAC
● YAAC – Yet another APRS Client:
http://www.ka2ddo.org/ka2ddo/YAAC.html
Example Pi Packet setup
Example Pi Packet setup
● HT radio
● Soundcard interface
● Pi + Direwolf
● Add USB batteries for
portable setup
Left:
● Pi 1 (headless)
● PiLinBBS
Right:
● Pi 3 + 7” touchscreen
● Axcall into BBS
(WiFi hub is for ssh into Pi
for demo, not needed as
part of setup)
Future Project: RTL SDR and Direwolf
Self-contained Pi SDR Packet station?
● Setup:
– RTL USB dongle
– rtl_sdr / rtl_fm
– Direwolf soundcard modem
– (see Direwolf docs for instructions)
● Self-contained SDR packet station for < $60 ?
● What about transmit?
– RPiTX: https://github.com/F5OEO/rpitx
– QTCSDR: https://github.com/ha7ilm/qtcsdr
Demos and Questions

Contenu connexe

Tendances

Public Switched Telephone Network
Public Switched Telephone NetworkPublic Switched Telephone Network
Public Switched Telephone Network
Haither Mithath
 
Cognitive Radio, Introduction and Main Issues
Cognitive Radio, Introduction and Main IssuesCognitive Radio, Introduction and Main Issues
Cognitive Radio, Introduction and Main Issues
Kuncoro Wastuwibowo
 
Wi fi and it’s applications
Wi fi and it’s applicationsWi fi and it’s applications
Wi fi and it’s applications
Saad Mazhar
 

Tendances (20)

Horn antenna
Horn antennaHorn antenna
Horn antenna
 
219272664 s-parameters
219272664 s-parameters219272664 s-parameters
219272664 s-parameters
 
Digital base band modulation
Digital base band modulationDigital base band modulation
Digital base band modulation
 
Over view of Transmission Technologies & Optical Fiber Communication
Over view of Transmission Technologies & Optical Fiber Communication Over view of Transmission Technologies & Optical Fiber Communication
Over view of Transmission Technologies & Optical Fiber Communication
 
Wireless Channels Capacity
Wireless Channels CapacityWireless Channels Capacity
Wireless Channels Capacity
 
FIBRA ÓPTICA TECNOLOGIA GPON
FIBRA ÓPTICA TECNOLOGIA GPONFIBRA ÓPTICA TECNOLOGIA GPON
FIBRA ÓPTICA TECNOLOGIA GPON
 
A seminar presentation on "Design and Simulation of E and U shape Microstrip ...
A seminar presentation on "Design and Simulation of E and U shape Microstrip ...A seminar presentation on "Design and Simulation of E and U shape Microstrip ...
A seminar presentation on "Design and Simulation of E and U shape Microstrip ...
 
Equalisation, diversity, coding.
Equalisation, diversity, coding.Equalisation, diversity, coding.
Equalisation, diversity, coding.
 
fundamenatals of cellular enginering
fundamenatals of cellular engineringfundamenatals of cellular enginering
fundamenatals of cellular enginering
 
Antenna
AntennaAntenna
Antenna
 
Mimo
MimoMimo
Mimo
 
Public Switched Telephone Network
Public Switched Telephone NetworkPublic Switched Telephone Network
Public Switched Telephone Network
 
Topics in wireless communication for project and thesis
Topics in wireless communication for project and thesisTopics in wireless communication for project and thesis
Topics in wireless communication for project and thesis
 
Digital modulation technique
Digital modulation techniqueDigital modulation technique
Digital modulation technique
 
Chapt 03
Chapt 03Chapt 03
Chapt 03
 
WLAN(802.11AX - WI-FI 6) Evolution, frequency band, channels & use cases
WLAN(802.11AX - WI-FI 6) Evolution, frequency band, channels & use casesWLAN(802.11AX - WI-FI 6) Evolution, frequency band, channels & use cases
WLAN(802.11AX - WI-FI 6) Evolution, frequency band, channels & use cases
 
Cognitive Radio, Introduction and Main Issues
Cognitive Radio, Introduction and Main IssuesCognitive Radio, Introduction and Main Issues
Cognitive Radio, Introduction and Main Issues
 
Gprs ppt
Gprs pptGprs ppt
Gprs ppt
 
Wi fi and it’s applications
Wi fi and it’s applicationsWi fi and it’s applications
Wi fi and it’s applications
 
8.vsat
8.vsat8.vsat
8.vsat
 

Similaire à Raspberry Pi and Amateur Radio

Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linaro
 
Exploring Raspberry Pi
Exploring Raspberry PiExploring Raspberry Pi
Exploring Raspberry Pi
Lentin Joseph
 

Similaire à Raspberry Pi and Amateur Radio (20)

Raspberry Pi and Amateur Radio - 2020 update
Raspberry Pi and Amateur Radio - 2020 updateRaspberry Pi and Amateur Radio - 2020 update
Raspberry Pi and Amateur Radio - 2020 update
 
Configuring Raspberry Pi as a Dev Environment
Configuring Raspberry Pi as a Dev EnvironmentConfiguring Raspberry Pi as a Dev Environment
Configuring Raspberry Pi as a Dev Environment
 
Rete di casa e raspberry pi - Home network and Raspberry Pi
Rete di casa e raspberry pi - Home network and Raspberry Pi Rete di casa e raspberry pi - Home network and Raspberry Pi
Rete di casa e raspberry pi - Home network and Raspberry Pi
 
Raspberry Pi Free Session - 20_09_2014
Raspberry Pi Free Session - 20_09_2014Raspberry Pi Free Session - 20_09_2014
Raspberry Pi Free Session - 20_09_2014
 
Single Board Computers & Raspberry Pi Basics
Single Board Computers & Raspberry Pi BasicsSingle Board Computers & Raspberry Pi Basics
Single Board Computers & Raspberry Pi Basics
 
Raspberry Pi Session - 22_11_2014
Raspberry Pi Session - 22_11_2014Raspberry Pi Session - 22_11_2014
Raspberry Pi Session - 22_11_2014
 
Tac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PI
 
Intoduction to physical computing using Raspberry Pi, 18-02-2016
Intoduction to physical computing using Raspberry Pi, 18-02-2016Intoduction to physical computing using Raspberry Pi, 18-02-2016
Intoduction to physical computing using Raspberry Pi, 18-02-2016
 
PiFlash: Linux utility to flash SD cards for Raspberry Pi computers
PiFlash: Linux utility to flash SD cards for Raspberry Pi computersPiFlash: Linux utility to flash SD cards for Raspberry Pi computers
PiFlash: Linux utility to flash SD cards for Raspberry Pi computers
 
How to build Open Hardware self-navigating car robot
How to build Open Hardware self-navigating car robotHow to build Open Hardware self-navigating car robot
How to build Open Hardware self-navigating car robot
 
Interfacing the Raspberry Pi to the World
Interfacing the Raspberry Pi to the WorldInterfacing the Raspberry Pi to the World
Interfacing the Raspberry Pi to the World
 
[Forward4 Webinar 2016] Building IoT Prototypes w/ Raspberry Pi
[Forward4 Webinar 2016] Building IoT Prototypes w/ Raspberry Pi [Forward4 Webinar 2016] Building IoT Prototypes w/ Raspberry Pi
[Forward4 Webinar 2016] Building IoT Prototypes w/ Raspberry Pi
 
Raspberry Pi GPIO Tutorial - Make Your Own Game Console
Raspberry Pi GPIO Tutorial - Make Your Own Game ConsoleRaspberry Pi GPIO Tutorial - Make Your Own Game Console
Raspberry Pi GPIO Tutorial - Make Your Own Game Console
 
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
 
Having fun with Raspberry(s) and Apache projects
Having fun with Raspberry(s) and Apache projectsHaving fun with Raspberry(s) and Apache projects
Having fun with Raspberry(s) and Apache projects
 
Raspberry Pi - HW/SW Application Development
Raspberry Pi - HW/SW Application DevelopmentRaspberry Pi - HW/SW Application Development
Raspberry Pi - HW/SW Application Development
 
My presentation raspberry pi
My presentation raspberry piMy presentation raspberry pi
My presentation raspberry pi
 
Exploring Raspberry Pi
Exploring Raspberry PiExploring Raspberry Pi
Exploring Raspberry Pi
 
Raspberry pi-spectrum-analyzer-display-on-rgb-led-strip
Raspberry pi-spectrum-analyzer-display-on-rgb-led-stripRaspberry pi-spectrum-analyzer-display-on-rgb-led-strip
Raspberry pi-spectrum-analyzer-display-on-rgb-led-strip
 
Raspberry pi tutorial
Raspberry pi tutorialRaspberry pi tutorial
Raspberry pi tutorial
 

Dernier

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Dernier (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 

Raspberry Pi and Amateur Radio

  • 1. Raspberry Pi and Amateur Radio Radio related things to do with your Raspberry Pi Kevin Hooke KK6DCT July 2016 http://www.raspberrypi.org/
  • 2. Amateur Radio + Raspberry Pi General Radio stuff: ● SDR radio (RTL dongle and rtl_sdr / rtl_tcp) ● ADS-B Aircraft transponder reception (RTL dongle and dump1090) Amateur Radio: ● Cheap Desktop PC replacement (for Logging, internet, QRZ lookups) ● Weak Signal Propagation (WSPR / WSPRryPi) ● DSTAR Access Point (DVAP dongle and other add-on boards) ● Packet Radio - h/w (Pi TNC) and s/w (Direwolf) TNC solutions ● Packet Radio BBS / Personal mailbox (PiLinBPQ) ● Packet DX Cluster (DX Spider) ● DIY Projects: Remote antenna rotator, antenna switches
  • 3. Raspberry Pi – what is it? ● How does it differ from an Arduino? ● Arduino: a microcontroller – Programmable, can control external devices, circuits through analog and digital I/O pins – does one thing, usually repeatedly Image from: SparkFun Electronics from Boulder, USA - Arduino Uno - R3, CC BY 2.0 https://commons.wikimedia.org/w/index.php?curid=26785892
  • 4. Raspberry Pi – what is it? ● ARM microprocessor based ● Usually runs a flavor of Linux (e.g. Raspbian) ● Uses SD Cards for disk storage ● GPIO and I2C I/O pins for interacting with hardware devices Raspberry Pi B+ Image from: Lucasbosch - CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=34179985 ● Pi 1 & 2: USB ports (for keyboard, mouse), HDMI out, Ethernet ● Pi 3: WiFi, Bluetooth ● A general purpose single-board computer
  • 6. Warning: Hobby time-sink alert! ● From this point onwards: – You will most likely spend a bunch of time installing and tweaking Linux related stuff ● We'll skip a lot of specifics here, but there are plenty of resources online, e.g. – https://www.raspberrypi.org/forums/ – http://raspberrypi.stackexchange.com/ – http://elinux.org/RPi_Hub – … many more ● All ideas here I've blogged in detail (some step by step): – https://www.kevinhooke.com/?s=raspberry+pi ● I'll be happy to help anyone with specific questions after the meeting, or via email: kevin.hooke@gmail.com
  • 7. Raspberry Pi – Getting Started ● Download an OS https://www.raspberrypi.org/downloads ● Burn to an SD card ● Several options to choose from, Raspbian is the default option
  • 8. ● Connect an HDMI monitor and keyboard/mouse for initial setup ● Once setup, you can run it 'headless' (no monitor), use ssh (Linux/OS X), or putty (on Windows) to access remotely over your network ● sudo raspi-config : several useful config options Raspberry Pi – Setting Up Menu driven config options:
  • 9. Let's look at a few ideas! Raspberry Pi – Radio Stuff
  • 10. ● Install: sudo apt-get install xlog Logging Apps: xlog
  • 11. ● Install: sudo apt-get install cqrlog Logging Apps: CQRLog
  • 12. ● RTL USB TV receiver ● Install osmocomSDR software: http://sdr.osmocom.org/trac/wiki/rtl-sdr ● rtl_sdr ● rtl_fm : fm receiver ● rtl_tcp : sdr server – can be accessed remotely, eg from SDR# on a PC – e.g. allows Pi + dongle + antenna can be remotely located = avoids long coax feed RTL dongles + Raspberry Pi $23 from http://www.nooelec.com/store/sdr/ nesdr-mini-2-plus.html Step by step setup: https://www.kevinhooke.com/2014/07/26/installing-rtl-sdr-and-dump1090-on-a-raspberry-pi-to-receive-ads-b-signals/
  • 13. ● ADS-B: Automated position report transmissions from airplanes, location/speed/heading/flight/airframe id – 1.090 GHz ● https://en.wikipedia.org/wiki/Automatic_dependent_surveillance_%E2%80%93_broadcast ● Online flight tracking (eg FlightAware.com and others) collect reception data from hobbyists ● Multiple approaches, dump1090 is easiest ● Needs rtl-sdr installed first ● Original version: https://github.com/antirez/dump1090 ● Updated version: https://github.com/MalcolmRobb/dump1090 ● To pull source and build: – git clone https://github.com/MalcolmRobb/dump1090.git – cd dump1090 – make RTL dongle: ADS-B Reception
  • 14. ● dump1090 --interactive Running dump1090 ● dump1090 --net
  • 15. ● WSPR: Weak Signal Propagation Reporting ● Raspberry Pi + WsprryPi software https://github.com/JamesP6000/WsprryPi + TAPR QRP shield ($29) https://www.tapr.org/kits_20M-wspr-pi.html + wire antenna (e.g. dipole) WSPR: WsprryPi + TAPR QRP TX Shield
  • 16. ● TAPR QRPi shield ($29) ● https://www.tapr.org/kits_20M-wspr-pi.html ● 20 dBm / 100 mW TX output ● LPF + BPF + 10 dBm power amp (20 dBm output) WSPR: WsprryPi + TAPR QRP TX Shield See docs for other apps and modes: SSB NFM AM SSTV CW
  • 17. First attempt: Didn't get any spots using a RPi 1 (WsprryPi s/w was updated to support Rpi 2?) ● TAPR QRPi Shield ● 20m wire dipole ● Weatherproof box ● 10000 mAh USB battery WSPR: WsprryPi + TAPR QRPi TX Shield
  • 18. Second attempt: RPi 2 ● TAPR QRPi Shield ● 20m wire dipole ● Weatherproof box ● 10000 mAh USB battery WSPR: WsprryPi + TAPR QRPi TX Shield
  • 19. 4/30/16: 20m : 100 mW – 2180 miles to W4DJW in South Carolina! WSPR: WsprryPi + TAPR QRP TX Shield
  • 20. DSTAR Access Point (DVAP dongle & others) ● DV Access Point USB Dongle – Requires DSTAR radio From: http://www.dvapdongle.com/DV_Access_Point_Dongle/Home.html ● DVMega - various models, some require DSTAR radio - AMBE3000 takes analog input and converts to DSTAR data signal From: http://www.dvmega.auria.nl/AMBE3000_shield.html
  • 21. Packet Radio and Raspberry Pi ● Lots of options! – ax25 networking stack support in Linux ● Already installed or easily installed on Linux distros ● Provides basic tools like call: axcall 1 kberr – Direwolf (Packet soundcard modem / TNC) ● Also supports APRS beacons, iGates https://github.com/wb2osz/direwolf – LinPac (Packet terminal app) http://linpac.sourceforge.net/overview.php – PiLinBPQ: BPQ32 Packet BBS http://www.cantab.net/users/john.wiseman/Documents/InstallingLINBPQ.htm – Hardware TNC boards: TNC-Pi ● Checkout Joe DeAngelo AG6QO's site on setting up the WINTBB Raspberry Pi BBS: http://ag6qo.com/PiPBBS.html
  • 22. Prebuilt SD Card images for Packet ● Don't need to install apps yourself, prebuilt OS images (SD Card): – F6BVP: Xastir, FPAC, LinFBB ● Uses TNC-Pi by default http://f6bvp.free.fr/AX25_BBS_Node_RaspBerry_Pi_install.html – HALDigital: https://sourceforge.net/p/haldigital/wiki/Home/ ● Prebuild Raspbian image with ax25, Direwolf, etc ● Menu driven configuration If you want more flexibility/options, can still install all parts yourself
  • 23. Direwolf – soundcard modem ● Soundcard Packet modem (Linux and Windows versions) ● https://github.com/wb2osz/direwolf – AWESOME documentation – Easy setup – KISS app support – AGWE app support ● APRS / Smart Beaconing / GPS board support ● APRS iGate
  • 24. Direwolf and PiLinBPQ ● Raspberry Pi + Direwolf + PiLinBPQ: – Low cost / low power packet BBS and CHAT station – Portable Packet BBS? Add USB battery packs ● BPQ32: ax25 Node – Windows and Linux versions – http://www.cantab.net/users/john.wiseman/Documents/BPQ32.html ● PiLinBPQ: Raspberry Pi version – Add on apps: BBS, CHAT, other integration
  • 25. Direwolf and axcall/LinPac ● Raspberry Pi + Direwolf + axcall/LinPac – Low cost / low power packet station – Portable Packet station? Add USB battery packs ● Linpack: http://linpac.sourceforge.net/overview.php
  • 26. Direwolf and APRS: Xastir ● APRS client: http://xastir.org/index.php/Main_Page
  • 27. Direwolf and APRS: YAAC ● YAAC – Yet another APRS Client: http://www.ka2ddo.org/ka2ddo/YAAC.html
  • 29. Example Pi Packet setup ● HT radio ● Soundcard interface ● Pi + Direwolf ● Add USB batteries for portable setup Left: ● Pi 1 (headless) ● PiLinBBS Right: ● Pi 3 + 7” touchscreen ● Axcall into BBS (WiFi hub is for ssh into Pi for demo, not needed as part of setup)
  • 30. Future Project: RTL SDR and Direwolf Self-contained Pi SDR Packet station? ● Setup: – RTL USB dongle – rtl_sdr / rtl_fm – Direwolf soundcard modem – (see Direwolf docs for instructions) ● Self-contained SDR packet station for < $60 ? ● What about transmit? – RPiTX: https://github.com/F5OEO/rpitx – QTCSDR: https://github.com/ha7ilm/qtcsdr