NPN transistors easier to manufacture than PNP. This, in combination with customary use of positive-voltage power supply rather than negative, leads to favoring separate cathodes for LEDs. It's preferable for that wire to be at Ground voltage rather than plus supply voltage, so that if it shorts to the chassis or other wires there's less hazard. A wire which completes the circuit for a remote device often must travel some distance through mechanically stressful conditions. I can suggest a couple of reasons why common anode are favored: Of course with common anode strips you could use fat PMOS devices too. The idea here is to have a few fat NMOS devices sinking many LEDs currents and many weak sources (I/O pins) driving a few LEDs each. In this case it can be best to have more devices in common cathode and fewer on a common anode. Modern CMOS ICs are much more symmetrical (an ATMEGA328 in an Arduino can source or sink 20mA) since they use bigger PMOS than NMOS to balance the fundamental differences, but the convention of common anode is well established.ĮDIT (More info): If on the other hand you're building a matrix, you'll have to have both current source and sink transistors. A 74LS00 is specced to sink 4-8mA, but source only 0.4mA. This was particularly true of the TTL logic used in the 74LS series chips (still widely used as interface chips). Older ICs used to be designed exclusively using N transistors for speed reasons, and so were much better at sinking current than sourcing it. Thus the best solution is to connect a common anode to the positive supply and sink current from each LED using NMOS transistors. You need PMOS/PNP transistors to source current (pull up) effectively, but they'll still be weaker at sourcing than an equivalent N-transistor would be at sinking. NMOS / NPN transistors are stronger in general, more common as discrete and are better at sinking current than sourcing. With either common anode or common cathode you'll have one terminal connected directly to a supply for all LEDs and the other side having the dropper resistor and a control transistor per pin (or IC outputs that are transistors on the inside) either sinking or sourcing a current. The reason common anode is more common is because its easier to sink current than to source it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |