I have PIC18F2450 USB device powered from computer USB.
I have few external devices that will be connected to this PIC.
Some of them have own power and will provide 5V input signal.
Some are not and will require me to provide 5V to them (10mA max)
I was going to put internal 5V (coming from USB) via diode(to prevent backfeeding).
The only problem I see - if user accidently shorts 5V to common, then whole PC will be going down.
So anything simple that I can do to limit current to 15-20mA MAX?
Can I use output from PIC to supply 20mA - does output have a protection?
Any other ideas? It needs to be very simple with less parts possible.
I have few external devices that will be connected to this PIC.
Some of them have own power and will provide 5V input signal.
Some are not and will require me to provide 5V to them (10mA max)
I was going to put internal 5V (coming from USB) via diode(to prevent backfeeding).
The only problem I see - if user accidently shorts 5V to common, then whole PC will be going down.
So anything simple that I can do to limit current to 15-20mA MAX?
Can I use output from PIC to supply 20mA - does output have a protection?
Any other ideas? It needs to be very simple with less parts possible.
Last edited: