1. We will be in Read Only mode (no new threads, replies, registration) starting at 9:00 EDT for a number of hours as we migrate the forums to upgraded software.

help needed in shift registers

Discussion in 'The Projects Forum' started by rajaero8, Jul 15, 2008.

  1. rajaero8

    Thread Starter New Member

    Jan 9, 2008
    hi friends i am working on a project in which serial to parallel data conversion is required .But my data transmission speed is in seconds not in milli seconds,so how to control the clock speed according to my requirement.
    and also i need how to identify the first data start and end signal.( i am going to transfer only 16 bit each time).
  2. RiJoRI

    Well-Known Member

    Aug 15, 2007
    (1) Use a clocked Serial-to-parallel converter and clock the chip when the data has settled for that byte.
    (2) Use a micro with a built-in timer. You will probably need some type of enable or start signal on a separate line.

    Code ( (Unknown Language)):
    2. Again:
    3.     Counter = 1
    4.     Do Loop
    5.         SecondsTimer = 2
    6.         Start SecondsTimer
    7.         While SecondsTimer > 0
    8.             DoNothing
    9.         Read bit level
    10.         Store bit level
    11.         Increment Counter
    12.         If Counter > 16
    13.             Exit Loop
    14.     End Loop
    15.     Transmit data
    16.     GoTo Again