Look at the clock_recovery_mm_ff block. It does exactly what you want.

--n


On Wed, Apr 9, 2014 at 1:27 PM, Francois Gervais
<[email protected]>wrote:

> Hi,
>
> I'm new to gnu radio and I'm trying to demodulate a 125kpbs ASK signal
> from a device I have, as a first project. I'm using RTL-SDR as the input
> device.
>
> I'm slowly getting there. I receive the signal, at 2Msample/s, I low-pass
> filter it to 300khz, I send it through the AM demodulation block and then
> through the DC blocker.
>
> From there I have my signal and it looks fine i.e I could retrieve the
> information manually by looking at it.
>
> Now I think the goal is to somehow synchronize with the bits and re-sample
> to get 1 sample per bit. This could then be sent to a file. Is that it?
>
> At first glance I'm thinking I should have a PLL which ouputs a clock at
> about 250khz (twice the bit rate) and synchronize the rising edge with
> every bit transitioning from 0 to 1 so unless I receive only ones ou zeros
> I should be quite in sync. Then I could toggle a sample every falling edge
> of the clock which should be at about the middle of the bit.
>
> Is this a viable solution? Can it be done with gnuradio? Other
> alternatives?
>
> Thanks
>
> _______________________________________________
> Discuss-gnuradio mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to