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: Common Cathode RGB LEDs with LEDWiz?  (Read 1516 times)

0 Members and 1 Guest are viewing this topic.

arzoo

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2093
  • Last login:January 26, 2025, 08:51:53 am
  • Robots WILL kill you.
    • LEDBlinky
Common Cathode RGB LEDs with LEDWiz?
« on: December 01, 2008, 08:49:34 pm »
Six months ago I purchased a bunch of RGB LEDs from an ebay auction. At the time, I'm pretty sure I specified common anode. Today I finally had time to try them out and I think they are common cathode. ::) Since the LEDWiz uses a common +5v with the return at each port, I don't think I can use a common cathode RGB.  :(
Robots will kill you.



Arcade Addiction

protokatie

  • I DO try to be insulting and horrible to my fellow Terran
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1396
  • Last login:March 27, 2012, 09:36:43 pm
  • Is anyone here a member of team retard?
Re: Common Cathode RGB LEDs with LEDWiz?
« Reply #1 on: December 01, 2008, 09:06:11 pm »
Six months ago I purchased a bunch of RGB LEDs from an ebay auction. At the time, I'm pretty sure I specified common anode. Today I finally had time to try them out and I think they are common cathode. ::) Since the LEDWiz uses a common +5v with the return at each port, I don't think I can use a common cathode RGB.  :(

I was going to suggest using a Not Gate on the LEDs, but that wouldnt work. Then I thought about you using a transistor or relay that is triggered by the LEDwiz to control a seperate powersupply to each LED element. That would work, but would most likely cost more than just buying the proper RGB LEDs... Other than that, I have no quick or easy solution in mind...
--- Yes I AM doing this on purpose, and yes I DO realize it is pissing you off.

---If my computers were cats, my place would look like an old widows house, with half of the cats having obvious health problems

MonMotha

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2378
  • Last login:February 19, 2018, 05:45:54 pm
Re: Common Cathode RGB LEDs with LEDWiz?
« Reply #2 on: December 02, 2008, 12:18:02 am »
You can use a PNP or PMOS transistor to drive the LEDs on the high side.

For a PNP, put a resistor in line with the base and use the LED Wiz output to drive that.  2.2k should be about right.  Emitter goes to +5; collector goes to the anode of the LED.  Common cathode on the LED goes to ground.

For a P MOSFET, use a "pull-up" resistor to +5 of about 10-100k on the gate.  Then have the LED Wiz drive the gate (it will ground out that pull-up to create the gate signal).  Source goes to +5; drain goes to the LED anode.  LED common cathode again goes to ground.

A collection of PNP transistors can still be had at some Radio Shacks for like $2 for 10-15.  A good option if you have to buy them by part number is the 2N3906.
« Last Edit: December 02, 2008, 12:19:36 am by MonMotha »

Franco B

  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3766
  • Last login:February 15, 2024, 09:14:06 am
Re: Common Cathode RGB LEDs with LEDWiz?
« Reply #3 on: December 02, 2008, 01:21:41 am »
Or you could just buy some common annodes  :)

How many do you need? I have a fair few, I could send you some over if you need 20 or so, it would be the least I could do with what you have done with LED Blinky etc.

protokatie

  • I DO try to be insulting and horrible to my fellow Terran
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1396
  • Last login:March 27, 2012, 09:36:43 pm
  • Is anyone here a member of team retard?
Re: Common Cathode RGB LEDs with LEDWiz?
« Reply #4 on: December 02, 2008, 02:46:11 am »
MonMotha and franco are both just saying what I said. (although MonMotha is being a bit more specific). IMHO, Just buy new RGB LEDs (unless you bought like 100 of them....)
--- Yes I AM doing this on purpose, and yes I DO realize it is pissing you off.

---If my computers were cats, my place would look like an old widows house, with half of the cats having obvious health problems

arzoo

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2093
  • Last login:January 26, 2025, 08:51:53 am
  • Robots WILL kill you.
    • LEDBlinky
Re: Common Cathode RGB LEDs with LEDWiz?
« Reply #5 on: December 02, 2008, 08:22:30 am »
Guys,
Thanks for all the help - and Franco, thanks for the offer, I may take you up on it. I had purchased 50, but I was only going to wire up 16. I sent the seller an email to see if they would swap for the common anode versions. Let's see what they do.
Robots will kill you.



Arcade Addiction