Hi Rebecca, for OOK, this sounds like the right thing to do; but: have you tried removing the complex to mag block? MM should profit from having the phase of the signal; see formula [1]. To get a real-valued signal, since AM is spectrum-symmetrical, you'd not be loosing much when you just use the real part of your complex stream (even better: use the complex clock_recovery_mm_cc).
I do think a reliable stream of alternating 0 and 1 sounds promising. Can you try out different address settings, and compare the bitstreams? I'm absolutely not familiar with the FS20 protocol, so: when you simply look at e.g. a waterfall plat of a signal, do you "see" these 0s and 1s? Cheers, Marcus [1] https://lists.gnu.org/archive/html/discuss-gnuradio/2015-07/msg00610.html [2] http://www2.produktinfo.conrad.com/datenblaetter/600000-624999/620338-an-01-de-KLINGELTASTER_FS20_TK.pdf On 26.11.2015 14:03, Rebecca wrote: > Hi i want to decode a bell push signal from typ FS20 TK by Using > HackRF one .The frequenz is 868.35 MHz the modulation is AM. I use > 19.2k Baudrate.The Bell push use a ook protocol. I use the Sample rate > from 2 MHz. to my flow graph i use a low pass Filter a complex to mag > block as demodulator, a M&M clock recovery and binary slicer and at > the end a File sink.When i generate the graph i became into the file > sink a sequence of bit 010101010101010101010..... from start to the > end. I would like to see the entire packet (including the preamble and > sync word). A signal can not just have a sequence of bit like > 0101010101010101... from the start to the end. I also use a other > equipment with the same Frequenz but i still become the same sequenz > of bit. i don't know my mistake . Please can anyone help me? Thanks > Rebecca > ------------------------------------------------------------------------ > View this message in context: decoding a AM Signal into a sequence of > bits > <http://gnuradio.4.n7.nabble.com/decoding-a-AM-Signal-into-a-sequence-of-bits-tp57106.html> > Sent from the GnuRadio mailing list archive > <http://gnuradio.4.n7.nabble.com/> at Nabble.com. > > > _______________________________________________ > 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
