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: Pushbutton to LED - noob wiring question  (Read 971 times)

0 Members and 1 Guest are viewing this topic.

iammortos

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:February 08, 2010, 07:26:55 pm
Pushbutton to LED - noob wiring question
« on: August 18, 2009, 07:00:52 pm »
Hi guys,

I was thinking of wiring a led to the "coin" buttons on my control panel

most of you will know what this means here i would think, but heres a basic drawing of what i want to happen

button goes to the xarcade system, has ground and power wires

for example:
red - power
blue - ground

i want to pop a LED in there somewhere sowhen the switch is pressed (completed) the LED comes on

anyone have a basic answer for this? i can draw up a diagram in paint if need be :)

thanks alot

mlalena

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 129
  • Last login:June 12, 2021, 12:31:44 pm
Re: Pushbutton to LED - noob wiring question
« Reply #1 on: August 18, 2009, 08:32:58 pm »
I don't think this is a good idea.

Option 1) Assuming the XArcade circuit to each button was 5V. Then you could wire your LED (probably around 2V) and a resistor (to drop the 5V to 2V) in series with the button. Problem here is that the LED is drawing current and resistor is adding resistance to the circuit. The XArcade is not expecting a power draw or resistance.

Option 2) You wire the coil of a relay in series with the button. When the button is pressed, you complete the circuit on the relay. You can then wire the 5V power from USB or a hard drive connector in the case through the relay to a resistor and a LED. Again, the coil in the relay adds some resistance, although a solid state relay shouldn't.

Option 3) Purchase a special button that has a separate built in light with separate 5/12V power lines that lights up when lit. This is the only method I would recommend. Ex: http://www.allelectronics.com/make-a-store/item/LPS-4A/12V-LIGHTED-PUSHBUTTON-AMBER-1-SQUARE/-/1.html

Also, if you were to do this, I don't think you would be happy with the result. A button that was lit up only when your finger was on it??? I think an always lit button would look better.

iammortos

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:February 08, 2010, 07:26:55 pm
Re: Pushbutton to LED - noob wiring question
« Reply #2 on: August 18, 2009, 10:11:18 pm »
thanks for the info, will have to think about this another way :)

The reason for thiswas to have a "eye" light up each time the coin button was pressed, but im sure i can find anotehr way of doing this

Cheers :)

might use the hdd activity led ;)