Shop OBEX P1 Docs P2 Docs Learn Events
Shift Register: 74HC595 — Parallax Forums

Shift Register: 74HC595

GWebberGWebber Posts: 9
edited 2005-01-07 20:58 in BASIC Stamp
I have been looking for information on shift register with BS2 for two days. I am surprised that this forum do not have any post about it. So I am starting a new thread on it.

·

Comments

  • Adrian SchneiderAdrian Schneider Posts: 92
    edited 2005-01-07 12:19
    There is a section about using the '595 in the BasicStamp manual - page 316ff in V2.0, p 426ff in V2.1
    Regards
    Adrian
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-01-07 14:27
    Help is as close as the help file. Have a look at the example for SHIFTOUT. Remember, the Help file is searchable too, and when searching on 74HC595 the SHIFTOUT example is listed.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX· USA
  • NewzedNewzed Posts: 2,503
    edited 2005-01-07 18:05
    I think I have some code for the 595 if you need it.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Sid Weaver
    Do you have a Stamp Tester?

    http://hometown.aol.com/newzed/index.html
    ·
  • GWebberGWebber Posts: 9
    edited 2005-01-07 18:06
    Thank you for pointing me back to help book.

    Is there a shift register that can give me more than 8 pins for BS2?

    Newzd, please go ahead and post the code yeah.gif
  • NewzedNewzed Posts: 2,503
    edited 2005-01-07 18:12
    Take a look at the 74F673ASC - 16 bit device.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Sid Weaver
    Do you have a Stamp Tester?

    http://hometown.aol.com/newzed/index.html
    ·
  • Jim McCorisonJim McCorison Posts: 359
    edited 2005-01-07 18:14
    You could use more than one shift register. Or you could use a single shift register and multiple latches like a 74HC375. The Microcontroller Application Cookbook shows some good examples doing that.

    Jim
  • OrionOrion Posts: 236
    edited 2005-01-07 18:14
    Check your data sheets but you can cascade them together and shiftout more bits (16, 24, 32, etc). For the ones I have you feed in the bits to the first 595 on pin 14(SER). Then connect pin 9(Qh) from the first 595 to pin 14 on the second. Clk, and CS get paralleled between.
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-01-07 20:58
    StampWorks shows how to cascade the 74HC595.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX· USA
Sign In or Register to comment.