Instead of a UChar to Float block, you want to use a Chunks to Symbols block (with 1, 3, -1, -3 in the Symbol Table and Dimension = 1).

Ron

On 4/26/19 06:46, Batu Kaplan wrote:
Dear Marcus,

Thanks for your response. First of all, it is been a while for answering your response and I am sorry about that. I could not try your solution until these days. Unfortunately, I still couldn't get over my problem on M-FSK modulation. When I try your solution, "bits to symbols and after that using frequency modulator", I managed to convert bits to integers using the packed to unpacked block. However, after subtracting data from 1.5(for M=4), that point I am stuck. Using frequency modulator will make an FSK modulated signal?

If you can still help, I will be appreciated. Thanks in advance.

Yours sincerely.


Flowgraph <https://imgur.com/a/prUbXys>
Bits2Integers <https://imgur.com/a/V6dzKjQ>

Müller, Marcus (CEL) <muel...@kit.edu <mailto:muel...@kit.edu>>, 6 Mar 2019 Çar, 23:13 tarihinde şunu yazdı:

    Really quickly, I need to get going:
    with unpacked-to-packed (or vice versa) you can convert your bit
    stream
    to integers between 0 and 3. Convert to float, subtract 1.5, use with
    frequency modulator?

    Best regards,
    Marcus
    On Wed, 2019-03-06 at 18:14 +0300, Batu Kaplan wrote:
    > Hello, Marcus.
    > First of all, I'm very grateful for your answer. But how I can
    make a
    > connection between the bits and the "baseband frequency values" that
    > you mentioned in the mail?
    > For example, I have a 000110 bit series for 4FSK. And then, I
    think I
    > need to pack into 2 bits like 00-01-10. But then how can I turn the
    > bits to appropriate form for implement the frequency modulation
    > block? After that, am I going to apply to the frequency modulation
    > block for each group of symbols? Can you share a flow chart for
    > understand better? like file txt ---> packed --->frequency mod ---->
    > sink.
    >
    >  Yours sincerely.
    > -Batuhan Kaplan
    >
    > Batu Kaplan <mozbet...@gmail.com <mailto:mozbet...@gmail.com>>,
    5 Mar 2019 Sal, 12:09 tarihinde
    > şunu yazdı:
    > > Hello, Marcus.
    > > First of all, I'm very grateful for your answer. But how I can
    make
    > > a connection between the bits and the "baseband frequency values"
    > > that you mentioned in the mail?
    > > For example, I have 000110 bit series for 4FSK. And then, I
    think I
    > > need to pack into 2 bits like 00-01-10. But then how can I
    turn the
    > > bits to appropriate form for implement the frequency modulation
    > > block? After that, am I going to apply to the frequency modulation
    > > block for each group of symbols? Can you share a flow chart for us
    > > to understand better? like file txt ---> packed ---> frequency mod
    > > ----> sink.
    > >
    > >  Yours sincerely.
    > > -Batuhan Kaplan
    > >
    > > Müller, Marcus (CEL) <muel...@kit.edu
    <mailto:muel...@kit.edu>>, 1 Mar 2019 Cum, 21:42
    > > tarihinde şunu yazdı:
    > > > Hi Batu,
    > > >
    > > > a really intuitive way of implementing FSKs is to convert your
    > > > bit
    > > > groups to baseband frequency values (e.g. -1.5, -0.5, 0.5, 1.5)
    > > > and use
    > > > them with the frequency mod block.
    > > >
    > > > Best regards,
    > > > Marcus
    > > >
    > > > Marcus
    > > >
    > > > On Fri, 2019-03-01 at 16:59 +0300, Batu Kaplan wrote:
    > > > > I am implementing the binary FSK with GFSK block and I
    think it
    > > > is working correctly. For the next step I want to increase my
    > > > modulation order of FSK modulation, like 4-FSK and 8-FSK,
    > > > however, I could not move forward from the file source
    block. How
    > > > can I implement the 4-FSK and 8-FSK on GNURadio?
    >
    > _______________________________________________
    > Discuss-gnuradio mailing list
    > Discuss-gnuradio@gnu.org <mailto:Discuss-gnuradio@gnu.org>
    > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to