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: Electronics help, anyone?  (Read 1587 times)

0 Members and 1 Guest are viewing this topic.

EightBySix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 523
  • Last login:April 25, 2021, 01:50:16 pm
Electronics help, anyone?
« on: November 15, 2011, 05:14:16 pm »
Hi Guys,

Wonder if anyone can help me with my electronics sub-project for my mame coffee table. I've self taught myself as far as I can, but I've got stuck.

Dunno where its best to post this. Didnt want to clutter up my project thread and thought if I keep it seperate so it might go in an electronics forum, should one get created *cough*.

I want to make an LED matrix display, like the ones you see scrolling information in shop windows etc.

So far I've:

  • Got my self familiar with programming PIC micros
  • Bought a bunch of 7x5 LED matrices
  • Learned about multiplexing the LEDs and using shift registers to reduce the number of pins needed.

My next step is to control 1 LED matrix via the PIC, and then extend it to the rest of them, by cascading the shift registers.

I understand that I'll need to get some transistor arrays, as the PIC can't provide enough current to light a whole row of LEDs (for all of the LEDs)
Also, that I'll need to get shift registers that can sink enough current  (I've seen some LED driver shift registers, that seem to have extra features, such as in built current limiting resistors, dimming features, etc)

What I'm struggling with, and have failed to find much on Google about (probably because I dont know what to search for) is how to get enough power to light a whole row (5 LEDs 8 10 matrices). Obviously, my battery wont cut it - so what do I do - do I get a power supply with a high current and divide it between the marices? How would I do that?

I guess the knowledge I need now is less digital electronics, which I can get my head around, and more into equations about current and voltage etc, which I've had no practice with.

Any advice? Even if it's pointing me at some suitable reading :-)


MonMotha

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2378
  • Last login:February 19, 2018, 05:45:54 pm
Re: Electronics help, anyone?
« Reply #1 on: November 15, 2011, 06:01:52 pm »
TI has a nice series of "dumb" logic devices with power outputs.  Check out the TPIC6C595 (and similar A and B versions) for this.  That's what IT used on their Golden Tee signs.  You can easily drive them off a SPI controller to create a really long chain for a big matrix like 40x7 or even bigger.

You'll probably want to high-side switch the rows (using PNP transistors or P-channel MOSFETs) and low side switch each column using the above-referenced devices.

As for power, remember the instantaneous power requirements are only the LEDs that are on at once, i.e one full row at worst.  So if you've got rows with 40 columns, and each LED needs ~30mA, you need 40*30 = 1200mA = 1.2A.  Each column needs its own bias resistor or current control loop (the latter is far easier and sufficient in this case).  Probably easiest to just use a 5V supply, so you need 5V @ ~1.5A (to give you some room for your driving electronics).  This is actually a fairly modest 7-8W supply.  A PC supply will easily handle this, but I'd actually shy away from doing that as you're likely to melt things if you mess up.  I'd just find an old wall wart.  If you want to use batteries, you can use 3x D cells for ~4.5V, and they'll easily source the needed 1.2-1.5A.

EightBySix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 523
  • Last login:April 25, 2021, 01:50:16 pm
Re: Electronics help, anyone?
« Reply #2 on: November 15, 2011, 06:58:15 pm »
Thanks MonMotha - thats just the sort of help I need.  :cheers: Got me some more googling to do now

ids

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 739
  • Last login:August 19, 2025, 03:44:22 pm
  • Fighter Captured
Re: Electronics help, anyone?
« Reply #3 on: November 15, 2011, 07:15:59 pm »
 :applaud:  I wanted to reply, but my knowledge is at that dangerous level...not completely absent, but not sufficient to stop people from lighting themselves on fire.  I want to help but....   Kudos MonMotha

MonMotha

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2378
  • Last login:February 19, 2018, 05:45:54 pm
Re: Electronics help, anyone?
« Reply #4 on: November 15, 2011, 09:28:23 pm »
Just to correct myself from earlier, I meant to say that the resistor is easier and sufficient for this purpose (which would be the "former", not the "latter" in the above context).  At these power levels and to simply bias an LED or two, there's little reason to mess with current feedback loops or switch mode supplies.

BobA

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5943
  • Last login:July 11, 2018, 09:52:14 pm
  • What Me Worry?
Re: Electronics help, anyone?
« Reply #5 on: November 16, 2011, 08:08:01 am »
See attached thread for DIY digital signage.

Your whole array of leds should not be powered at once since the scrolling of letters and changing displays require the LED arrrays to be multiplexed.   Do not calculate power by powering all leds with DC and adding them up.   Your method of multiplexing has to be determined first to see what percentage of the time an column of LEDs will be illuminated.

Make Mag
« Last Edit: November 16, 2011, 08:13:54 am by BobA »

EightBySix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 523
  • Last login:April 25, 2021, 01:50:16 pm
Re: Electronics help, anyone?
« Reply #6 on: November 16, 2011, 02:40:42 pm »
BobA, I don't know whether to kiss or punch you! That is exactly what I need, only I have spent so much time learning how to make my own i'm kind of gutted that so much has been done already, and way cheaper tha I could have made it for, especially once I cost out making pcb boards etc.

Looking over the spec of the display boards themselves, it still leaves plenty of scope for tweaking and programming though, and will leave me more time to actually make the kit that's going to house it. I'll update my project thread when they arrive.

BobA

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5943
  • Last login:July 11, 2018, 09:52:14 pm
  • What Me Worry?
Re: Electronics help, anyone?
« Reply #7 on: November 16, 2011, 09:11:13 pm »
Have fun.  Looking forward to seeing what you come up with.   ;D

No punching or kissing please. ;)