Hi,
I just got done playing around with lesson 5 and changed it to have 10 LEDs. I am using pins 3 - 12 as outputs.
The thing is, some of the LEDs are dimmer than the others. It almost seems as though pin 3 is the brightest and pin 12 is the dimmest. Pins 9, 10, 11, 12 are noticeably dimmer than 3. I think the others are also dimmer, but they are not that different that it calls attention to them.
I have swapped the LEDs around and it doesn't matter. I have tried new resistors, and swapping them too. Same thing 3 brightest, 12 dimmest.
I thought it might be due to too many being on at once, but even when there is only 1 on at a time, the level of brightness is in correlation to it's pin position.
Any ideas?
I have pictures of the setup, but I will have to post another one to show the dimm effect.
Thanks for the tutorial - it was awesome! I am going to use this in my Halloween robot costume.
-Steven
Lesson 5 - Some are brighter than others?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 20
- Joined: Thu Oct 25, 2007 10:46 am
Lesson 5 - Some are brighter than others?
Last edited by threebean on Thu Oct 30, 2008 11:33 pm, edited 1 time in total.
-
- Posts: 20
- Joined: Thu Oct 25, 2007 10:46 am
Re: Lesson 5 - Some are brighter than others?
OH,
I also want to give a HUGE THANK YOU to ladyada!
I really appreciate the time you took to write and publish the lessons/tutorials.
I was thinking of how I could use my Arduino for my costume control panel and I thought to check back with your site to see if any of your lessons could get me started. Lesson 5 was perfect!
THANKS AGAIN - you really made my day!!!
I also want to give a HUGE THANK YOU to ladyada!
I really appreciate the time you took to write and publish the lessons/tutorials.
I was thinking of how I could use my Arduino for my costume control panel and I thought to check back with your site to see if any of your lessons could get me started. Lesson 5 was perfect!
THANKS AGAIN - you really made my day!!!
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Lesson 5 - Some are brighter than others?
pins 9, 10, 11 & 12 are used for serial programming. try using the analog input pins (they can be setup as outputs, just call them pins 14-20)
-
- Posts: 20
- Joined: Thu Oct 25, 2007 10:46 am
Re: Lesson 5 - Some are brighter than others?
Cool, thanks for helping me out. I will give that a try tonight!
-
- Posts: 20
- Joined: Thu Oct 25, 2007 10:46 am
Re: Lesson 5 - Some are brighter than others?
Hi,
I gave that a try last night, but got the same results. I am posting a picture of it.
Turns out that those 4 didn't matter, tho i would like to figure it out for my own knowing. I went to put it into the box and i didn't have room for 10 anyway, 6 is just perfect.
I will have to post a picture of it in the box and maybe a video of it if i can.
Thanks again for the help on my Halloween costume!
I gave that a try last night, but got the same results. I am posting a picture of it.
Turns out that those 4 didn't matter, tho i would like to figure it out for my own knowing. I went to put it into the box and i didn't have room for 10 anyway, 6 is just perfect.
I will have to post a picture of it in the box and maybe a video of it if i can.
Thanks again for the help on my Halloween costume!
Last edited by threebean on Thu Oct 30, 2008 11:33 pm, edited 1 time in total.
- westfw
- Posts: 2008
- Joined: Fri Apr 27, 2007 1:01 pm
Re: Lesson 5 - Some are brighter than others?
While 1k resistors are nice safe values for experiments, when you have "exotic" colored LEDs like you have (very pretty, BTW), you're severely UNDER-driving them. Assuming Vf of about 3.5V, you're only putting about 1.5mA through them (and presumably they're 20mA LEDs.) That MIGHT be a drive level where relatively minor changes in pin characteristics make significant differences in illumination. Try 100 to 220 ohms?
(I don't see brightness differences in the little chase circuit I've got going next to me, but I don't have any resistors in the red led paths, so I'm presumably overdriving the LEDs a lot...)
(I don't see brightness differences in the little chase circuit I've got going next to me, but I don't have any resistors in the red led paths, so I'm presumably overdriving the LEDs a lot...)
-
- Posts: 189
- Joined: Mon Apr 03, 2006 6:25 pm
Re: Lesson 5 - Some are brighter than others?
Also double check you have a
for every pin - if you don't they can't source/sink as much current and LEDs are a lot dimmer.
Code: Select all
pinMode(pin, OUTPUT);
-
- Posts: 20
- Joined: Thu Oct 25, 2007 10:46 am
Re: Lesson 5 - Some are brighter than others?
trialex - you get a beer! That is exactly what is wrong. I only have that for pins 1-5. It is in it's costume now, but when I take it apart I will give it a try again!
westfw - thanks for your input too. I have to admit, I know very little about electronics. I got a bunch of these LEDs off of eBay without much knowledge on them. I know some are supposed to be 2.2v and some 3.2v.
westfw - thanks for your input too. I have to admit, I know very little about electronics. I got a bunch of these LEDs off of eBay without much knowledge on them. I know some are supposed to be 2.2v and some 3.2v.
-
- Posts: 20
- Joined: Thu Oct 25, 2007 10:46 am
Re: Lesson 5 - Some are brighter than others?
Here is my costume. I had seen this costume and made mine based off it.
My son had lots of fun running around me as we were trick-or-treating.
Here is a video of the control panel.
My son had lots of fun running around me as we were trick-or-treating.
Here is a video of the control panel.
- amberwolf
- Posts: 310
- Joined: Wed Oct 08, 2008 2:42 am
Re: Lesson 5 - Some are brighter than others?
That's cool--John of TeamDroid is a friend of mine, though I never saw that costume of his except in photos. If it's ok with you, I'll link him to your pics.
-
- Posts: 20
- Joined: Thu Oct 25, 2007 10:46 am
Re: Lesson 5 - Some are brighter than others?
Yeah that is cool, i sent him an email about my costume too.
Please be positive and constructive with your questions and comments.