P. Short wrote:Each IO pin on that PIC is good for 25 mA, and the power/ground pins are good for 250/300 mA respectively.
The 16F688 Spec sheet I have shows max current sunk or sourced by PortA and PortC combined at 90mA. The LEDs from the LEDTricks are 20mA. 20x8 > 90, am I missing something? Maybe duty cycle? Sorry if this is a dumb question.
holtm wrote:The 16F688 Spec sheet I have shows max current sunk or sourced by PortA and PortC combined at 90mA. The LEDs from the LEDTricks are 20mA. 20x8 > 90, am I missing something? Maybe duty cycle? Sorry if this is a dumb question.
The datasheet that I have (41203B) shows 200 mA. This was downloaded from the link provided by Mouser, I wonder what gives.
The 41203D that I just downloaded from Microchip does indeed show 90 mA...I guess you should never trust Mouser to keep their links up to date. That certainly puts a kink in these plans.
scorpia wrote:i mean how are you going to physically wire up 56 led's to use in a string with them charlie plexed.
How about something like this (use cat5 for the groups of parallel wires):
don
Don, that looks like a really logical layout for a multiplexing rig... Charlieplexing is a little more complicated. Your diagram would require 15 pins to individually control all those leds, and the 16f688 Phil mentioned only has 12 available IOs. Your scheme WOULD work with a larger PIC, like the 16F722 we mentioned earlier... and this might be a better idea than trying to squeeze too much out of the 16f688 anyway, especially now that we've found out it's rated for less total current than we thought.
For charlieplexing, some of the diodes are wired back to back, and some of the common will serve as positive at some times and negative at other times, and be set to Hi-Z other times to allow other diodes to work. It's more complicated on the software and hardware side... but greatly reduces the number of pins required! 🙂
Art

