I feel like I saw a post once about this and now I can't find it.
I'd like to be able to control a home-made relay using CTS / RTS lines etc. by turning those lines on and off directly and using the +/- 12 volts generated...
Anyone have any idea how to do this? Anything in Python, c# or a program that accepts command line instructions would be fine. I just need to be able to turn those pins on and off!
Needs to work on Vista/Win7 though.
TIA for any ideas.
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
control serial port (com1) lines
- jitterjames
- Experienced User
- Posts: 677
- Joined: Thu Aug 13, 2009 4:36 pm
- Location: Quebec, Canada
- Contact:
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: control serial port (com1) lines
Hi,
The siomodule for Python should have support for that
Best r Walter
....and this link has some samples
http://bytes.com/topic/python/answers/1 ... ts-control
...or this might be even better
http://blog.makezine.com/archive/2005/0 ... _or_s.html
The siomodule for Python should have support for that
Best r Walter
....and this link has some samples
http://bytes.com/topic/python/answers/1 ... ts-control
...or this might be even better
http://blog.makezine.com/archive/2005/0 ... _or_s.html
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
- jitterjames
- Experienced User
- Posts: 677
- Joined: Thu Aug 13, 2009 4:36 pm
- Location: Quebec, Canada
- Contact:
Re: control serial port (com1) lines
I looked at your links and then took another look at the serial plugin that comes with EG. Then I decided to actually test my brilliant plan before wasting too much time on figuring out how to control the pins. It seems that the com port isn't capable of putting out enough amperage for what I want to do. As soon as I attach my device to a 12V pin the voltage drops.
Oh well, it would have been a great way to make a $20 wireless relay switch to control 2 appliances. I guess I would need some kind of an amped circuit but that stuff is way over my head.
thanks for you help.
Oh well, it would have been a great way to make a $20 wireless relay switch to control 2 appliances. I guess I would need some kind of an amped circuit but that stuff is way over my head.
thanks for you help.
