Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

64x16 Pinball DMD

Status
Not open for further replies.

Gab3Ru55

New Member
I am trying to build a pinball machine, and the design of the LED display is giving me grief.
I plan on mounting 1024 LEDs in an acrylic sheet in a 64x16 array, and using 8 595s to drive the columns and 2 595s to drive the rows. My problem is I need to find a good power transistor/MOSFET to drive the rows, as each LED used 20 mA, for a total of 1.28 A. I had been thinking of using 16 SI2312BDS, but I would really prefer not using SMT. I will be using a chipkit to drive the system.
Any recommendations for the transistor or any other part of the display would be very helpful.
Thanks!
Gab3
 
ULN2803 with external BD137 transistor on each output would be a good start.

What would the advantage be to using the 2803? Could I just use the transistors with the shift registers?
Edit: To calculate the resistors used, should I just use the values for a single LED, because the resistors would be on the columns, and only one led per column would be on at a time?
 
Last edited:
What would the advantage be to using the 2803? Could I just use the transistors with the shift registers?
ULN2803 has 8 transistor outputs and is designed for use with TTL levels, which is what I assume you're using. Yes it can connect directly to your CMOS shift registers.

Edit: To calculate the resistors used, should I just use the values for a single LED, because the resistors would be on the columns, and only one led per column would be on at a time?
Yes. You will need to take into account the voltage drop of the high-side driver, the LED forward voltage and the ULN2803 "saturation" voltage.

There are other transistor arrays available, albeit not as easily obtained as the ULN2803. e.g. 4AK21 is an octal MOSFET, which would have much less voltage drop than the ULN2803. http://www.datasheetcatalog.org/datasheet/HitachiSemiconductor/mXrzswt.pdf
 
Okay, I drew these paper schematics of the control setup (just to see if I was arranging things properly)
2013-03-17 15.50.29.jpg this is the row driver setup
2013-03-17 15.50.36.jpg this is the column resistor with a single LED
Do these look right? Thanks for all the help!
 
Yes, what you've drawn would be correct except that the the ULN2803 can't handle 1.2A which is why WTP suggested using a BD137 on its output. Sorry, I missed that in his post. Also, you might want a buffer on the column driver as the shift register won't necessarily be able to supply 20mA to all of its outputs at once (you might also like to increase the 20mA as each row is only driven for 1/16 of the time).

My suggestion is to use either a discrete MOSFET on each column and row, or MOSFET arrays.
 
Yes, what you've drawn would be correct except that the the ULN2803 can't handle 1.2A which is why WTP suggested using a BD137 on its output.
Okay, so I use a MOSFET to boost the current (Fairchild has the BD13716S that can handle 1.5A)


Also, you might want a buffer on the column driver as the shift register won't necessarily be able to supply 20mA to all of its outputs at once (you might also like to increase the 20mA as each row is only driven for 1/16 of the time).
I think my shift registers can handle it, NXP's 74HC595N,112 can output 35mA per pin, with a 750mW max overall (using the DIP package). Would I take 20mA times the LED voltage of 2.5, or the output of 5 to get the wattage?
 
Okay, so I use a MOSFET to boost the current (Fairchild has the BD13716S that can handle 1.5A)
Yes, use a single MOSFET on each row and column.
I think my shift registers can handle it, NXP's 74HC595N,112 can output 35mA per pin, with a 750mW max overall (using the DIP package). Would I take 20mA times the LED voltage of 2.5, or the output of 5 to get the wattage?
The maximum ground or supply current for the IC is specified at 70mA.
 
image.jpg
Does this look correct? I have the BD137's base attached to the output of the ULN2803, the collector to the matrix, and the emitter to the ground.
The display will be driven by a propeller or more likely a chipkit, so I'm confident that I can send the serial data fast enough for all 64 outputs.
 
Does this look correct? I have the BD137's base attached to the output of the ULN2803, the collector to the matrix, and the emitter to the ground.
No, it won't work as BD137 is NPN and the ULN2803 output is open collector.

Just use a mosfet on each output of the '595.
 
No, it won't work as BD137 is NPN and the ULN2803 output is open collector.

Just use a mosfet on each output of the '595.

I thought that the BD137 was the mosfet, should I choose a different one?
I know the base goes to the 2803, should the collector or the emitter be connected to the ground?
Thanks!
 
If you're using a N-channel MOSFET, then you don't need the uln2803. You also won't be connecting to the base, collector or emitter, but instead the gate, drain and source. The gate connects to the '595 output, the source to ground and the drain to the cathode of the leds.
 
Would the NTD5867NL (through hole) work? The gate threshold voltage is a max of 2.5v.
I'm assuming that it means that at most it takes 2.5 volts to make the mosfet allow current between source and drain, is that correct?
 
Okay, so the cathodes of the LEDs are connected to the mosfets, which are connected to the ground, and the anodes are connected through the resistors to the 8 shift registers that provide power.
The mosfets are connected to the two shift registers driving the columns, and both sets of shift registers go to a chipkit.

Thanks for taking the time to explain this, I'm relatively new to all this (plus learning about conventional vs. actual current when I was young messed up my thought process). All of these light bulbs are going off in my head, and all of the crazy numbers on the datasheets now make sense. :D
 
Okay, so the cathodes of the LEDs are connected to the mosfets, which are connected to the ground, and the anodes are connected through the resistors to the 8 shift registers that provide power.
The mosfets are connected to the two shift registers driving the columns, and both sets of shift registers go to a chipkit.
Sounds good to me. The two sets of shift registers can be connected as a single string of shift registers as you'll need to update all registers for each column drive subcycle.

Thanks for taking the time to explain this, I'm relatively new to all this (plus learning about conventional vs. actual current when I was young messed up my thought process). All of these light bulbs are going off in my head, and all of the crazy numbers on the datasheets now make sense. :D
Conventional current makes more sense when reading schematics due to the direction that the arrows are drawn in the symbols. It also seems more obvious that the current is flowing from a higher potential to a lower potential.
 
Sounds good to me. The two sets of shift registers can be connected as a single string of shift registers as you'll need to update all registers for each column drive subcycle.

Oh, that makes sense, then the row mosfet will turn on as all of the columns do, so the sign syncs up automatically
 
Status
Not open for further replies.

Latest threads

Back
Top