Chris Wilson Posted February 20, 2017 Share Posted February 20, 2017 I want to set a (true, proper) serial port pin high (or low, doesn't matter) at given precise times to enable an external device. It must be able to start and stop at sequenced set intervals with accuracy to match the PC clock. Does anything exist, my OS is Windows 7 Pro 64 bit. Thanks Quote Link to comment Share on other sites More sharing options...
monkey3 Posted February 21, 2017 Share Posted February 21, 2017 It would be fairly easy to write a program to do that. How's your c# programming? Quote Link to comment Share on other sites More sharing options...
Chris Wilson Posted February 21, 2017 Author Share Posted February 21, 2017 It would be fairly easy to write a program to do that. How's your c# programming? Err, none existent Quote Link to comment Share on other sites More sharing options...
Annabella Posted February 21, 2017 Share Posted February 21, 2017 Any of this help: http://www.iitk.ac.in/LDP/HOWTO/Serial-HOWTO-19.html http://www.windmill.co.uk/rs232-communication.html http://www.hw-group.com/products/hercules/index_en.html NB always scan anything you download! Quote Link to comment Share on other sites More sharing options...
Chris Wilson Posted February 21, 2017 Author Share Posted February 21, 2017 Actually signals via the parallel port would be fine too. I'll take a look at those links, thank you! Quote Link to comment Share on other sites More sharing options...
monkey3 Posted February 21, 2017 Share Posted February 21, 2017 ok, I'll see what I can knock up in an hour to see if it's useful. Much more than that and I'll have to put it down for when I have more time... *do let me know if you find something else and I'll gladly back away. Let me know if none of that works out and I'll see what I can knock up. Quote Link to comment Share on other sites More sharing options...
Chris Wilson Posted February 21, 2017 Author Share Posted February 21, 2017 What I specifically need is say one second AFTER an even 2 minutes period starts it sends a high or low signal to a pin. Then 118 seconds later the pin changes state. This needs to sequence again after a programmable rest period. I don't want much, do I ? Thanks for your interest, it's very good of you!! Quote Link to comment Share on other sites More sharing options...
Wez Posted February 21, 2017 Share Posted February 21, 2017 What I specifically need is say one second AFTER an even 2 minutes period starts it sends a high or low signal to a pin. Then 118 seconds later the pin changes state. This needs to sequence again after a programmable rest period. I don't want much, do I ? Thanks for your interest, it's very good of you!! I would do that with a little microcontroller, could be independent of PC or if feedback is needed to PC then a USB to TTL adapter could be used. For a cheap all in one MC solution you could use an Arduino Nano 5v which are less than £4 on eBay Quote Link to comment Share on other sites More sharing options...
monkey3 Posted February 22, 2017 Share Posted February 22, 2017 What I specifically need is say one second AFTER an even 2 minutes period starts it sends a high or low signal to a pin. Then 118 seconds later the pin changes state. This needs to sequence again after a programmable rest period. I don't want much, do I ? Thanks for your interest, it's very good of you!! No worries, I can't resist a challenge. email on it's way... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.