Shop OBEX P1 Docs P2 Docs Learn Events
Novel technique using one pin with shift registers — Parallax Forums

Novel technique using one pin with shift registers

LeonLeon Posts: 7,620
edited 2009-12-01 17:38 in General Discussion
This might be useful in some situations:

www.romanblack.com/shift1.htm

Leon

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM

Comments

  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2009-11-28 15:46
    Leon,

    Eexcellent!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • kwinnkwinn Posts: 8,697
    edited 2009-11-28 15:47
    Great idea for when you are desperately short of pins.
  • LeonLeon Posts: 7,620
    edited 2009-11-28 15:59
    It could probably be implemented using digital delays, if the shift registers were implemented in a CPLD, for people that don't like the analogue technique used.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2009-11-28 20:17
    Leon,

    That's a great find! I believe his '595 circuit can be improved, however, as follows:

    attachment.php?attachmentid=65423

    In this circuit, an extended low on the input will cause the RCLK pin to go high, ahead of SCLK going high, which permits the use of all eight data bits. The Schmitt inverter also creates a snap action, which could be important for an edge-triggered input like RCLK.

    -Phil
    476 x 345 - 2K
  • LeonLeon Posts: 7,620
    edited 2009-11-28 21:14
    I also mentioned it on the AVR Freaks forum and someone pointed this out:

    www.edn.com/contents/images/6598372.pdf

    It's similar to your circuit.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
  • ercoerco Posts: 20,257
    edited 2009-11-30 03:06
    Very nice idea. Out-of-the-box thinking!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·"If you build it, they will come."
  • Cluso99Cluso99 Posts: 18,069
    edited 2009-11-30 17:56
    I wonder if this method could also be used for a 1-pin PS2 keyboard driver ???

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Links to other interesting threads:

    · Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
    · Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
    · Prop Tools under Development or Completed (Index)
    · Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)
    · Search the Propeller forums·(uses advanced Google search)
    My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2009-11-30 22:03
    It's interesting when you see others using similar ideas. I did a very minimal design years ago for an engine diagnostic display using an 8-pin PIC and a 16x2 LCD. I ran the lcd in 4-bit mode with the R/W tied low (of course) and having only 5 outputs and 1 input on the PIC I used 4 lines for data, 1 line for EN and fed the RS from an RC network hanging off one of the data lines. The one input coupled back to the ECU via a resistor and that was as minimal as you can get I believe (no shift-register).

    So Roman's idea to use an RC delay with the shift register is good and practical for those I/O strapped projects and quite useful for driving non-sensitive outputs such as indicators leds.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    *Peter*
  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2009-12-01 17:38
    Here is a similar approach, published in 1992 as a side magazine to Electronics Now called 'New Ideas'. Unfortunately Electronics Now is no longer being published.

    'Electronics Now' Magazine history in case you are interested

    On page 13 of 'New Ideas' (attached image below) there is a project called 'Frequency-Boundary Detector' which uses two RC time constants to determine if an input signal is above or below a certain frequency. Sort of like a window comparator, but instead of voltage, it's used for frequency.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
    1274 x 1651 - 422K
    FBD.JPG 421.9K
Sign In or Register to comment.