Return-Path: X-Spam-DCC: paranoid 1290; Body=2 Fuz1=2 Fuz2=2 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on lipkowski.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,DNS_FROM_AHBL_RHSBL, FORGED_RCVD_HELO,RATWARE_GECKO_BUILD autolearn=no version=3.1.3 Received: from post.thorcom.com (post.thorcom.com [195.171.43.25]) by paranoid.lipkowski.org (8.13.7/8.13.7) with ESMTP id tASAsQDS028720 for ; Sat, 28 Nov 2015 11:54:26 +0100 Received: from majordom by post.thorcom.com with local (Exim 4.14) id 1a2d1w-0001fj-Qt for rs_out_1@blacksheep.org; Sat, 28 Nov 2015 10:47:00 +0000 Received: from [195.171.43.32] (helo=relay1.thorcom.net) by post.thorcom.com with esmtp (Exim 4.14) id 1a2d1w-0001fa-Ij for rsgb_lf_group@blacksheep.org; Sat, 28 Nov 2015 10:47:00 +0000 Received: from parrot.netcom.co.uk ([217.72.171.49]) by relay1.thorcom.net with esmtp (Exim 4.86) (envelope-from ) id 1a2d0s-0007U1-Bq for rsgb_lf_group@blacksheep.org; Sat, 28 Nov 2015 10:46:59 +0000 Received: from sb.abelian.org (i-194-106-52-83.freedom2surf.net [194.106.52.83]) by parrot.netcom.co.uk (Postfix) with ESMTP id 3925D3273EB for ; Sat, 28 Nov 2015 10:36:46 +0000 (GMT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by sb.abelian.org (Postfix) with ESMTP id D269428A0142 for ; Sat, 28 Nov 2015 10:45:37 +0000 (UTC) Message-ID: <565985D1.1010503@abelian.org> Date: Sat, 28 Nov 2015 10:45:37 +0000 From: Paul Nicholson User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: rsgb_lf_group@blacksheep.org X-Scan-Signature: 9ca91679b330d65f05d707c2d2b164fe Subject: LF: EbNaut keyer Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Scanned: Yes Sender: owner-rsgb_lf_group@blacksheep.org Precedence: bulk Reply-To: rsgb_lf_group@blacksheep.org X-Listname: rsgb_lf_group X-SA-Exim-Rcpt-To: rs_out_1@blacksheep.org X-SA-Exim-Scanned: No; SAEximRunCond expanded to false X-Scanned-By: MIMEDefang 2.56 on 10.1.3.10 Status: RO X-Status: X-Keywords: X-UID: 5381 This morning I threw together a keyer program for Linux PCs and Raspberry Pi http://abelian.org/ebnaut/ebkey.c On the RPi, install ntpd with (you might need to prefix these commands with sudo) apt-get install ntp Check it is working using ntpq -p which displays the time servers the daemon is using. After a minute or two, at least one should show a '*' in the left column. Download ebnaut.c and ebkey.c and compile with gcc -std=gnu99 -O3 -o /usr/local/bin/ebnaut -Wall \ ebnaut.c -lm -lpthread gcc -Wall -o /usr/local/bin/ebkey ebkey.c Run in test mode to toggle GPIO output 7 (pin 14) with one second period ebkey -t -S1 -m rp,gpio=7 -v A voltmeter between pins 13 (ground) and 14 (GPIO7) should show alternating zero and 3.3V. Send a message with echo 'test message' | ebnaut -et -N12 -p8K19A | ebkey -S0.1 -m rp,gpio=7 -T +60 -r 300 -vv The -T +60 tells it to start at the next whole UTC minute and -r 300 makes it repeat on 5 minute slots. On a PC it uses a serial port DTR and RTS, eg echo 'test message' | ebnaut -et -N12 -p8K19A | ebkey -S0.1 -m dtr+rts,dev=/dev/ttyS0 -T +60 -r 300 -vv For summary of options ebkey -? See https://www.raspberrypi.org/documentation/usage/gpio/ for GPIO pin connections. -- Paul Nicholson --