Results 1 to 11 of 11

Thread: How to control things using vb.net?

  1. #1

    Thread Starter
    Addicted Member tgf-47's Avatar
    Join Date
    Feb 2010
    Location
    CapeTown, South Africa -34.01244,18.337415
    Posts
    209

    Question How to control things using vb.net?

    I would like to know how to do this, if it is possible and also what I would need.

    I want to control "appliances" and other things around the house from my computer (using a vb.net application that i would develop)

    Lets say I want to control the motor on my front gate to open or close the gate.

    What would I need to do this?

  2. #2
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: How to control things using vb.net?

    You would need relays (http://en.wikipedia.org/wiki/Relay) and a circuitboard to interface them with the PC via RS232, USB or in another way. Check this out http://www.controlanything.com/Merch...ode=PROTOTYPES and other items on their website.

  3. #3

    Thread Starter
    Addicted Member tgf-47's Avatar
    Join Date
    Feb 2010
    Location
    CapeTown, South Africa -34.01244,18.337415
    Posts
    209

    Re: How to control things using vb.net?

    If I use the wireless relays, will I still need a circuirboard?

  4. #4
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: How to control things using vb.net?

    A relay has two power inputs; low control voltage/current and a higher voltage/current. So you need to run power to the relay, power out of the relay, and you would not need to run control wires to the relay if you go wireless. You can go completely wireless with a tesla coil, but that will only work at close range and the power requirements are impractical unless you are generating your own electricity.

    Like baja_yu said, you need SOMETHING on the PC side ( a card is a circuit board so is electronics in an enclosure; you just can't see it) and you need a relay with wires going to it. You won't need a circuit board for that if you just want wires running to a relay mounted somewhere (you will mount it, won't you?) but a circuit board (or a proto board) will make the job neater.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

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

    Re: How to control things using vb.net?

    For home domotica you can make a choise to use the X10 protocoll. Certain devices are ready to use for this purpose. Look at this link for a explaination:
    http://en.wikipedia.org/wiki/X10_(industry_standard)

  6. #6

    Thread Starter
    Addicted Member tgf-47's Avatar
    Join Date
    Feb 2010
    Location
    CapeTown, South Africa -34.01244,18.337415
    Posts
    209

    Re: How to control things using vb.net?

    My idea of the whole system is to interrupt the electricity flow to something, lets say a lamp, with the relay. So i'm thinking that the relay would be in the place where the switch would be on a bedlamp.

    I want to connect to the wireless or bluetooth relay with my laptop (using my wireless or bluetooth on the laptop) and controll the relay (lamp) by doing this.

    How far am I off-track?

  7. #7
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: How to control things using vb.net?

    All you need then is is a wireless relay on the device. A control transmitter connected to your laptop with an API.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

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

    Re: How to control things using vb.net?

    An other link of using VB and X10

    http://blogs.msdn.com/b/coding4fun/a...31/916464.aspx

  9. #9

    Thread Starter
    Addicted Member tgf-47's Avatar
    Join Date
    Feb 2010
    Location
    CapeTown, South Africa -34.01244,18.337415
    Posts
    209

    Re: How to control things using vb.net?

    I found the link that baja_yu gave me to be very usefull. They have videos explaining their product range, so I'm gona go with that.
    http://www.controlanything.com

  10. #10
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: How to control things using vb.net?

    X-10 is a good idea nam. There are rare cases when interference can cause problems since it uses the same wires as line voltages, like sometimes motors starting and stopping can cause problems. But who hasn't had wireless problems?
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  11. #11

    Thread Starter
    Addicted Member tgf-47's Avatar
    Join Date
    Feb 2010
    Location
    CapeTown, South Africa -34.01244,18.337415
    Posts
    209

    Re: How to control things using vb.net?

    Well I see the x-10 is a lot cheaper. I'm gona try find more info on that. Thanx

Tags for this Thread

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