Aaron's Homepage Forum
Aaron's Homepage Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Electronics
 Basic Electronics
 Driving an LED Matrix
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jnewman
Apprentice

United Kingdom
126 Posts

Posted - Nov 23 2010 :  12:45:23 PM  Show Profile  Visit jnewman's Homepage  Reply with Quote
I'm trying to build a 10x10 LED matrix using high brightness LEDs. I understand that these LEDs cannot be powered directly off the microcontroller, so I reckon I need to use transistors to do the job. I came up with the following, but I'm not sure that it's right? I'm not great with transistors, so any help would be appreciated. Also, what specific transistors should I purchase to do the job? I'll be using the microcontroller to go through each pixel on the grid one by one, so the resistor will only need to account for the load of one LED at a time, is this a correct assumption to make?


>>> http://www.josephn.net <<<
>>> http://forum.josephn.net <<<

audioguru
Nobel Prize Winner

Canada
4218 Posts

Posted - Nov 23 2010 :  8:20:52 PM  Show Profile  Reply with Quote
Your 1k resistor is in the wrong place and limits the LED current to only 2mA which is very dim if it is continuously lighted and is way too dim if it is multiplexed.

The input to the PNP transistor cannot go to ground because its emitter is no lower than 2.1V. Its base current must be limited.

SOMETHING IS WRONG WITH THIS WEBSITE BECAUSE I CAN'T ATTACH A SCHEMATIC.

Edited by - audioguru on Nov 23 2010 8:22:21 PM
Go to Top of Page

jnewman
Apprentice

United Kingdom
126 Posts

Posted - Nov 24 2010 :  12:00:47 PM  Show Profile  Visit jnewman's Homepage  Reply with Quote
I got around the attachment problem by uploading the image to somewhere like ImageShack then using the IMG bbcode tag :)


>>> http://www.josephn.net <<<
>>> http://forum.josephn.net <<<
Go to Top of Page

audioguru
Nobel Prize Winner

Canada
4218 Posts

Posted - Nov 24 2010 :  9:48:42 PM  Show Profile  Reply with Quote
I hate it when people post a schematic on a different website that takes all day to wake up.
Let me see if I can attach a schematic here today:

Download Attachment: Triangle wave gen.PNG
8.86 KB

Go to Top of Page

Aaron Cake
Administrator

Canada
6718 Posts

Posted - Nov 26 2010 :  11:48:29 AM  Show Profile  Visit Aaron Cake's Homepage  Send Aaron Cake an ICQ Message  Send Aaron Cake a Yahoo! Message  Reply with Quote
Did you get an error when you tried an attachment? What was the error....

Test attachment:

Download Attachment: funny-pictures-tacocat.jpg
47.26 KB



Seems to work...
Go to Top of Page

jnewman
Apprentice

United Kingdom
126 Posts

Posted - Dec 01 2010 :  07:08:37 AM  Show Profile  Visit jnewman's Homepage  Reply with Quote
Do you think you could have another shot at attaching the schematic you've drawn up for the problem? Many thanks

>>> http://www.josephn.net <<<
>>> http://forum.josephn.net <<<
Go to Top of Page

audioguru
Nobel Prize Winner

Canada
4218 Posts

Posted - Dec 01 2010 :  1:07:57 PM  Show Profile  Reply with Quote
A transistor is a switch when its load is at its collector, not at its emitter.
You are throwing away 10V and making it complicated to drive the PNP transistor since the supply voltage is too high. If the supply voltage for the LED matix is the same as for the micro-controller then it is simple like this:

Download Attachment: LED matrix.PNG
5.68 KB

Go to Top of Page

jnewman
Apprentice

United Kingdom
126 Posts

Posted - Dec 01 2010 :  1:43:51 PM  Show Profile  Visit jnewman's Homepage  Reply with Quote
That's great, thanks for your help! :)

>>> http://www.josephn.net <<<
>>> http://forum.josephn.net <<<
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Aaron's Homepage Forum © 1995-2020 AARONCAKE.NET Go To Top Of Page
This page was generated in 0.1 seconds. Snitz Forums 2000