Shop OBEX P1 Docs P2 Docs Learn Events
Shift Registers not working? — Parallax Forums

Shift Registers not working?

John A. ZoidbergJohn A. Zoidberg Posts: 514
edited 2010-10-30 10:44 in Propeller 1
Hello there,

I have some 74HC595s on my hand, and wanted to try expanding the I/Os on the prop.

One issue there - it wouldn't work.

I have the pull-downs on the latch pin of the SH, and a cap of 100nF across the 74HC595 power supply, but it wouldn't do anything at all.

The CLK and the Data pin are all normally connected.

Here are the codes and the schematic... :confused:

On times, when I removed the pull-down from the Latch pin, and touched the wire, all of the outputs are high on the Shift Register and any amount of Reset applied on it wouldn't override anything back to zeros.
931 x 519 - 23K

Comments

  • 65816581 Posts: 132
    edited 2010-10-30 03:48
    Hello there,

    I have some 74HC595s on my hand, and wanted to try expanding the I/Os on the prop.

    One issue there - it wouldn't work.

    I have the pull-downs on the latch pin of the SH, and a cap of 100nF across the 74HC595 power supply, but it wouldn't do anything at all.

    The CLK and the Data pin are all normally connected.

    Here are the codes and the schematic... :confused:

    On times, when I removed the pull-down from the Latch pin, and touched the wire, all of the outputs are high on the Shift Register and any amount of Reset applied on it wouldn't override anything back to zeros.

    Let me guess..
    You should put OE (output active low) to ground and MR (reset active low) to VCC for permament activity.
    Then try to shift in some data.
  • John A. ZoidbergJohn A. Zoidberg Posts: 514
    edited 2010-10-30 07:39
    6581 wrote: »
    Let me guess..
    You should put OE (output active low) to ground and MR (reset active low) to VCC for permament activity.
    Then try to shift in some data.

    Thanks for pointing this out too. :)

    By the way I got it working. I'll post the sample code later.

    The "repeat" area in the code should be "repeat 8", not "repeat until 8". :lol:
  • JonnyMacJonnyMac Posts: 9,208
    edited 2010-10-30 09:03
    If you want to compare code notes, I have a very simple '595 object here:
    -- http://obex.parallax.com/objects/478
  • John A. ZoidbergJohn A. Zoidberg Posts: 514
    edited 2010-10-30 10:44
    JonnyMac wrote: »
    If you want to compare code notes, I have a very simple '595 object here:
    -- http://obex.parallax.com/objects/478

    Read about it. Great work. :)

    Right now, I'm trying to cascade it. Just wanted to make myself an LED matrix display. :D
Sign In or Register to comment.