So, The lights works, but I think I might be connecting too many LED's to the one PIC. I know it can handle them at the moment but its a lot of current to be sinking. If I light up 6 LED's at once, minimum 20mA each, Im already up to, and probably over, 120mA, which doesn't seem sensible considering im connecting a bunch of other circuits to the PIC.
What happens if you overload the PIC. Max sink current is 200mA. Does it get hot?? Or pop, or just stop working?
And , is there a better way to connect LED's? I dont want a lot of peripheral circuitry? Analogue electronics is not my strong point, and I dont have any easy way of making good circuit boards. So whats the best way to power that many LED's.
I suppose I could use somehting as simple as AND gates, if the can sink enough current. At least that would isolate the LED's from the PIC. But surely there is a better approach. Maybe an IC designed just for this purpose? I would have though there would be something but I just keep finding 7 segment LED displays. All I want is an IC that will except 16 inputs with direct control over 16 outputs, and will handle higher currents than my PIC. Could anyone suggest something??? Thanks?
What happens if you overload the PIC. Max sink current is 200mA. Does it get hot?? Or pop, or just stop working?
And , is there a better way to connect LED's? I dont want a lot of peripheral circuitry? Analogue electronics is not my strong point, and I dont have any easy way of making good circuit boards. So whats the best way to power that many LED's.
I suppose I could use somehting as simple as AND gates, if the can sink enough current. At least that would isolate the LED's from the PIC. But surely there is a better approach. Maybe an IC designed just for this purpose? I would have though there would be something but I just keep finding 7 segment LED displays. All I want is an IC that will except 16 inputs with direct control over 16 outputs, and will handle higher currents than my PIC. Could anyone suggest something??? Thanks?