2
\$\begingroup\$

Most shift register tutorials I've seen have the output pins connected to ground (for instance: http://www.arduino.cc/en/Tutorial/ShiftOut), however I've seen at least one circuit that connects them to VCC instead (https://learn.adafruit.com/assets/7766).

These circuits both use the same chip (74hc595), and aside from reversing the LEDs look otherwise identical. is there something I'm missing?

\$\endgroup\$

1 Answer 1

3
\$\begingroup\$

Not really. High pins source current and low pins sink current, which means that outputs that lead to ground through LEDs are active high and outputs that lead to VCC are active low.

It may be an issue with logic families whose drive strength is highly asymmetrical, e.g. they can source much more current than they can sink or vice versa, but HCMOS has mostly symmetrical drive strength (within 20% or so).

\$\endgroup\$
3
  • \$\begingroup\$ Actually, HCMOS does not have symmetrical drive strength, since hole mobility is less than electron mobility, and the makers of HCMOS did not make the effort to completely compensate. The asymmetry, however, is much less than for the old bipolar (TTL, LSTTL, etc) logic families. \$\endgroup\$ Feb 15, 2015 at 22:31
  • 1
    \$\begingroup\$ Right, I was thinking of Advanced CMOS. \$\endgroup\$ Feb 15, 2015 at 22:32
  • \$\begingroup\$ Even AC/ACT is not perfectly symmetrical. For a 74HC244, for instance, 24 mA / 4.5 volt outputs have different (Vcc - Voh) and Vol. It's true that both will put out 24 mA at usable levels, but that's not quite the same as symmetrical. \$\endgroup\$ Feb 15, 2015 at 22:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.