Hello LF'ers Software to close a relay at a given time, perhaps via the serial port? I am looking for some simple software to enable, at a given time to within a second or so, derived from the PC tim
Hi Chris, Use SpectrumLab! It offers the requested feature. 73, Stefan Am 11.04.2018 12:16, schrieb Chris Wilson: Hello LF'ers Software to close a relay at a given time, perhaps via the serial port?
Try this http://www.g4jnt.com/DropF/simpletimer.zip It lets you abort the on time using the [esc] key Source code is in there as well All in PowerBasic, command line compiler version (By far the nic
Just in case it matters, I initially test for all valid COM ports by opening and closing each in turn, then testing for an error. If that causes problems to anything on another port that has not
Hello Andy, Thanks for that, just tried it via Remote Desktop and it appears to open port 6 as requested fine. But at the designated OFF time the whole programme appears to close, is that as expected
Yes, if you run it from a windows click, the whole thiing will close when it goes off and completes. Were you to run it from a command prompt, it would then merely say "OFF" and sit there looking unl
Hello Chris, just a warning: the COM port outputs tend to be unstable (some consecutive high/low sequences) during booting. Taking the high inrush current into account: the PSU (or mains fuse) may di
Hello Rik / Andy, Thanks for the warning, will ensure the PC is up and running before the PSU is powered! Andy, as you said it would, the DOS box remains once it's started correctly within a DOS box.
Or, if you prefer C, http://www.smorgasbordet.com/pellesc/ 73 Johan SM6LKM Andy Talbot wrote: All in PowerBasic, command line compiler version (By far the nicest way to programme simple things that d
There is now a prettier version at http://www.g4jnt.com/DropF/simpletimer.zip Same functionality, except it also allows HH:MM as well as HH:MM:SS Andy On 11 April 2018 at 13:24, Chris Wilson <dead.f
Hi Chris, Seven lines of "Python" and a relay circuit connected to com1, RTS-pin: import serial # see https://pythonhosted.org/pyserial/ import time # needed for time delay ("sleep()") com = serial.S
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
Hello Andy, Many thanks for that, very pretty! I just need to devise the switch itself now, the PSU has a dual pole mains switch with a magnetic breaker in built. Do you think I am OK leaving that on
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 wo
Hi all Just my contribution to rise a little the "relay control rush" ;-) There is something better than COM ports. Quite cheap and already including a number of relays eBay and other sites have many
Hello Andy, OK, sounds promising, thanks for that. Before splashing out on a new one I'll have a scout around Ebay for something similar at a "bargain price", much appreciated! -- Best regards, Chris
I'd lay quite good odds on those control boards having USB COM ports chips. They could use the USB directly in HID mode, but then driver software has to use all the USB interfacing drivers etc. Wh
Hello Andy, I have built a heat sinked SSR to control my big linear PSU on / OFF It works fine with anything over about 2.1V DC on the input pins and switches the psu with full load with no excess he
Have you checked it with any of your other COM ports? Check DTR and RTS both toggle appropriately Andy www.g4jnt.com On 26 April 2018 at 20:29, Chris Wilson <[email protected]> wrote: Hello Andy,