Results 1 to 4 of 4

Thread: Any way to make a keyboard key pause an external device?

  1. #1

    Red face Any way to make a keyboard key pause an external device?

    Hello You Guys., I am updating a customer's heli sim. Premise: I need to find a way to map a key on the keyboard ( i.e. the "P" Key) which would pause the sim (that's easy of course) but also simultaneously cut the power to an external device. More in depth: The Sim has a timer/hour counter (powered by a molex connection from the pc) which must start counting when the sim is running - and pause counting when the sim is paused. So I need the 2 actions (Sim pause and timer counting) to work simultaneously. I was thinking to use a Double Pole double throw mini toggle switch (See picture). Wire one side to interrupt the power from reaching the counter, and the other side to a Leo bodnar card mapped to pause the sim via fsuipc. That should work in theory, what I am not sure is can the switch be on the on position and cause the sim to pause or can you only pause the sim with a momentary push button? or any other ideas would be very much appreciated. Thank you everyone.
    Marco.Name:  simcounter.jpg
Views: 146
Size:  57.9 KB
    Last edited by mgovernali; 06-10-2018 at 12:04 AM.

  2. #2

    Default

    Quote Originally Posted by mgovernali View Post
    Hello You Guys., I am updating a customer's heli sim. Premise: I need to find a way to map a key on the keyboard ( i.e. the "P" Key) which would pause the sim (that's easy of course) but also simultaneously cut the power to an external device. More in depth: The Sim has a timer/hour counter (powered by a molex connection from the pc) which must start counting when the sim is running - and pause counting when the sim is paused. So I need the 2 actions (Sim pause and timer counting) to work simultaneously. I was thinking to use a Double Pole double throw mini toggle switch (See picture). Wire one side to interrupt the power from reaching the counter, and the other side to a Leo bodnar card mapped to pause the sim via fsuipc. That should work in theory, what I am not sure is can the switch be on the on position and cause the sim to pause or can you only pause the sim with a momentary push button? or any other ideas would be very much appreciated. Thank you everyone.
    Marco.Name:  simcounter.jpg
Views: 146
Size:  57.9 KB
    What you're suggesting in your diagram should work ok. You would need to sort out the "pause when switch is on" , "pause off when switch is off" by assigning the switch release to off. You should be able to do this in fsx (assuming you are using fsx), if not via fsuipc/linda.

    Cheers
    Stinger

    Sent from my SM-G935F using Tapatalk

  3. #3

    Default

    When you press the pause key isn't that momentary? If it is you could do a relay/transistor combination wired to a push button. The push button would be double pull throw. One side for the pause and the other for the relay/transistor to kick the timer to pause.

    I think what you have there will in effect keep the P key pressed down.

    My forum project
    OOM errors? Read this.
    Pick an Amazon wish list, help a child out
    Why Windows 10 suxx
    From RLG, Fly heading 053, intercept 315 DVV, look for the orange glow of a SAM.

  4. Default

    Something like this maybe.
    https://denkovi.com/usb-eight-channe...SAAEgIp2fD_BwE
    A relais connected to Usb, controllable with software.

    Relais closing acts as switch that closes circuit of (battery___/ ___timer).

    ( _/ _ =relais switch operated remotely from pc.)

    write a program to assign (keyboard-) command to the relais open/close command.

    Then use fsuipc to make 'p' key fire both the 'pause sim' and the 'close relais' commands.


    Something like this image:
    ------------------------------------------------------------------------------------------
    Name:  Clock Relais.png
Views: 49
Size:  15.4 KB
    Last edited by il88pp; 06-18-2018 at 11:03 AM.

Similar Threads

  1. Typing with external device
    By stinger2k2 in forum Cockpit Builders
    Replies: 0
    Last Post: 02-22-2018, 02:31 PM
  2. Control External Device from within .gau file?
    By newmav in forum Panel & Gauge Design
    Replies: 1
    Last Post: 06-22-2006, 01:21 PM
  3. Any way to change the sound output device in FS2K4?
    By CarlosTheTackle in forum FS2004
    Replies: 1
    Last Post: 07-02-2005, 11:21 PM
  4. ALL PRODUCTS: LOST KEY / GETTING A NEW KEY / REACTIVATING YOUR KEY
    By Lou_Betti in forum FAQ - Frequently Asked Questions - DreamFleet General Aviation & 737-400 Products
    Replies: 0
    Last Post: 08-22-2003, 01:00 PM
  5. Is there any way to make taxi ways one way??
    By HunkOfBurninLove in forum FS2002
    Replies: 9
    Last Post: 12-14-2002, 04:26 PM

Posting Permissions

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