mstechca
New Member
I want to take data from a serial port and make the output parallel.
I want to use serial because it is more portable, and data can be carried longer distances.
I have tried using a shift register (74HCT164) with a counter (4040), but they dont work because I have to make my own clock equal to the speed of the outgoing data. I have tried wiring a octal D flip-flop (74HCT373) into a shift register, because it isn't edge triggered. The problem is that the flip flop seems to be alot faster than the serial port data.
So what I want to do is somehow obtain only 8 bits from a serial port, the moment it is ready to send data. As soon as 8 bits are received (doesn't matter if they are 0 or 1), I want the clock pin to be disabled.
Here's an example.
Say that the serial port output is something like this and assume that the first bit outputted is shown on the right (lsb):
101011001100111100000
Now what I want is the first 8 bits since I'm only wanting to send an 8-bit ascii character as output.
so we take: 11100000
The rest of the bits are garbage until the serial port is ready to send a new character.
I want to avoid making a clock based circuit, and I want the circuit to run at serial port speed.
Please help me.
I want to use serial because it is more portable, and data can be carried longer distances.
I have tried using a shift register (74HCT164) with a counter (4040), but they dont work because I have to make my own clock equal to the speed of the outgoing data. I have tried wiring a octal D flip-flop (74HCT373) into a shift register, because it isn't edge triggered. The problem is that the flip flop seems to be alot faster than the serial port data.
So what I want to do is somehow obtain only 8 bits from a serial port, the moment it is ready to send data. As soon as 8 bits are received (doesn't matter if they are 0 or 1), I want the clock pin to be disabled.
Here's an example.
Say that the serial port output is something like this and assume that the first bit outputted is shown on the right (lsb):
101011001100111100000
Now what I want is the first 8 bits since I'm only wanting to send an 8-bit ascii character as output.
so we take: 11100000
The rest of the bits are garbage until the serial port is ready to send a new character.
I want to avoid making a clock based circuit, and I want the circuit to run at serial port speed.
Please help me.