 |
|
 |
| Parallax Forums > Public Forums > Propeller Chip > Is 100 mA limit on 8 Prop pins for real? | Forum Quick Jump
|
   |  hover1 I have 3 Propellers

       Date Joined Sep 2007 Total Posts : 371 | Posted 11/1/2009 10:11 AM (GMT -8) |   | | | |
   |  hover1 I have 3 Propellers

       Date Joined Sep 2007 Total Posts : 371 | Posted 11/1/2009 12:16 PM (GMT -8) |   | | | |
   |  hover1 I have 3 Propellers

       Date Joined Sep 2007 Total Posts : 371 | Posted 11/1/2009 2:04 PM (GMT -8) |   | As PJ says, there is something to be said for PWM.
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. | | Back to Top | | |
  |  dMajo Italy 72

       Date Joined Apr 2008 Total Posts : 329 | Posted 11/2/2009 12:56 AM (GMT -8) |   | | | |
  |  Mike Green Registered Member

       Date Joined Oct 2004 Total Posts : 13554 | Posted 11/2/2009 6:05 AM (GMT -8) |   | | The Propeller Manual was written first, then the Datasheet was written as the definitive documentation for the chip and the Datasheet only mentions the overall current limit and the per I/O limit. The statement in the Manual may be a leftover from the SX documentation, particularly since the Propeller's I/O pins are not divided up into groups the way the I/O ports on the SX (and PICs) are. Still, high output currents can cause voltage shifts across the chip due to resistance in the on-chip conductors and, the higher the current, the more careful you'd have to be with bypass capacitors and low impedance power wiring to the chip's power pins let along tighter power supply regulation. | | Back to Top | | |
 |  BigFoot Registered Member
        Date Joined Jun 2009 Total Posts : 35 | Posted 11/2/2009 8:59 AM (GMT -8) |   | Surface mount transistors are small & cheep, what are you guys waiting for ? We pay about $0.0429 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 | | Back to Top | | |
 |  dMajo Italy 72

       Date Joined Apr 2008 Total Posts : 329 | Posted 11/2/2009 12:28 PM (GMT -8) |   |
Rayman said...Manual P.15: 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.
@Rayman: it's time to upgrade your manual. You are using the first release. Both the datasheet (V1.2) and the manual (V1.1) states 40mA as max io current and 300mA as max supply current. None of them has written nothing about the 100mA max group current (this was only in the old manual v1.01).
| | Back to Top | | |
 |  Rayman Registered Member
        Date Joined Jul 2007 Total Posts : 2408 | Posted 11/2/2009 12:58 PM (GMT -8) |   | | | |
 |  dMajo Italy 72

       Date Joined Apr 2008 Total Posts : 329 | Posted 11/3/2009 5:40 AM (GMT -8) |   |
Rayman said...You're right... They did remove that limitation in the new manual...
I'm going to try and sink 100 mA on 8 pins for 800 mA total and see what happens...
STOP IMMEDIATELY: you have still the 300mA max current limit on the power supply lines. You can sink up to max 40 mA per IO but the total current consumption (including the prop own) should not exceed the 300mA limit.
Some considerations can apply here:
|
Total power dissipation 1 W
Max. current out of V ss pins 300 mA
Max. current into V dd pins 300 mA
Max. DC current into an input pin with internal protection diode forward biased ±500 μA
Max. allowable current per I/O pin 40 mA
|
- From current consumption graph (datasheet V1.2 Ch.9.1) we now that @80MHz 8 cogs running spin (so accessing hub - most of the hardware powered) consume 80mA. Still 220 mA are available to both the Vss and Vdd
- Now the only current flowing into vdd and out from vss at the same time is the prop internal current consumption. When the output sink current it is flowing into the output and out from Vss, when output source current it is flowing into Vdd and out from the output
- Does it means that we can have at the same time 11 outputs sinking 20mA and 11 outputs sourcing 20mA ??? So 20mA on 22 outputs?
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 | | Back to Top | | |
 |  Rayman Registered Member
        Date Joined Jul 2007 Total Posts : 2408 | Posted 11/3/2009 12:05 PM (GMT -8) |   | | | |
  |  Dennis B. Page Registered Member
        Date Joined Sep 2004 Total Posts : 40 | Posted 11/3/2009 1:19 PM (GMT -8) |   | | | |
  |  BigFoot Registered Member
        Date Joined Jun 2009 Total Posts : 35 | Posted 11/3/2009 6:12 PM (GMT -8) |   | You might be able to find a small water cooled heat sink for the propeller chip. Then all you would need is a big pump and a radiator to cool the water.
Russ | | Back to Top | | |
   | 33 posts in this thread. Viewing Page : 1 2 | | Forum Information | Currently it is Friday, November 20, 2009 10:58 PM (GMT -8) There are a total of 393,737 posts in 55,521 threads. In the last 3 days there were 82 new threads and 702 reply posts. View Active Threads
| | Who's Online | This forum has 17687 registered members. Please welcome our newest member, mark09. 50 Guest(s), 7 Registered Member(s) are currently online. Details Peter Verkaik, BradC, Harley, Chris Savage (Parallax), Rich_W8VK, potatohead, Sal Ammoniac |
Forum powered by dotNetBB v2.42EC SP2.02 dotNetBB © 2000-2009 |
|
|