Pi in the shack

Category: Education

Presentation Description

An Introduction to using the Raspberry Pi for amateur radio. This presentation was used at the RSGB Convention in October 2015. Mike Richards G4WNC


Presentation Transcript

Pi in the Shack:

Pi in the Shack Mike Richards G4WNC


Overview Which Model? Connecting-up Shack Projects Doing more Questions

Pi Models:

Pi Models   Original New Series Feature Model A Model B Model A+ Model B+ Pi2 Model B USB Ports 1 2 1 4 4 HDMI 1 1 1 1 1 Composite Video 1 1 1 1 1 Headphone audio 1 1 1 1 1 Ethernet 0 1 0 1 1 GPIO pins 26 26 40 40 40 Camera (CSI) 1 1 1 1 1 Display (DSI) 1 1 1 1 1 Processor 700MHz single core 700MHz single core 700MHz single core 700MHz single core 900MHz Quad core SDRAM 256MB 512MB 256MB 512MB 1GB Operating system SD card SD card microSD card microSD card microSD card Current Cost (Amazon) - - £18 £20 £30

The + Models:

The + Models Standard A and B models replaced with A+ and B+ More efficient switch-mode regulators Low noise regulator for the on-board audio 40-pin GPIO Evenly spaced mounting holes B+ also gets four USB ports – avoid need for a hub HAT (Hardware Attached on Top) allows auto configuration of GPIO pins to match add-on boards

Model A+ Often Overlooked:

Model A+ Often Overlooked Model A+ Single USB port, no Ethernet port, 256MB of RAM and 40 GPIO pins Physically smaller that the B and B+ Lightest model with lowest power consumption Good for embedded projects Cheapest model at around £18 (Amazon)

Model A+:

Model A+

Model B+ Versatile Value:

Model B+ Versatile Value Operating System On microSD 40 GPIO pins 4 x USB ports Improved audio Mounting holes Lower power consumption X Ethernet port

Raspberry Pi 2 Model B:

Raspberry Pi 2 Model B Same layout and board size as the B+ 1GHz Quad Core CPU 1GB SDRAM Improved power supply 6 x faster than Model B Fast enough to run LibreOffice Suite

Raspberry Pi Touchscreen 7” Display:

Raspberry Pi Touchscreen 7” Display Long wait but it’s here! 800 x 480 pixel resolution 10-finger capacitive touch Uses the Pi’s DSI connector – GPIO untouched Wide viewing angle Touch controller for the shack Compact data-modes terminal.

Linux Releases:

Linux Releases Linux kernel Debian Ubuntu Linux distributions Linux Mint Fedora Raspberry Pi Raspbian Wheezy Jessie Toy Story - Penguin Toy Story – Cow Girl Raspbian

Raspbian Jessie – What’s changed:

Raspbian Jessie – What’s changed Now boots to desktop without having to complete raspi-config Configuration is now accessed via Preferences menu Eject button added for USB devices LibreOffice and Claws email is included as standard Print Screen now puts a screenshot in your Home directory Assorted bug fixes and improvements

Installing Jessie:

Installing Jessie Best to download a new image There is an update process on the Pi Site

Connecting-up – Stand-Alone:

Connecting-up – Stand-Alone Ethernet Wi-Fi Operating system Monitor Perexx 707 Plus Wireless keyboard And mouse HDMI PSU X

Connecting-up – Headless:

Connecting-up – Headless Wi-Fi or Ethernet Operating system PSU SSH (Secure Shell) VNC (Virtual Network Computing) SSH provides command line access VNC provides desktop access X

Headless Setup:

Headless Setup SSH is enabled by default in later OS downloads Can be enabled via preferences in Jessie Need terminal software on your PC PuTTY is good and free Need the Raspberry Pi IP address Displays on HDMI during power-up Use Fing for Android or Advanced IP Scanner (free) for PC Need TightVNCServer for desktop Free! X

Pi Projects:

Pi Projects

Shack Projects – PSK with FLDIGI:

Shack Projects – PSK with FLDIGI Operate in Stand-Alone mode Add cheap USB sound card (Daffodil US01 £5 Amazon) Use HDMI TV or 7” touchscreen Use VOX switching on your Tx Add level adjustment pot in transmit audio X

FLDIGI on Pi Touchscreen:

FLDIGI on Pi Touchscreen

RTL Dongle Server:

RTL Dongle Server Works with RTL2832 based digital TV dongles Mount the dongle and Pi remotely Minimise feeder loss Power-over Ethernet Automated start-up using rc.local Provides up to 2MHz IQ b/w No longer freezes X


Antenna PC with SDR Sharp software Ethernet + Power Passive PoE Streamed IQ Data RTL Dongle Server Power supply

Security/Wildlife Camera:

Security/Wildlife Camera Based on MotionPie Self-contained OS and motion monitor Simple interface to Motion software Raspberry Pi Camera module Standard or Infrared Can use standard webcams Captures movement at 2 frames/second Store images on network attached storage. Can preview from phone/tablet/laptop X

Passive PoE:

Passive PoE 100Mb/s Ethernet uses 2 pairs Cat 5 cable has 4 pairs – two available for other use Bunch the wires of each pair – doubles current capacity Standard Cat5E can handle 600mA, bunched = 1.2A Passive PoE injector/splitter cables about £5-£10

DIY Passive PoE:

DIY Passive PoE CAT5E – Passive PoE wiring Orange & green pairs = data Blue pair = + ve Brown pair = - ve Minimise current by applying 12V DC and using efficient switching regulators to derive 5V for Pi Murata OKI-78SR regulator 90% efficiency at 12V in and 5V out at 1.5A Use over-current protection on the PoE feed (PTC, etc )

Raspberry Pi Passive PoE:

Raspberry Pi Passive PoE

Shack Projects WSPR Beacon:

Shack Projects WSPR Beacon Uses Pi FM to generate RF directly at GPIO 4 Square-wave output so external filtering required Delivers about 10mW into 50 Ω RF filter to complete Details here: https:// github.com/JamesP6000/WsprryPi X

Shack Projects Mains Switching:

Shack Projects Mains Switching Energenie Pi-Mote - free Python library Raspberry Pi GPIO plug-in RF switched mains sockets Starter kit: Pi-Mote board and 2 x sockets

Doing More:

Doing More Pi with touchscreen could be used as the control hub for your shack Antenna switching Rotator Power/ swr monitoring Rig Control

Tools to help:

Tools to help Python programming Lots of free tutorials Well developed free code libraries New GPIO library GPIO Zero Simplifies turning GPIO pins on/off Available: http://pythonhosted.org/gpiozero / Kivy Python library for multi-touch applications Special image available for the Pi http:// kivypie.mitako.eu /

Kivy continued…:

Kivy continued…

Tools to help Blynk:

Tools to help Blynk Operate your Pi from anywhere with your mobile Minimal programming Ready made examples to modify


Questions? Pre-configured SD cards available from: g4wnc.com

authorStream Live Help