Building a Repeater


6 posts
by W5PKY » Wed Jan 02, 2013 10:58 pm
Well I'm working on using a RPi as a repeater controller. Currently, attempt 1 is using freeSWITCH. What I'm trying to accomplish is building a portable repeater very similar to a WiFi repeater except using two-way radios that can run of batteries and everything fit in a surplus ammo can or other waterproof container. Fiddling has of course brought up several questions. The primary question has to do with freeSWITCH and perl.

Here is what I'm using as a reference:http://wiki.freeswitch.org/wiki/Fs_rpt.pl

Now there is reference made to the Fs_rpt.pl script which has to be modified to my understanding. (Please understand I'm trying to give myself a crash course in perl as I go because that is how I learn best). However, I'm assuming that the there was an active link to the script at one point in time and it is no longer there. Is there enough info there to rebuild the scrip file without having too much knowledge of perl?

The reason I went with freeSWITCH was that it seemed to have what I needed (announcement broadcast for call sign, and the ability to link controllers over a network, DTMF decoder, roger beep) but if anyone has any other program suggestions that may or may not be easier to setup, I'm open to suggestions.

My other questions belong in more technical specific parts of the forum so they will be asked where needed (mainly GPIO ttyAMA0 connections and 2 way radio comms). Thanks in advance for any help or suggestions.
Posts: 6
Joined: Wed Jan 02, 2013 10:12 pm
by jamiesk » Thu Jan 03, 2013 7:03 am
I was nearly into HAM many years ago. When the Atari ST was new on the block!! :D

Basically to have a repeater you will need to alter the perl to record when a transmission is sensed. When its stopped, then re-transmit the recorded message. To achieve this you will need to
1) wire up the speaker and mike to the Pi
2) wire up the PTT to a GPIO, via a relay (and transistor to bump up the current and isolate the Pi) ?
3) the main one - how to detect there is a "message" being transmitted. Now you could "record" all the time, but how about when to stop and start the message. I'm stuck on this point.

Good luck.
Pi1 (Nov 2012 loft)= 1KW immersion controller for Solar panel
Pi2 (Jan 2013 living room)=Play thing
Pi3 (Feb 2013 mobile)= Play thing with Tandy Ladder board,breakout board,Nokia display
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=26&t=28193
Posts: 87
Joined: Mon Nov 26, 2012 8:48 pm
Location: Ipswich, Suffolk, England, UK.
by W5PKY » Thu Jan 03, 2013 8:15 am
I was looking at going with the UV-5R radio from Baofeng which I believe takes a 3.3V signal for PTT. Planning on going with a duplex setup (so two HT's).
Posts: 6
Joined: Wed Jan 02, 2013 10:12 pm
by jamiesk » Thu Jan 03, 2013 8:27 am
W5PKY wrote:I was looking at going with the UV-5R radio from Baofeng which I believe takes a 3.3V signal for PTT. Planning on going with a duplex setup (so two HT's).


I hope they will be on different channels ! Have you heard of feedback and bleed ? :o
Pi1 (Nov 2012 loft)= 1KW immersion controller for Solar panel
Pi2 (Jan 2013 living room)=Play thing
Pi3 (Feb 2013 mobile)= Play thing with Tandy Ladder board,breakout board,Nokia display
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=26&t=28193
Posts: 87
Joined: Mon Nov 26, 2012 8:48 pm
Location: Ipswich, Suffolk, England, UK.
by W5PKY » Fri Jan 04, 2013 1:44 am
jamiesk wrote:
W5PKY wrote:I was looking at going with the UV-5R radio from Baofeng which I believe takes a 3.3V signal for PTT. Planning on going with a duplex setup (so two HT's).


I hope they will be on different channels ! Have you heard of feedback and bleed ? :o


A repeater's input is always a different frequency than the output depends on the band though. For example, If a repeater broadcasts on 147.020MHz, it receives on 147.620MHz. The radios using it transmit on 147.620MHz and receive on 147.020MHz. On the 2m band in the US, the standard offset is 600kHz above the repeater's transmit frequency (or your receiving frequency) for frequencies above 147.000MHz, -600kHz for frequencies below 147.000MHz. Of course, most radios do these offsets automatically now so the operator never really has to think about it...it just works. Of course if it were a simplex repeater, then it would listen, record, transmit recorded info.
Posts: 6
Joined: Wed Jan 02, 2013 10:12 pm
by w1ve » Mon Oct 28, 2013 3:22 pm
I am trying to find the source to http://wiki.freeswitch.org/wiki/Fs_rpt.pl

FreeSwitch is no longer using SVN. Do you have it?

73,

Gerry W1VE
Posts: 1
Joined: Mon Oct 28, 2013 3:19 pm