Forum: GNU Radio OOK Mod and Demod

Posted by sibar002 (Guest)
on 2012-11-08 20:25
(Received via mailing list)
Hello,

I am trying to create an ook modulation and demodulation block. So far, 
I
have created a block similar to the bpsk block. I changed my 
constellations
points to 1+0j and 0+0j. I want a rectangular pulse to be transmitted 
for a
1 and nothing for 0. I was told I could do this by changing the
raise_root_cosine filter used in the generic_mod_demod.py to a LPF 
filter. I
am unsure how to do this. Could any one help? I would greatly appreciate 
any
help. Thank you for your time and help.

Sam



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/OOK-Mod-and-Demod-...
Sent from the GnuRadio mailing list archive at Nabble.com.
Posted by Tom Rondeau (Guest)
on 2012-11-09 02:31
(Received via mailing list)
On Thu, Nov 8, 2012 at 2:24 PM, sibar002 <sibar002@ucr.edu> wrote:
> Sam
Line 137 in generic_mod_demod.py is where the RRC filter taps are
created for the transmitter. Change from using a
gr.firdes.root_raised_cosine to gr.firdes.low_pass_2.

Use this page for details of what the arguments to the low_pass_2
filter generator function are:
http://gnuradio.org/doc/doxygen/classgr_1_1filter_...

Tom
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.