RGB FULL COLOR 5mm LED-4 LEAD COMMON ANODE Has any one use them before
·Hi ,EveryOne
Has any one used this type of leds before if so what is the right way to use them
RGB FULL COLOR 5mm LED-4 LEAD COMMON ANODE
http://www.mpja.com/prodinfo.asp?number=17137+OP
http://www.mpja.com/prodinfo.asp?number=17138+OP
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any·
·that you may have and all of your time finding them
·
·
·
·
Sam
Post Edited (sam_sam_sam) : 10/22/2007 4:35:01 PM GMT
Has any one used this type of leds before if so what is the right way to use them
RGB FULL COLOR 5mm LED-4 LEAD COMMON ANODE
http://www.mpja.com/prodinfo.asp?number=17137+OP
http://www.mpja.com/prodinfo.asp?number=17138+OP
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any·
![idea.gif](http://forums.parallax.com/images/smilies/idea.gif)
·
·
·
·
Sam
Post Edited (sam_sam_sam) : 10/22/2007 4:35:01 PM GMT
Comments
Thanks!· Just what I was searching for!· How did you know?· [noparse]:)[/noparse]
BTW:· Use it just like a regular multi LED Common Anode lamp.· IE; It's like 3 discrete lamps with their anodes tied together.· You can use PWM to each cathode·pin to "mix" the colors to produce purples... oranges, etc.
Sample:
Using PIN 0 for·one of the·LED cathodes, with·ANODE tied to +5V, 220 Ohm from PIN0 to the Cathode. use the same process for other pins to remaining cathodes...· (untested)
high·0 ' LED completely off.
for b2 = 0 to 255 ' Loop from·on to off.
pwm 0, b2,1 ' Output one burst of pwm.
next
low·0 ' Leave LED on
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There's nothing like a new idea and a warm soldering iron.
Post Edited (pwillard) : 10/17/2007 4:55:06 PM GMT
Well i am gald that i could help you........................
This was on the frist page of the flyer for Mpja that came in the mail this week
I though would ask to see if any one has use them before ordering some
·Well·I·have some more thing to play with my Basic Stamp
···
UpDate:.....> Thanks for the·Demo Code·I will give this a try ·····
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any·
·
·
·
·
Sam
Post Edited (sam_sam_sam) : 10/17/2007 8:36:39 PM GMT
Easily done with other devices though... hello... SX? [noparse]:)[/noparse]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There's nothing like a new idea and a warm soldering iron.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Flying is simple. You just throw yourself at the ground and miss.
"I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image."
Stephen Hawking
http://www.mpja.com/prodinfo.asp?number=17138+OP
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
If you want to really make use of them, you need something close to 100 leds, say a 32x32 grid. It really looks a lot more appealing to use a Propeller with 8 microcontrollers inside and 32bit processing. Still, it is going to be a bit of work to get it all working. You might consider a 24x24 matrix for starters as not all 32 pins of the Propeller I/O are available and you will have to multiplex the 4 colors to boot.
It is doable. Is someone up to the challange?
Nonetheless, it really can mix to create variable colors on one LED with the BasicStamp.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PLEASE CONSIDER the following:
Do you want a quickly operational black box solution or the knowledge included therein?······
Thank You For Your Reply
When I order·some of the Common Anode·and· some of the Common Cathode
·RGB FULL COLOR 5mm LED-4 LEAD· type
Because i was not sure which one would work on a Basic Stamp
so i order both
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any·
·
·
·
·
Sam
Common Cathode is just easier to work with sometimes, but really it depends on your design.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
I understand that the right code might do it on the stamp... but the best I've been able to do is get close with visible flicker due to slow speed of updates.· With that in mind, I'm looking toward the SX with more speed.·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There's nothing like a new idea and a warm soldering iron.