Is 100 mA limit on 8 Prop pins for real?
Just looking at the datasheet and manual to see how many LEDs I can drive and the same time, and was a little dissappointed...
Datasheet says 300 mA total.· That's not so bad, except that I want to overdrive ~8 LEDs at a time to 60 to 100 mA...
What's worse is the manual says 100 mA total per group of 8 pins.· That means you can't even drive 8 LEDs at full 20 mA current, without worring about what group their in...
But, I'm pretty sure I've seen people drive 8 LEDs...
Are these·limits for real?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
Datasheet says 300 mA total.· That's not so bad, except that I want to overdrive ~8 LEDs at a time to 60 to 100 mA...
What's worse is the manual says 100 mA total per group of 8 pins.· That means you can't even drive 8 LEDs at full 20 mA current, without worring about what group their in...
But, I'm pretty sure I've seen people drive 8 LEDs...
Are these·limits for real?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
Comments
I suppose I could drive them with a transistor but with the RGB LEDs that means 3 transistors per LED - so the component count makes it harder to breadboard.
You mentioned per group of 8 pins. I need to pull out the datasheet and rearrange the pins I'm using to see if that will help.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There are only 10 types of people in the world, those that understand binary and those that don't.
I've had no issues driving multiple LED segments along with LEDs on the Propeller Protoboard.
Haven't murdered a Propeller yet..
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
·http://forums.parallax.com/showthread.php?p=667572
Jim
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There are only 10 types of people in the world, those that understand binary and those that don't.
·http://forums.parallax.com/showthread.php?p=696682
Jim
Thanks! I was just last week trying to remember where I saw the code for Charlieplexing...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
JMH
I had the same question, but the other way around, if it is ok to stress the input diodes to 0.5mA or so then is it permissable to stress them all to the limit together. But then I am somebody that run them overclocked and up at 4.2 Volts sometimes. Parallax has given us a very resilient toy.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Style and grace : Nil point
I did a project a few weeks ago that I had to a "wave" of 5 rows of LED's. I had 28 LED's on 5 Pins of the Prop through 220 ohm resistor packs. On two of the pins I have 9 LED's connected. I used the pwm_x8.spin object. I used these supebright LED's:
http://www.superbrightleds.com/specs/y3230_specs.htm
I had to get it ready in 1 day, so I couldn't get any external drivers for the opening night. I fully expected to have to go back and replace the Prop and circuitry, but after 6 weeks it's still running fine.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
MOORE'S LAW: The capabilities of electronics shall double every 18 months.
cloyd's corollary: Hardware is easy, software is hard.
the only limits I am aware of are the 300mA total (chip) max current drain on vdd/vss and the 40 mA (sink/source) per IO pin. From where the 100 mA?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
· Propeller Object Exchange (last Publications / Updates);·· Vaati's custom search
Pin Descriptions
Table 1-1: Pin Descriptions
Pin Name Direction Description
P0 – P31 I/O
General purpose I/O Port A. Can source/sink 30 mA each at 3.3 VDC. Do
not exceed 100 mA source/sink total across any group of I/O pins at once.
Logic threshold is ≈ ½ VDD; 1.65 VDC @ 3.3 VDC.
The pins shown below have a special purpose upon power-up/reset but are
general purpose I/O afterwards.
P28 - I2C SCL connection to optional, external EEPROM.
P29 - I2C SDA connection to optional, external EEPROM.
P30 - Serial Tx to host.
P31 - Serial Rx from host.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
for the 2N3904's from Digi-Key in 100's.
It is not a good idea to drive allot of current out of any processor. I guess it is ok for a hobby project
but if you are planning on selling thousands of propeller processor boards. forget it.
Russ
Perhaps the first revision was more conservative because Parallax was missing some tests/characterizations
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
· Propeller Object Exchange (last Publications / Updates);·· Vaati's custom search
I'm going to try and sink 100 mA on 8 pins for 800 mA total and see what happens...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
Some considerations can apply here:
Answer: YES. You must pay attention on how you distribute the current arround the IOs and understand the difference between sink (eg. P1 led wired to vcc - ON on 0) and source (eg. P2 led wired to gnd - ON on 1)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
· Propeller Object Exchange (last Publications / Updates);·· Vaati's custom search
It's worth $7 to see if I can simplify the design...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
At least put a heat sink on it, and try to alternate the turn on so that only 4 I/O are on at a time.
(http://www.parallax.com/Store/Components/IntegratedCircuits/InterfacingChips/tabid/613/CategoryID/78/List/0/SortField/0/Level/a/ProductID/211/Default.aspx)
and a separate power supply.· For lots of outputs, I use the DC-16 Output Expander from ESX-TEK (http://efx-tek.com/topics/dc-16.html).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dennis B. Page
This thing has a lot of LEDs...· 64 each of RGB...· Ideally, I'd like to drive each at their continuous limit of 20 mA.· But, is about 4 A total, so probably won't do that...·
Instead, want to drive each at their pulsed limit of ~100 mA at 1/8 duty cycle.· That's only 12 mA, but not too bad.· But, even I don't think it's a good idea to drive 24 pins at 100 mA.· So, I'll do it in groups of 3 for 1/24 duty cycle.· This sacrafices brightness a lot, but keeps to total current to more easily manageable levels...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
Post Edited (Rayman) : 11/3/2009 9:54:55 PM GMT
pump and a radiator to cool the water.
Russ
If the leds are rgb they are probably common anode/cathode. Try, if you can, to have both of them: common anode and common cathode. Doing this way you can load equally the vdd and vss pins
PEdit: corrected some spelling (PhiPi: this is your job ... did you forget?)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
· Propeller Object Exchange (last Publications / Updates);·· Vaati's custom search
Post Edited (dMajo) : 11/6/2009 5:51:10 PM GMT
Yes it did get hot, yes the EEPROM came out, in solidarity, with it. Yes Farnell had no replacements.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Style and grace : Nil point
Check them out.
You still have that same 100mA, just not continuously.·
It's the average current that matters...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
Pretty much the same thing applies to clock speed, since the transistors only dissipate serious power while changing state and the more often you change state the more heat they produce, and people have pushed their props as high as 120 MHz by taking other measures to limit power dissipation.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm