Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Software to close a relay at a given time via serial port?

10 Apr 2018   #1
Basil

Win 7 Pro 64 Bit
 
 
Software to close a relay at a given time via 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 time, activate a relay or semiconductor switch via a true serial port. Does anyone know of anything like that please? Ideally it would be able to open the relay at a later time. Just two time based changes of state would be adequate in a 24 hour period. Thanks. OS is 7 64 bit pro.


My System SpecsSystem Spec
.
10 Apr 2018   #2
samuria

win 8 32 bit
 
 

Do you have a serial port a lot don't have them now. What cmd do you need to send a simple task may do it
My System SpecsSystem Spec
10 Apr 2018   #3
Basil

Win 7 Pro 64 Bit
 
 

Quote   Quote: Originally Posted by samuria View Post
Do you have a serial port a lot don't have them now. What cmd do you need to send a simple task may do it
Yes, I have one on the motherboard and a card with five more true serial ports, thanks for the thought. At a given time I need an external signal to be be sent that, at the end results in a 50 Amp mains contactor turning on a big power supply. ideally I want to turn it off again at an accurate time a few hours later.
My System SpecsSystem Spec
.

10 Apr 2018   #4
samuria

win 8 32 bit
 
 

I was trying to establish what cmd you send is it something that canbedone with mode , type copy cmds
My System SpecsSystem Spec
11 Apr 2018   #5
Basil

Win 7 Pro 64 Bit
 
 

Sorry, I see what you mean now. I have no idea what command would need to be sent, something that drove one of the serial port wire states high or low I would guess. I am not sure if they handle enough current to drive a small low current relay direct, but if not i could use a semiconductor like a FET as a switch. Thanks again.
My System SpecsSystem Spec
11 Apr 2018   #6
Barman58

Windows 10 Pro x64 x3, Ubuntu
 
 

I used to be involved with this type of system years ago and the basic control system at that time was The programmable Logic Controller with a PC input to give visual feedback and a more sophisticated control ability. These PC systems were called SCADA, (System Control and Data Acquisition), and would allow programmable actions when Virtual switches on the PC screen were clicked Etc, but the PLC was the actual controller for the valves Motors and other actual plant.

There was a move around the turn of the century to move all of this control into the actual PC but I understand recently this has gone back to the Dual layer approach.

PC-Based Controls vs. PLC-Based Controls for Machine Automation | The Material Handling Blog

You do not state what the type of and also size of your project, if it is a small or large Industrial project then the Likes of Allen-Bradley and Siemens should be examined for options.

If this is a personal project then you should be able to purchase the required actuators and software from electrical hobbyist suppliers, ( I would have suggested Maplins but they are no more), so a trawl through ebay may be the best idea.

You can also look at the leisure remote controls for RM Cars & Boats for ideas, The higher end Model railways are a good source for PC control these days as a lot use complex PC signals/Points control How to Make a Computer Controlled Model Train Set
My System SpecsSystem Spec
12 Apr 2018   #7
Basil

Win 7 Pro 64 Bit
 
 

I have been told about this software from a fellow radio amateur here in the UK and i think it will do what I need (switch on and off a huge linear variable power supply for 60V @ 50 Amps)

http://www.g4jnt.com/DropF/simpletimer.zip

Thanks for the replies, hopefully I am now sorted :)
My System SpecsSystem Spec
12 Apr 2018   #8
Botard

Windows 7 guest, Debian host
 
 

If there's a signal flows through the serial port from that timer, the relay can activated. The next signal come out seems the only thing you need to sort out how to denergize the relay or do it manually.

My first thought for software was a cook timer can be downloaded from portable app but I realized you stated serial port not through audio sensor to activate the relay.
My System SpecsSystem Spec
12 Apr 2018   #9
Barman58

Windows 10 Pro x64 x3, Ubuntu
 
 

The major issue with a serial port is that is is designed to send an analogue waveform extreme low voltage signal or a pulsed digital signal alternative. Therefore you need to fire the signal from software running in the PC to activate a specialist relay setup to react to the specific signal.
My System SpecsSystem Spec
12 Apr 2018   #10
Basil

Win 7 Pro 64 Bit
 
 

I am intending using a 60 Amp solid state relay that should have a very low mA current draw and operates from 3V upwards, so two pins activated simultaneously which this software does, should close it reliably. 60A because we all know Chinese SSR's are grossly optimistic in their rating, plus it'll be on a decent quality large heat sink. Sound OK? Thanks.
My System SpecsSystem Spec
Reply

 Software to close a relay at a given time via serial port?




Thread Tools




Similar help and support threads
Thread Forum
Software to set serial port pin high or low at set intervals. Win 7 64
I want to set a (true, proper) serial port pin high (or low, doesn't matter) at given precisely timed regular intervals to enable an external device. It must be able to start and stop at sequenced set intervals with accuracy to match that of the PC clock. Does anything exist, my OS is Windows 7...
Software
PCI Serial Port?H
Hi, I just installed Windows 7 and updated all my drivers. I am missing two drivers, and I don't know what they are: PCI Serial Port PCI Simple Communication Controller What exactly are these? I own a Lenovo X200 Tablet. Any ideas where I can find the drivers for these two things? ...
Drivers
USB serial port help
So im going to try to explain this as well as i can. I am running a windows 7 and I have a radio I would like to program. The main issue is that the program needed to program it is for DOS. So I installed DOS 6.22 On my VMWare virtual machine (VMware Workstation 8.0.0) and ran the program. Now the...
Hardware & Devices
No serial port found when using hyperterminal software
Hi, I am using a hyperterminal software called Coolterm. I have used it in the past with success, however now when I run it I get an error "No serial ports found, Your system currently does not have any serial ports. Unless at least one serial port is added, this application will no tbe usable" ....
Software
SMTP Relay Software
Hi, Does anyone know of some software that will allow command line SMTP relay through gmail or something like that? I use postie.exe at work through our exchange system however i cant get it to work at home through gmail? Regards, JDobbsy1987
Browsers & Mail


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:09.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App