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: LED wiring question  (Read 1130 times)

0 Members and 1 Guest are viewing this topic.

mccoy178

  • It's hard to work with a straight jacket on
  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3127
  • Last login:September 03, 2021, 10:23:42 am
  • Go Bucks!
LED wiring question
« on: December 06, 2005, 09:54:11 am »
Im building two CP's at once, and as I was soldering the sixty resistors to the sixty leds, I began to wonder; do I have to use shrink tubing or something similar?  Is it likely I would have a short or get a shock?  I just wondered what others thought on the matter.  If I have to shrink tube all those led's, I just want to know it's a worthwile effort.

Ed_McCarron

  • Nothing worse than Picard issuing the self destruct order and the next thing you know it your apartment blows up.
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2404
  • Last login:June 20, 2022, 02:33:39 pm
  • Get your mind out of the gutter. THIS is a dongle.
Re: LED wiring question
« Reply #1 on: December 06, 2005, 02:52:26 pm »
"do I have to use shrink tubing or something similar?"

It's not a bad idea.  The leads on the leds are pretty stiff - you may be able to get away with just bending them out to prevent touching leads but its one of those problems that will get you eventually.  I've even bent 'em apart and covered in hot-glue.

"Is it likely I would have a short or get a shock?"

Not really enough voltage to shock you (unless you are really trying - lick it and you are on your own) but it'll short every chance it gets and risk damaging something expensive.
But wasn't it fun to think you won the lottery, just for a second there???

tetsujin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 222
  • Last login:April 10, 2007, 05:51:25 pm
  • My controls will have programmable button labels.
    • My Homepage
Re: LED wiring question
« Reply #2 on: December 06, 2005, 05:22:33 pm »
I would do one or two things differently -

First, rather than soldering to that many LEDs I would probably prefer to solder to snappable pin sockets, and then plug the LEDs into those.  That way if I screw up a polarity (it happens!) or whatever, I can swap the LED easily.

Second, instead of using individual resistors I'd probably look into multi-resistor packages.  You can get DIP-packaged resistor networks (multiple resistors tied to a single line, for instance, or just a bunch of resistors in parallel if you prefer - the disadvantage in the former case is that you need to run two lines to each LED rather than one line and a common ground - but I think running two lines would be simpler anyway, don't have a mess of ground wire everywhere.) - you save a bit of board space compared to mounting individual resistors on a board (doesn't sound like you were mounting the resistors on a board anyway) and if the resistor package ties to a single line then you also save soldering work.

Third, the risk of a short circuit between or across LED lines can be mitigated somewhat by having the resistors be "upstream", as close to the voltage source as possible.  That way if there's a short anywhere between where the resistor is and where the LED is, the voltage will still have to cross the resistor before reaching the short, so the LED won't light but most likely nothing will burn out, either.
---GEC

RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7022
  • Last login:August 24, 2025, 09:14:26 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re: LED wiring question
« Reply #3 on: December 07, 2005, 12:01:38 am »
Third, the risk of a short circuit between or across LED lines can be mitigated somewhat by having the resistors be "upstream", as close to the voltage source as possible.  That way if there's a short anywhere between where the resistor is and where the LED is, the voltage will still have to cross the resistor before reaching the short, so the LED won't light but most likely nothing will burn out, either.

This is good advice and will prevent problems caused by a temporary wiring problem.

Just for kicks, I put a 1/4 watt 100ohm resistor across the 5v supply on my PC.  No fireworks, but it does get uncomfortably warm after a few minutes and the longer it was hooked in, the warmer it got.  Smaller resistors will get hotter faster.

I've seen very small resistors glow bright orange when I've accidentally hooked up things incorrectly in the past. 

Be smart and insulate your wires or physically keep them from being able to short together.  Very bad things can happen to your hardware or you could even start a fire.   :o

It's really not worth cutting corners with this type of thing.

RandyT

mccoy178

  • It's hard to work with a straight jacket on
  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3127
  • Last login:September 03, 2021, 10:23:42 am
  • Go Bucks!
Re: LED wiring question
« Reply #4 on: December 07, 2005, 01:35:07 am »
Thanks a ton.  I hope the led's you are going to sell are out of the box ready to be wired up.  That would be a great help and worth the cost since I've done about sixty of the things.  I am planning on using leaf switches on my personal cp and I can't imagine doing sixty again.