Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Double click

  1. #1
    Newbie
    Join Date
    Jan 2006
    Posts
    12

    Double click

    Not the double click you're probably thinking... the relay circuit I made is doing it's job by shorting the laptop's power switch when the car is turned on (via ACC), but when the car cranks and shuts off all power to the sockets, it then brings power back after the car is started and the relay clicks over AGAIN, causing the recently resumed laptop to go BACK to standby....

    Don't know what to do... but here's the lil diagram I drew on MS Paint



    Current values: 4.7k uF cap, had 5k Ohm resistor, but changed it to 10k...

    So how do I get this thing to only actuate once in that short amount of time between turning to ACC and then after starting?

  2. #2
    FLAC W3bMa5t3r's Avatar
    Join Date
    Apr 2006
    Location
    Washington, DC
    Posts
    1,268
    Quote Originally Posted by Cube
    Not the double click you're probably thinking... the relay circuit I made is doing it's job by shorting the laptop's power switch when the car is turned on (via ACC), but when the car cranks and shuts off all power to the sockets, it then brings power back after the car is started and the relay clicks over AGAIN, causing the recently resumed laptop to go BACK to standby....

    Don't know what to do... but here's the lil diagram I drew on MS Paint



    Current values: 4.7k uF cap, had 5k Ohm resistor, but changed it to 10k...

    So how do I get this thing to only actuate once in that short amount of time between turning to ACC and then after starting?


    You have to add a second relay that is activated by something on the laptop, i.e usb, power on indciator lamp or something similar. When the laptop is on, it activates that relay and breaks the circuit of your current design and prevents it from sending the 'short' again. Here's the diagram.

    Oh, and I used a 1000uf electrolytic (sp?) capacitor. Gives about 1/2 second short. For the resistor I used was 10k ohms. Check out my sig :-)

    Also, the second relay, since it has to be powered(activated) off a lower voltage/current from the laptop like usb, you'll need a relay that also is activated by the lower voltage.

  3. #3
    Super Moderator. If my typing sucks it's probably because I'm driving.... turbocad6's Avatar
    Join Date
    Oct 2004
    Location
    NY
    Posts
    6,234
    trigger it from a real ign feed instead of the lighter, the lighter drops on crank, an ign wire won't.... problem solved......

  4. #4
    FLAC W3bMa5t3r's Avatar
    Join Date
    Apr 2006
    Location
    Washington, DC
    Posts
    1,268
    Quote Originally Posted by turbocad6
    trigger it from a real ign feed instead of the lighter, the lighter drops on crank, an ign wire won't.... problem solved......
    I agree, but I would still append the circuit with the extra relay. It's extra protection. Makes sure you NEVER send a second pulse that will effectly put your system into hibernation/standby (for whatever reason, i.e. kiling the car and starting it back up immediatly).

  5. #5
    Newbie
    Join Date
    Jan 2006
    Posts
    12
    Quote Originally Posted by W3bMa5t3r
    I agree, but I would still append the circuit with the extra relay. It's extra protection. Makes sure you NEVER send a second pulse that will effectly put your system into hibernation/standby (for whatever reason, i.e. kiling the car and starting it back up immediatly).
    I have a 1 minute delay from when there's no power till it goes to standby... so I'll be sure to keep it off for atleast a minute before I give IGN power again. I'll try to look through diagrams for a 12V IGN power source that's not interrupted... thanks.

  6. #6
    FLAC W3bMa5t3r's Avatar
    Join Date
    Apr 2006
    Location
    Washington, DC
    Posts
    1,268
    Well I have my system go into standby within a minute too, but the reason for the extra relay to protect you from the 'simulated press/auto power on', is so that if you loose power for just a few seconds and start the car back up, you won't send the 'simulated press/auto power on' again and put the system INTO standby since your system is probably still running/on. For instance; I drive a stick shift, if for whatever reason and it rarely happens, but it does, I stall out, and restart my car immediatly, I don't want the laptop being put into standby. So the extra relay protects against that. You may not need it, it is just a suggestion... FWIW

  7. #7
    Newbie
    Join Date
    Jan 2006
    Posts
    12
    What exactly did you use for the smaller signal telling the power switch not to short cuz it's already on?

    I'll look into this...

  8. #8
    FLAC W3bMa5t3r's Avatar
    Join Date
    Apr 2006
    Location
    Washington, DC
    Posts
    1,268
    Quote Originally Posted by Cube
    What exactly did you use for the smaller signal telling the power switch not to short cuz it's already on?

    I'll look into this...
    From what I've been told, cuz I've only built the same circuit as you so far, my next 3 days off (Starting tomorrow) I'll be building the one I've been talking about, but you can get it from the light indicator showing it's on, or from a serial/parallel, or maybe usb port but that depends on your system configuration (bios and hardware config in windows), as to whether or not they are turned off in standby/hibernate. If anyone else has anything to add to this, feel free to chime in.

  9. #9
    Super Moderator. If my typing sucks it's probably because I'm driving.... turbocad6's Avatar
    Join Date
    Oct 2004
    Location
    NY
    Posts
    6,234
    you can use a 5v relay triggered by a usb cable, just splice a usb cable, there's only 4 wires... one is black & one is red(just about always, can't hurt to confirm w/a meter)... these are your negative & positive 5v to trigger your relay, the other 2(usually green & white) are the usb data lines... this cable can still be used as a usb cable too, just reinsulate your splice & restore the shielding. use the relay to interupt the pulse to your switch.

    this is helpful if you even go from ign to accessory on most cars, goes past an off position inbetween... and a quick restart/whatever

    this is also an awsome way to control other things that you want to come on & remain on whenever the pc is on, like seperate usb hub power supplies, screens, external hardrives & external optical drives... some of these things powering down & then back up even for a second can screw with drivers & software & can even cause data loss or coruption on external drives....

    by using a 5v relay you can make sure when the pc is on, everything is on, & in this case, one relay like this can make sure the pc can't be shut down acidently or prematurely... if you do both use 2 seperate relays & a 5v relay can control a 12v source no problem...

  10. #10
    FLAC W3bMa5t3r's Avatar
    Join Date
    Apr 2006
    Location
    Washington, DC
    Posts
    1,268
    As in the other two post that I've replied to that were almost identical to this one, I'm posting the new and improved circuit schematic that includes all the functions / features that everyone has mentioned/asked about. Enjoy..



    Picture of the latest modules and accessories going out

    Enjoy. W3bMa5t3r

Page 1 of 2 12 LastLast

Similar Threads

  1. Double Din Case - No Monitor
    By thwack in forum Fabrication
    Replies: 8
    Last Post: 06-12-2006, 02:19 PM
  2. Drop-down menus don't work? Read this!
    By gnomad in forum Announcements
    Replies: 0
    Last Post: 10-14-2005, 02:15 PM
  3. how to stop double click search
    By Playerbeat in forum FrodoPlayer
    Replies: 1
    Last Post: 06-13-2005, 05:14 AM
  4. Double clicks treated as click on active button?
    By Arathranar in forum RR Bug Tracker
    Replies: 6
    Last Post: 04-16-2005, 05:02 PM
  5. Replies: 1
    Last Post: 11-22-2004, 11:48 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
  •