HamPi

Thursday, 17 October 2013 17:24 Lior
Print

 

Introduction

This project attempts to integrate every ham utility using the raspberry pi. Programs include fldigi, echolink node, packet, SDR, and many more. The goal is to provide an easy way for people to just copy the sd image and not worry about all the setup involved in getting these software running.  This project is always evolving, so more utilities will be added.

 

Hardware

The are many varieties for what type of hardware you choose, but the most imported thing is the Raspberry Pi and a sound card (the pi does not have a mic input). Here are the hardware that I have setup for this.

 

Required hardware:

All of these will set you back about $65. There are PI packages out there that will sell you the pi, the power supply case and sd card, so you might be able to go even cheaper.  You will also need a keyboard, mouse display, and a wifi dongle. These are optional, since you could run an echolink node without them (or temporally hooking them up for setup).

 

Optional Hardware:

Cable Connections

 

Connect the Raspberry PI to the EasyDigi using the diagram bellow. The DTR pin connects to GPIO 17 (pin 11), and the DIG GND connect to the GND connection on the pi. Connect you radio to the EasyDigi.



Setting up the pi and the SD Card

Get the wheezy raspbian image from here: http://www.raspberrypi.org/downloads

Once the file is downloaded, extract it and write the image to an sd card. You can use dd if you are on linux or Win32DiskImages on windows. If you are new to this, you can follow the easy step by step instruction here.

Once the pi has booted, you may want to use the initial setup screen to increase the fs system, change the keyboard layout (if you are in the US), and change the password.

 

Applications

Setting up FLDIGI

To setup fldigi, you would need to download a patched version from this web site if you want to use the GPIO pin as a trigger for the PTT.  Once the file is downloaded, configure and compile it. Additionally, you will need a script to setup the gpio. This script can be part of the bashrc file so it will start automatically. You can follow the step by step instruction bellow, which will also download the file.

Here is a link to the patched version: fldigi-3.21.76_patched.tar.gz

Here is the patch if you know what you are doing: fldigi-3.21.76_gpio.patch

Script to setup the gpio (must be run as root): setGPIO

There is an automated script that I created that can be used to set all this up, once you log in to your pi exec the following command

wget  http://www.elazary.com/images/mediaFiles/ham/hampi/setup.sh -O - | sh


Once this script is done (it will take a very long time, just Ham it up in the mean time) reboot the PI, log in  and type startx. You should see fldigi under the internet tab

Configuring FLDIGI

Once you fill in the basic configurations for the callsign, QTH, etc you would need to configure the audio devices as follow:

select OSS and set the device to /dev/dsp1

on the next tab (the Hardware PTT) check 'Use GPIO PTT' and set the GPIO pin to the pin you have wired (in my case I chose pin 17).

Setting up NBEMS

For NBEMS, you can download the fldigi src suite from the website configure, and compile it.

todo

Testing

I have tested almost all the modes with fldigi (did a test with K6POI from pi to pi), and it seems like the pi can handle all the modes very well.

 

Last Updated on Friday, 03 January 2014 18:39