Discussion:
LED Display
(too old to reply)
Argon
2007-04-06 00:10:09 UTC
Permalink
Hello,
 
I am trying to use LabVIEW and NI ELVIS to control a 5x8 LED Dot Matrix. Particularly, I am trying to display a scrolling message. Since the NI ELVIS has only 8 I/O lines, I was thinking of using a 3-8 decoder to control the 8 rows of my LED Matrix and the other 5 I/O lines to control the 5 columns of my LED Matrix. It is a common cathode row matrix. The way I was planning it to do was to turn on very fast one row at a time to give the impression that a whole character is being displayed on the matrix. However, I am not sure how to implement this in LabVIEW. Do I need to create an 5x8 array for each letter and then use a case structure to select which pattern is going to be displayed on the LED Matrix? Does anyone have a better suggestion on how to display characters or numbers in a 5x8 LED Matrix. Thanks in advance!
 
PS. I have a VI that does more or less what I want to do, but I am not sure how to do it in hardware!


LED-single iteration scroll.vi:
http://forums.ni.com/attachments/ni/70/6662/1/LED-single iteration scroll.vi
stilly32
2007-04-06 17:10:10 UTC
Permalink
Hey Argon,
I like the example vi - very well done. You've got a few options for the output. First off, what DAQ card do you have controlling the Elvis? If you have an M Series card, you can do clocked (fast HW timed) digital output on your 8 DI lines. This would open up a few options. You could generate a waveform that pulsed your LEDs very quicky and have it scroll across. You would have to map out the letters to the correct DO lines, but it looks like you have a good handle on that.
If you dont have an M series card, you're going to have to use SW timed writes. It will be slower and instead of using a digital waveform, you'll have to write one output at a time. You can write to the whole port to ensure that the whole 8 bits are correctly generated.
As far as using the 5x8 matrix, ideally you would have 13 DO's - do you have a break out box other than the Elvis? Most of our cards have more that 8 DIO lines, if you can get a break out box you can use all of the DIO of your card. If that's not an option, your work around with the encoder is going to be the best option - you may look into adding a few caps or flip flops to extend the duration of the LED's being on.
Cheers,
Andrew S
National Instruments 
 
stilly32
2007-04-10 15:10:12 UTC
Permalink
Hi Argon,
Have you tried using a pull down resistor? If you supply a resistor to ground from the cathode along with the DO from the decoder, then when the row input is high and the column input is high then there will be no differential and no current will flow. When the row is high and the column is low, then current will flow across the LED and through the pull down resistor. You may have to play around with resistors to find one that works (I'd start with 10k, maybe less).
Cheers,
Andrew S
Argon
2007-04-10 20:40:11 UTC
Permalink
Hi Andrew,
 
Thanks for getting back to me so fast. Your suggestion worked perfectly. I really appreciate your help!
Dinadai
2008-02-22 12:40:07 UTC
Permalink
Dear Sir

 

We are the leading OEM manufactures of LED Display Screens in China, which is professionally engaged in the production of Indoor, Outdoor and Semi-Outdoor LED Display screens in Single, Bi-Colour and Multi colour for different markets such as Malls and Plaza?s, Traffic guiding signs, Entertainment and Stage, Shop sign boards and huge Media Bill Boards, Security Monitors etc.

 

We are an ISO 9001:2000 company, CE certified, export licence holders and registered suppliers in Alibaba, Made in China, Busytrade , Tradekey etc. 

 

In order to diversify our existing market, we are interested in supplying our high quality products to you on favorable terms and conditions. Upon receipt of your detail inquiries.



For more information, we would like to let you know our company web site as below.<a href="http://www.mrled.cn/" target="_blank"> www.mrled.cn</a>

&nbsp;

If you are interested in our products, please contact me at any time. Hopefully we can build up a long term business relationship in the near future.

Thank you very much for your attention and look forward to your reply soon.

&nbsp;

&nbsp;

Sincerely Yours,

Ms. Dina Dai

Sales Manager

Shenzhen Mary Photoelectricity Co.,Ltd

The 1-2th Floor,B2 building, Mingjinhai Industry Garden, Zhoushi Road, Shiyan Town, Bao,an District, Shenzhen, China.

Tel: 86-755-26713934

Fax: 86-755-8179 1776

Cell phone: 86-13724213582

MSN:***@hotmail.com

E-mail: <a href="mailto:***@mrled.cn" target="_blank"> ***@mrled.cn</a>

G-mail:***@gmail.com

Web site: <a href="http://www.mrled.cn/" target="_blank"> http://www.mrled.cn</a>

&nbsp;

&nbsp;

&nbsp;

Continue reading on narkive:
Loading...