Changes between Version 29 and Version 30 of Tutorials/k0SDR/Tutorial04a


Ignore:
Timestamp:
May 21, 2015, 5:47:23 PM (9 years ago)
Author:
nilanjan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/k0SDR/Tutorial04a

    v29 v30  
    44
    55=== Description ===
    6 This tutorial will give a walk through on how to used Wiserd to set up USRPs for signal transmission and reception.
     6This tutorial will utilize Wiserd to set up USRPs for signal transmission and reception.
    77
    88=== Hardware / Software Resources utilized ===
    99 1. Grid nodes with a USRP2 connect via Ethernet.
    1010 2. ''ubuntu-14-04-64bit-sdr.ndz'': disk image loaded onto nodes.
    11  3. Wiserd - interface to configure and stream data to/from USRPs.
     11 3. [http://wiser.orbit-lab.org/wiki/wiser/mSoftware/aWiserd Wiserd] - interface to configure and stream data to/from USRPs.
    1212 4. octave - generate transmit data file and plot received data file.
    1313
     
    3131}}}
    3232
    33  * After nodes are imaged, verify that nodes are in POWEROFF state. Otherwise issue the following to turn them off for a
    34 
    35 reboot
     33 * After nodes are imaged, verify that nodes are in POWEROFF state. Otherwise issue the following to turn them off for a reboot
    3634{{{
    3735nilanjan@console.grid:~$ omf tell -a offh -t system:topo:all
     
    5654}}}
    5755
    58 The signal will look something like the following in the frequency domain - notice the first half of the spectrum is populate:
     56The signal will look something like the following in the frequency domain - notice the first half of the spectrum is populated:
    5957  || [[Image(s1.png, width=500px)]] ||
    6058
     
    8987}}}
    9088
    91  * At the wiserd prompt set the carrier frequency, sampling rate & gain. Then link the transmitter to the signal source which
    92 
    93 is the binary file generated in octave from prior step:
     89 * At the wiserd prompt set the carrier frequency, sampling rate & gain. Then link the transmitter to the signal source which is the binary file generated in octave from prior step:
    9490{{{
    9591> set --uhd_tx_freq 700e6 --uhd_tx_rate 5e6 --uhd_tx_gain 20 --tran_wavefilename s1.bin
     
    107103
    108104The set command is used with multiple arguments in one line:
    109 ''--uhd_tx_freq'' set carrier frequenct to 700MHz
    110 ''--uhd_tx_rate'' set sampling rate to 5M samples/sec
    111 ''--uhd_tx_gain'' set transmit gain to 20dB.
    112 ''--tran_wavefilename''  tells the links the transmitter source to a binary filename.
     105
     106 ''--uhd_tx_freq'' set carrier frequenct to 700MHz
     107
     108 ''--uhd_tx_rate'' set sampling rate to 5M samples/sec
     109
     110 ''--uhd_tx_gain'' set transmit gain to 20dB.
     111
     112 ''--tran_wavefilename''  tells the links the transmitter source to a binary filename.
    113113
    114114''add --signalfromfile'' opens the above filename, reads the samples and streams to the usrp.
    115115
    116116At this point the USRP will continuously transmit the signal util the delete command is issued:
    117 ''delete --signalfromfile'' stops tranmitting signal.
     117
     118 ''delete --signalfromfile'' stops tranmitting signal.
    118119
    119120
     
    154155
    155156Here the set command has an additional argument to limit capturing to 1000 milliseconds:
    156 ''--recv_output_filename'' set receiving signal filename.
    157 ''--recv_running_time''    set receiver run time in milliseconds. (optional)
     157
     158 ''--recv_output_filename'' set receiving signal filename.
     159
     160 ''--recv_running_time''    set receiver run time in milliseconds. (optional)
    158161
    159162The add command options
    160 ''--timesamplestofile'' streams data from receiver to file
    161 ''--timed''             runs receiver for the specified amount of time. (optional)
     163
     164 ''--timesamplestofile'' streams data from receiver to file
     165
     166 ''--timed''             runs receiver for the specified amount of time. (optional)
    162167
    163168Received signal file should should be prepended with the frequency, rate and gain:
     
    173178
    174179Received signal should look simiar to
    175   || [[Image(rx_signal.png, width=500px)]] ||
     180  || [[Image(signal.png, width=500px)]] ||
     181