Results 1 to 9 of 9

Thread: Electronic Control

  1. #1

    Thread Starter
    Frenzied Member yrwyddfa's Avatar
    Join Date
    Aug 2001
    Location
    England
    Posts
    1,253

    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

  2. #2
    Fanatic Member namrekka's Avatar
    Join Date
    Feb 2005
    Location
    Netherlands
    Posts
    639

    Re: Electronic Control

    Well you can connect some opto couplers direct to a comm-port.

  3. #3
    PowerPoster eranga262154's Avatar
    Join Date
    Jun 2006
    Posts
    2,201

    Wink Re: Electronic Control

    Quote 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.

    Quote 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

  4. #4
    Fanatic Member -TPM-'s Avatar
    Join Date
    Jul 2005
    Posts
    850

    Re: Electronic Control

    Quote 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!!

  5. #5
    PowerPoster eranga262154's Avatar
    Join Date
    Jun 2006
    Posts
    2,201

    Wink Re: Electronic Control

    Quote 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

  6. #6
    Fanatic Member namrekka's Avatar
    Join Date
    Feb 2005
    Location
    Netherlands
    Posts
    639

    Re: Electronic Control

    Quote 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.

  7. #7
    Fanatic Member -TPM-'s Avatar
    Join Date
    Jul 2005
    Posts
    850

    Re: Electronic Control

    Quote 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!!

  8. #8
    Fanatic Member namrekka's Avatar
    Join Date
    Feb 2005
    Location
    Netherlands
    Posts
    639

    Re: Electronic Control

    Quote 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.

  9. #9
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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
  •  



Click Here to Expand Forum to Full Width