Hello,
I've just got a PIC18F87K22 with a development board which is great. The board has some SMD LEDs and some ways to communicate with the outside world, also good. And the whole thing comes with a few examples to get you going with the PIC18F87K22.
I was having a quick read through some of the datasheet when I noticed the "Electrical Characteristics" section mention that some port pins sink or source only 2mA, others 8mA and then there's a few that do 25mA. I'm used to PIC's that do 25mA. I know I can hook up an LED and drive 15 to 20mA through it ok. I can drive a relay with an N-Channel MOSFET, and can do a few other things as well.
My question is about these pins that can only handle 2 or 8mA. Does anyone have a guide to using such pins. I read they will do digital cct's okay, so I'm thinking if one wants to do something with an IC that only really needs hi or lo that's okay. BUT, if an LED at 20mA is to be run, you'd need a buffer or some switching cct like a npn and pnp transistor cct or a MOSFET.
Could anyone give a guide to my pin loading worries? Am I right in thinking the 2 and 8mA max sink/source pins on this device should be handled with extra switching circuitry type-of-care?
Can these low current pins be safely used for non-digital (Hi or Lo) circuits, either driving or receiving?
Sorry to ask such a silly question. I think I know how to proceed if i was to build a PCB and use such a chip. But I thought I'd post my concerns and questions before doing any damage to the cct or the chip
Thanks
Chris
I've just got a PIC18F87K22 with a development board which is great. The board has some SMD LEDs and some ways to communicate with the outside world, also good. And the whole thing comes with a few examples to get you going with the PIC18F87K22.
I was having a quick read through some of the datasheet when I noticed the "Electrical Characteristics" section mention that some port pins sink or source only 2mA, others 8mA and then there's a few that do 25mA. I'm used to PIC's that do 25mA. I know I can hook up an LED and drive 15 to 20mA through it ok. I can drive a relay with an N-Channel MOSFET, and can do a few other things as well.
My question is about these pins that can only handle 2 or 8mA. Does anyone have a guide to using such pins. I read they will do digital cct's okay, so I'm thinking if one wants to do something with an IC that only really needs hi or lo that's okay. BUT, if an LED at 20mA is to be run, you'd need a buffer or some switching cct like a npn and pnp transistor cct or a MOSFET.
Could anyone give a guide to my pin loading worries? Am I right in thinking the 2 and 8mA max sink/source pins on this device should be handled with extra switching circuitry type-of-care?
Sorry to ask such a silly question. I think I know how to proceed if i was to build a PCB and use such a chip. But I thought I'd post my concerns and questions before doing any damage to the cct or the chip
Thanks
Chris
Attachments
-
108.7 KB Views: 18