Sign in to follow this  
Followers 0
systems_glitch

Using the serial port handshake lines for output

1 post in this topic

Got tired of getting up when the timer went off to unplug my UV EPROM eraser:

http://www.glitchwrks.com/2016/03/21/eprom-timer

I built some optoisolated relay switched outlets a while ago, so I hooked one of them into the RTS line on a USB->RS-232 adapter. You can usually control the handshake lines from software, since they're used to tell the connected device if you're ready to send and/or receive information. I used the `serialport` Ruby gem to control it, super simple and available on most *NIX boxes. Don't know if it works under Windows, I would sorta think it does since the library is cross-platform.

 

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0