![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Hello forum,
I have a PIC10F206 driving a red SMD LED. To get the desired brightness, I would need to drive it with 25mA. 25mA is the absolute MAX for the PIC source current. The voltage on the PIC pin will drop to about 2.5V (Vcc = 5V) when sourcing 25mA. Will I damage the PIC over time when sourcing the MAX current? Regards, Futterama |
|
|
|
|
|
|
(permalink) |
|
You still need a current limiting resistor. 110ohms should work.
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) |
|
i don't see why it couldn't - as long as you're within the electrical specifications (on the datasheet), there's no reason to think it would "wear out", aside from manuf. defects or something
not that it is strongly recommended, but I've got leds running straight off pic pins, with no resistor, relying instead on the internal resistance of the pic to limit the current (the collective RdsON of the pic's gate fets). Source voltage for the pic is only 3.6v in this case however
__________________
If you don't have a planet, what good are gold bars? want to contact me directly? gmail gordonthree check out my project website: http://projects.dimension-x.net Favorite numbers: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Will your LED drift from its wavelength sweet spot after an extended period at max current is the question you will find out in time that depends on the truthfulness of the LED vendor and tolerances stacked against it. |
||
|
|
|
|
|
(permalink) |
|
I think you will find that you won't get much more current if you do reduce the resistor. The short circuit current is only about 20 mA and once the output voltage start to droop, there isn't much more left.
If you short out a PIC's output, it means that bitwise operations on that port (eg bcf GPIO, 1), will cause the output to turn off. http://www.sxlist.com/techref/readmodwrite.htm explains the problem, although I try not to overload outputs and avoid adjacent port instructions instead of using a shadow register. |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| Expert Stabilised Power Supply with Current Limiting | mechie | Electronic Projects | 36 | 11th March 2008 07:16 PM |
| Current and Conductivity | ElectroMaster | Electronic Theory | 1 | 2nd February 2007 12:49 PM |
| How to make constant current source | j2bichon | Electronic Projects Design/Ideas/Reviews | 12 | 11th August 2003 02:47 PM |
| 2mA constant current source | wilbee | General Electronics Chat | 10 | 8th August 2003 11:31 AM |
| Will this work? | daviddoria | Electronic Projects Design/Ideas/Reviews | 31 | 9th May 2003 04:43 AM |