Results 1 to 6 of 6

Thread: Control 12v devices with your computer

  1. #1
    Newbie
    Join Date
    Mar 2005
    Location
    Middle of Kansas
    Posts
    36

    Control 12v devices with your computer

    i found this just messing around lookin for stuff for my car computer and was wondering how to go about hooking it up to my moon roof. http://www.dashwerks.net/dw_pvic.php i just want to know how to stop the power going to it.

  2. #2
    Variable Bitrate Saab9-5's Avatar
    Join Date
    Mar 2005
    Location
    Ponta Delgada, Azores
    Posts
    239
    The 8 blue cubes on the board are relays. They act just like switches. You wire the relay's contacts to the same connections as your moonroof switch. If you're trying to kill power to the switch, then you would need to find the power line going to the switch and splice the relay into that wire. Your profile doesn't say what kind of car you have so I can't give you more detail than that. If you want to read up on how relays work, visit: http://www.the12volt.com/relays/relays.asp.

  3. #3
    Newbie
    Join Date
    Mar 2005
    Location
    Middle of Kansas
    Posts
    36
    yeah i know the concept about realys but if i push my switch to my moonroof and i leave my finger on it when the window is fully shut you hear the motor of the moonroof still going. so i was wanting to know if using that would make that motor keep going cus of the constant power to the motor. or if you could tell me about a device that shuts the power off to the motor when it fully shuts. thanks sorry for lack of information (96 honda accord 2 dr)

  4. #4
    Maximum Bitrate KyleYankan's Avatar
    Join Date
    Mar 2005
    Posts
    491
    Usually they are configurable with time. You may be albe to define the motor to stay on for 5 seconds, or w/e amount u desire. the funny thing about that controlller is - oyu don't need a pic. 8 relays? Hook them up with a transistor to the 8 output pins! Voila. Much cheaper to build yhouw own. Probably $10-$15.

  5. #5
    Variable Bitrate Saab9-5's Avatar
    Join Date
    Mar 2005
    Location
    Ponta Delgada, Azores
    Posts
    239
    Since the relay is doing nothing more than duplicating your switch, then yeah, it will keep the power to the motor going while the slip gear just spins as long as the contacts are closed.

    KyleYankan's right about timing it. You could determine the maximum amount of time it takes to close from fully open. Since it would be hooked up to your CarPC, you could have it time the closure and shutoff when that time is reached. If you had the moonroof open only halfway, then the slipgear would spin for just a little bit.

    If you really want it to stop when it reaches fully closed, there are at least three ways I know to do it. The first is with a closure switch to cut power or signal the computer that the moonroof is fully closed, regardless of where it is in the timing cycle. The closure switch can be a mechanical microswitch, a magnet and reed switch, or an optical beambreaker.

    The second is you could measure the motor's load. The motor will sharply increase its current draw when it reaches the extent of its travel. This is a bit more complex. This method can also be used to stop the motor when something is blocking the moonroof from closing.

    The third is to measure the motor's speed with a circuit similar to: http://www.piclist.com/techref/au/ne...id/encoder.htm. When the pulses stop, the motor has reached the end of its travel.

    Hope this was helpful.

  6. #6
    Raw Wave wizardPC's Avatar
    Join Date
    Jun 2000
    Location
    Nashville
    Posts
    2,635
    I have that board, and I wrote some software to control it. Everything is for sale, so PM me if you want it.
    Debt as of 1/1/05: $34,354.48
    Debt as of July 4, 2007: $0.00 explanation
    I'M DEBT FREE!!
    I'm now a reasonably successful gunblogger.

Similar Threads

  1. Turn your computer on by remote control
    By PaulzY in forum General Hardware Discussion
    Replies: 22
    Last Post: 03-02-2005, 03:06 PM
  2. MPJA - MECI ASTEC DC-DC Converter
    By Luc in forum General Hardware Discussion
    Replies: 39
    Last Post: 11-22-2004, 10:31 PM
  3. computer in car help pleas
    By SFF in forum Newbie
    Replies: 39
    Last Post: 07-20-2004, 07:38 AM
  4. computer hooked up to windows?
    By eric in forum General Hardware Discussion
    Replies: 3
    Last Post: 07-26-2003, 12:25 AM
  5. Best way to control/ interface with computer
    By asif in forum General Hardware Discussion
    Replies: 2
    Last Post: 08-03-2000, 01:59 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •