[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Re: new to GNU radio
From: |
Steven Clark |
Subject: |
Re: [Discuss-gnuradio] Re: new to GNU radio |
Date: |
Tue, 4 Mar 2008 13:40:12 -0500 |
No USRP, no problem. Here is an example of what you want (taken from
http://noether.uoregon.edu/~jl/gmsk/gmsk-test.py)
# Mix to IF
lo = gr.sig_source_c(sample_rate, gr.GR_SIN_WAVE, lo_freq,
1.0, 0)
mixer = gr.multiply_cc()
fg.connect(lo, (mixer, 1))
# Take real part as transmit
ctof = gr.complex_to_float()
# Simulate noise in the channel
noise = gr.noise_source_f(gr.GR_GAUSSIAN, noise_mag)
air_noise = gr.add_ff()
fg.connect(noise, (air_noise, 1))
# Mix to baseband
chan_taps = gr.firdes.low_pass(1.0, sample_rate, lp_cutoff,
lp_tw, gr.firdes.WIN_HAMMING)
chan_filter = gr.freq_xlating_fir_filter_fcf(1, chan_taps,
-lo_freq, sample_rate)
Hope that helps.
-Steven
On Tue, Mar 4, 2008 at 1:27 PM, Manav Rohil <address@hidden> wrote:
> thanks for the replies...
> So that means if i dont have a USRP, i cannot simulate a packet
> transmission/reception entirely in software since the data will never be
> modulated to the carrier frequency.
>
> What is the alternative..Write a mixer block(using gr.multiply_cc) in
> software and feed the data bits and a local oscillator to this?The
> output of the mixer will then be the modulated signal at the carrier
> frequency i want...And then I demodulate it using costas's receiver...
>
> Is this the right way..
>
>
> Manav
> --
> Posted via http://www.ruby-forum.com/.
>
>
> _______________________________________________
>
>
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
- [Discuss-gnuradio] new to GNU radio, Manav Rohil, 2008/03/02
- Re: [Discuss-gnuradio] new to GNU radio, George Nychis, 2008/03/02
- Re: [Discuss-gnuradio] new to GNU radio, George Nychis, 2008/03/02
- [Discuss-gnuradio] Re: new to GNU radio, Manav Rohil, 2008/03/04
- Re: [Discuss-gnuradio] Re: new to GNU radio, Johnathan Corgan, 2008/03/04
- Re: [Discuss-gnuradio] Re: new to GNU radio, Steven Clark, 2008/03/04
- [Discuss-gnuradio] Re: new to GNU radio, Patrick Strasser, 2008/03/04
- [Discuss-gnuradio] Re: new to GNU radio, Manav Rohil, 2008/03/04
- Re: [Discuss-gnuradio] Re: new to GNU radio, Brian Padalino, 2008/03/04
- Re: [Discuss-gnuradio] Re: new to GNU radio, George Nychis, 2008/03/04
- Re: [Discuss-gnuradio] Re: new to GNU radio,
Steven Clark <=