Return-Path: Received: from post.thorcom.com (post.thorcom.com [195.171.43.25]) by klubnl.pl (8.14.4/8.14.4/Debian-8+deb8u2) with ESMTP id w3C931W8002075 for ; Thu, 12 Apr 2018 11:03:03 +0200 Received: from majordom by post.thorcom.com with local (Exim 4.14) id 1f6Y2o-0002PT-Qa for rs_out_1@blacksheep.org; Thu, 12 Apr 2018 09:57:26 +0100 Received: from [195.171.43.32] (helo=relay1.thorcom.net) by post.thorcom.com with esmtp (Exim 4.14) id 1f6Y2n-0002PK-JW for rsgb_lf_group@blacksheep.org; Thu, 12 Apr 2018 09:57:25 +0100 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]) by relay1.thorcom.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1f6Y2j-0002ig-KV for rsgb_lf_group@blacksheep.org; Thu, 12 Apr 2018 09:57:24 +0100 Received: by mail-wm0-x235.google.com with SMTP id b127so9902480wmf.5 for ; Thu, 12 Apr 2018 01:57:21 -0700 (PDT) X-DKIM-Result: Domain=gmail.com Result=Good and Known Domain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=k5P95lQYq5uSRra8lY3qd6cDQm36rzpID10Ri2qnPgc=; b=MQTtIq9kAXk95/P6JwhJVYDfXWi1B0tqIFMdvO+ZhL4fvdRUalj7+B0CF5XdwU5UJB AAmzrgKBCGinE800SZjuT1JiJqxddz0cqg2D19xST2VHiUCk2GBhl5th9A747x1NUPMM +vWwCu/Q+tCIUgN2W5CONRYnLwT7/om2ydbZ3mMjSR7Ib2Mt99J6056+NiJ39rppawU/ pmah3sbC/bLyxN3pNdtALvN7U41ZcdDTJk+yEomiSqka087dWKbpXXKQ4BvVd3QJPKJV FHKBXOqBNNd9tiDPXbuI31kz+/uvnSrNdrtv30ituLCkSxqvpZFV5SXi7pbM+r+sSuwL 2RkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=k5P95lQYq5uSRra8lY3qd6cDQm36rzpID10Ri2qnPgc=; b=fK8TN9Qh0wvI77pGzmDSKmUmiTKhxGqXFbr6W9cuqlexFO+3ZGA4M+yXhF0yw/iY7h bbQQ876niXHAg/fi4c+Mz5/mSuWzlhBfH7C/moMDPWe46jT6wL3F9vZL7Z4Xeu8TRy9u G5ZSt5+otSsnqmG6cKGekHMqcw8APFrfibYcSV01HyxKSYTbjeY+aMrUAujNbERUI5Ez +9IzA6rZVm41yBjB4rqz2n/WRnuEKQC1u5Y6EpHzMAHlAp31BVEF6rmRKr9GBRScdc0D 53aRE/GPRcanpySl5p+54B0RkTzUJ/Ov/KC4osq2ZBjxVYmUYjP9L4pxSHTpEiwnb9v2 gBjA== X-Gm-Message-State: ALQs6tA11E9XGUKQqX7C9Uo63d6uZuFXhFGbyO42s2As1z1ipLnVK1DF aPGiY37LsBaWdtwSF/h3hBoqnxiodCv5j+vnuRpZ1A== X-Google-Smtp-Source: AIpwx49fGdL0CjBVZ6PiaAkjoQP2C1BLyGZtuVaYH6qzeSbKaL6gU3/P71nLiBZt970fiSNyP1IdQrf161YCyqM7daY= X-Received: by 10.80.144.120 with SMTP id z53mr13789233edz.163.1523523440588; Thu, 12 Apr 2018 01:57:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.154.195 with HTTP; Thu, 12 Apr 2018 01:57:20 -0700 (PDT) In-Reply-To: <799252009.20180412092115@gmail.com> References: <1215299641.20180411111636@gmail.com> <799252009.20180412092115@gmail.com> From: Andy Talbot Date: Thu, 12 Apr 2018 09:57:20 +0100 Message-ID: To: LineOne X-Spam-Score: 1.0 (+) X-Spam-Report: Spam detection software, running on the system "relay1.thorcom.net", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I used to have quite a few of an older type of those - given to me surplus. An RS232 drive signal will drive one quite happily - they are designed to be driven from logic signals. The 25A rating would be enough for your PSU, I think mine were rated at a bit more. [...] Content analysis details: (1.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (andy.g4jnt[at]gmail.com) 0.0 HTML_MESSAGE BODY: HTML included in message 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid 1.0 FREEMAIL_REPLY From and body contain different freemails X-Scan-Signature: 4998b3eda037fec4e885bebc9a2db934 Subject: Re: LF: Windows software to drive a relay at a given time? Content-Type: multipart/alternative; boundary="94eb2c0ded167bbb170569a2f1e3" X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on post.thorcom.com X-Spam-Level: X-Spam-Status: No, hits=0.5 required=5.0 tests=HTML_20_30,HTML_MESSAGE autolearn=no version=2.63 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 --94eb2c0ded167bbb170569a2f1e3 Content-Type: text/plain; charset="UTF-8" I used to have quite a few of an older type of those - given to me surplus. An RS232 drive signal will drive one quite happily - they are designed to be driven from logic signals. The 25A rating would be enough for your PSU, I think mine were rated at a bit more. Andy G4JNT On 12 April 2018 at 09:21, Chris Wilson wrote: > > > Hello Peter, > > Neat, and thank you, but clicking on Andy's exe file is temptingly > simple to a PC ignoramous like myself ;) I wonder if a serial port > would drive something like this directly, or would a big input surge > be likely to kill it? > > http://uk.farnell.com/opto-22/240d25/relay-solid-state-dc- > 25a-280vac/dp/1839015 > > Wednesday, April 11, 2018, 6:03:07 PM, you wrote: > > > Hi Chris, > > > On 11.04.2018 12:16, you wrote: > >> ... > >> Software to close a relay at a given time, perhaps via the serial port? > >> ... > > > Seven lines of "Python" and a relay circuit connected to com1, RTS-pin: > > > # import libraries: > > import serial # see https://pythonhosted.org/pyserial/ > > import time # needed for time delay ("sleep()") > > > # Create a connection object to com1: > > com = serial.Serial('com1', baudrate=9600, bytesize=serial.EIGHTBITS, > > parity=serial.PARITY_NONE, stopbits=serial.STOPBITS_ONE, timeout=1, > > xonxoff=0, rtscts=0 ) > > > com.setRTS(True) # CLICK! > > > time.sleep(60) # Wait 60 sec. or whatever > > > com.setRTS(False) # CLACK! > > > com.close() > > # END > > > Use the standard system tool "Windows Task Scheduler" to run it at a > given > > time. I did not check it on Windows, but on Linux (device name changed > and > > using cron) it works driving an old rtty-relay ("Kleinpolrelais") from > > Siemens directly. > > > Peter, df3lp > > > > > -- > Best regards, > Chris mailto:dead.fets@gmail.com > > > --94eb2c0ded167bbb170569a2f1e3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I used to have quite a few of an older type of those - giv= en to me surplus.=C2=A0 =C2=A0An RS232 drive signal will drive one quite ha= ppily - they are designed to be driven from logic signals.
The 25A rati= ng would be enough for your PSU, I think mine were rated at a bit more.

Andy=C2=A0 G4JNT
<= br>
On 12 April 2018 at 09:21, Chris Wilson <d= ead.fets@gmail.com> wrote:
=

Hello Peter,

Neat, and thank you, but clicking on Andy's exe file is temptingly
simple to a PC ignoramous like myself ;) I wonder if a serial port
would drive something like this directly, or would a big input surge
be likely to kill it?

http://uk.farnell.com= /opto-22/240d25/relay-solid-state-dc-25a-280vac/dp/1839015

--94eb2c0ded167bbb170569a2f1e3--