[arm-allstar] arm-allstar Digest, Vol 17, Issue 26
Bryan D. Boyle
bdboyle at bdboyle.com
Fri Oct 30 18:58:06 EST 2015
On 10/30/2015 1:00 PM, arm-allstar-request at hamvoip.org wrote:
> Message: 1
> Date: Thu, 29 Oct 2015 10:18:55 -0700
> From: Jay Freeman <wt9s at me.com>
> To: "arm-allstar at hamvoip.org" <arm-allstar at hamvoip.org>
> Subject: [arm-allstar] GPIO control of fan
> Message-ID: <0NWZ00MIXS3JN500 at st11p00im-asmtp001.me.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi folks,
>
> I?ve been running my repeater here with an Arcom RC210 controller for years. I have the repeater, an IRLP computer, and the Allstar node (now on a Pi) each connected to a port on the controller. The controller currently switches on a fan for 60 seconds whenever PTT goes active. I am thinking of ditching the IRLP and the Arcom and running my repeater with the Allstar node as the controller. I?m looking for some pointers on how to control the fan with either the URI GPIO, or the USB GPIO described in the How-Tos. I guess using the URI would be simpler.
>
> Thanks,
You won't be sorry to dump the 210. Asterisk is a lot more configurable
and flexible.
Kyle (K0KN) has an explanation of his txfan script that I have running;
there's a diagram of an interface (1 transistor, 1 diode, 1 resistor,
and a relay) on the DMK site that isolates the uri from the controlled
fan. Lots of ways of doing it...I've been using his script for over 3
years with the DMK suggested interface with 0 problems...the link doug
posted was a mod to that, but can work just as well. Basically, you run
the script in the initial stand-up of the OS, and it checks for a flag
that gets set in the /tmp directory...using the event function of
allstar, when the tx keys up, it sets the flag, and the script counts
off 20 seconds, starts the fan...and keeps it running until some
determined time of no key-ups (I use 2 minutes).
Some may think relay control is old skool. But, nothing like hearing
the snap of it closing to let you know that it's actually engaged.
Since I have 3 repeaters in the same location, all tied together through
my hub, it runs fans on all three tx radios, as well as the power supply
heat sink. Been running that way, as I said, for 3 years.
HTH
Bryan WB0YLE
Morrisville PA
More information about the arm-allstar
mailing list