Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Circuit Help  (Read 893 times)

0 Members and 1 Guest are viewing this topic.

Trimoor

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 596
  • Last login:November 18, 2006, 09:01:46 pm
  • I like shooting out of helicopters.
    • Trimoor
Circuit Help
« on: October 13, 2004, 03:05:53 am »
I would like to build a circuit so that when a SPST toggle switch is closed, it will illuminate an led, and hold down a button on a keyboard encoder.

The KE is like any other, pull the lead to ground to trigger a keypress.

I think this could be done with one or two transistors, but I can never get them figured out.
No relays please! (They suck way too much power.)

Thanks all.

JustMichael

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1438
  • Last login:September 27, 2015, 01:19:40 am
  • Mmmmm!! Cheesecake!!
Re:Circuit Help
« Reply #1 on: October 13, 2004, 06:12:58 am »
Here is a really simple diagram.  The wavy line is a resistor to fit the led.   This is with the understanding that the encoder expects the input to be grounded when the button is pressed.
« Last Edit: October 13, 2004, 06:16:21 am by JustMichael »

danny_galaga

  • Grand high prophet of the holy noodle.
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8525
  • Last login:Today at 04:13:52 am
  • because the mail never stops
    • dans cocktail lounge
Re:Circuit Help
« Reply #2 on: October 13, 2004, 06:22:02 am »
someone else may correct me, but i think just putting a small capacitor inline with the switch will give it a momentary 'on'. Peale will have more info there as he was using a capacitor for his start-up switch which also needed a momentary 'on'. see the sketch. the LED part of my sketch im not 100% sure about since i don't know how much current a KE can draw, even though the LED (which may be drawn back-to-front in my sketch) draws hardly anything.
i'm sure someone else can verify whether this will be ok. if not, then a double pole, single throw toggle will do the trick by keeping the LED circuit completely seperate from the key circuit. this keeps the complexity of the whole thing nice and simple (",)


ROUGHING UP THE SUSPECT SINCE 1981

danny_galaga

  • Grand high prophet of the holy noodle.
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8525
  • Last login:Today at 04:13:52 am
  • because the mail never stops
    • dans cocktail lounge
Re:Circuit Help
« Reply #3 on: October 13, 2004, 06:25:37 am »
hehe. just noticed that justmichael drew the same thing!! i assumed you wanted a momentary 'on' and he has assumed you want a hard 'on' (excuse the pun  :o).

the only difference is the capacitor for momentary on. you're choice!


ROUGHING UP THE SUSPECT SINCE 1981

Trimoor

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 596
  • Last login:November 18, 2006, 09:01:46 pm
  • I like shooting out of helicopters.
    • Trimoor
Re:Circuit Help
« Reply #4 on: October 13, 2004, 07:09:09 pm »
Thanks, I'll probably use JustMichael's version.
I don't need a momentary press.