|
-
Nov 11th, 2006, 11:56 AM
#1
Thread Starter
Frenzied Member
Electronic Control
Hello chaps,
I'd like to control some electronics by using my PC. Does anyone know of any voltage controlling devices which have a programmable interface and attach to a PC?
I've found a Velleman Experimentation USB Board, but it's £30; and I wondered if I could do it more cheaply.
Any help or advice would be most appreciated.
Cheers,
Yr
"As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality." - Albert Einstein
It's turtles! And it's all the way down
-
Nov 13th, 2006, 04:45 AM
#2
Re: Electronic Control
Well you can connect some opto couplers direct to a comm-port.
-
Nov 13th, 2006, 08:26 AM
#3
PowerPoster
Re: Electronic Control
 Originally Posted by namrekka
Well you can connect some opto couplers direct to a comm-port.
Correct
I think to control voltages the best way to used com port. Check some documents on Computer Interfacing. You will find much work on com ports. And also it is easy to handle.
 Originally Posted by namrekka
comm-port.
I think you mean com port.Stand for Component Object Model. Not comm-port. Right
“victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha
-
Nov 13th, 2006, 09:30 AM
#4
Re: Electronic Control
 Originally Posted by eranga262154
...
I think you mean com port.Stand for Component Object Model. Not comm-port. Right
Actually com in com port is short for communications. Component Object Model would be a COM assembly
I've used the parallel port before, which I find easier for electronics as you have 12 I/O channels instead of 1 with serial (COM port and USB). http://www.logix4u.net/
TPM
Add yourself to the VBForums Frappr Map!!
-
Nov 13th, 2006, 10:31 AM
#5
PowerPoster
Re: Electronic Control
 Originally Posted by -TPM-
I've used the parallel port before, which I find easier for electronics as you have 12 I/O channels instead of 1 with serial (COM port and USB).
Correct
But I think its depend on your usages, isn't it. In some cases it is easy to used parallel port rather than com port.
“victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha
-
Nov 13th, 2006, 10:58 AM
#6
Re: Electronic Control
 Originally Posted by TPM
I've used the parallel port before, which I find easier for electronics as you have 12 I/O channels instead of 1 with serial (COM port and USB)
However more then 1 I/O is possible. This shows 4 inputs and 2 outputs:
http://www.vbforums.com/showthread.php?t=394943
For this you don't need external tools, only the "MSComm object". The advantage of using the serial port is that you can connect directly opto couplers ,relays and switches to this port. No transistors, ic's are needed. Also the port is protected for short circuits and ESD. The parallel port is more sensitive for this and needs extra electronics. The advantage is more I/O.
-
Nov 13th, 2006, 11:35 AM
#7
Re: Electronic Control
 Originally Posted by namrekka
However more then 1 I/O is possible. This shows 4 inputs and 2 outputs:
http://www.vbforums.com/showthread.php?t=394943
For this you don't need external tools, only the "MSComm object". The advantage of using the serial port is that you can connect directly opto couplers ,relays and switches to this port. No transistors, ic's are needed. Also the port is protected for short circuits and ESD. The parallel port is more sensitive for this and needs extra electronics. The advantage is more I/O.
That definatly isn't standard though. The parallel port uses a lower voltage (+5V vs +12V) but that doesn't mean you can't connect Relays and switches directly to it.
TPM
Add yourself to the VBForums Frappr Map!!
-
Nov 14th, 2006, 02:51 AM
#8
Re: Electronic Control
 Originally Posted by TPM
That definatly isn't standard though. The parallel port uses a lower voltage (+5V vs +12V) but that doesn't mean you can't connect Relays and switches directly to it.
Oh yes you can! You have 12V with 10mA. If you use a sensitive relay (they are polarized) you can connect it directly. Even a LED with a diode in series and no resister. A switch can be connected by using a output (for power) and a input.
-
Nov 14th, 2006, 03:10 AM
#9
Re: Electronic Control
To get any increase of voltage from a parallel or COM port you need to design an electronic driver circuit. NEVER ever directly connect your circuit or components to your motherboard ports as if you have a blown circuit or component you can seriously damage your entire mobo. By having a driver circuit you can proect your mobo and increase the voltage.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|