convert digital to series of codes

Status
Not open for further replies.

Balasubramanya

Newbie level 3
Joined
Mar 7, 2018
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
27
Hi,
how can i convert continous pulse waveform(combination of '0'and '1's)into
series of bits like example:1000100101....(combination of '0'and '1's) depending upon pulse waveform .that is if pulse is logic high,low,low,low,high then i should get output as 10001.and how can we acheive reverse also?
Thanks.
 

Hi,

where do you get the timing from? Is there a clock signal?

Without a clock signal you need something like a "frame sync".
Look at UART: STARTBIT=LOW/ 8 data bits / STOPBIT=HIGH.

With the "known" START and STOP bits it´s possible to detect a "frame". In this case the frame is 10 bits wide.

Without clock and without some included "sync" bits: I´d say it´s about impossible. --> imagine a series of one million "1", how can you be surer this are not 999,999 pieces of "1"?

Klaus
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…