Changes between Version 1 and Version 2 of Workshops/Sig Comm2022/group/dolphin


Ignore:
Timestamp:
Aug 10, 2022, 6:30:16 PM (2 years ago)
Author:
jennyshane
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Workshops/Sig Comm2022/group/dolphin

    v1 v2  
    4747 1. Use {{{uhd_find_devices}}} to make sure that the onboard x310 SDR is detected as in the following image:
    4848
    49  [[Image(wiki:Workshops/SigComm2022/group/labrador:b210.png)]]
     49 [[Image(wiki:Tutorials/Wireless/introTutorial:find_devices.png)]]
    5050
    5151 Notice that running this command with no arguments will sometimes detect other SDR resources in the testbed which are reachable over the network. We can ignore those for now and focus just on the onboard x310.
    5252
    53  2.  Use the {{{uhd_usrp_probe}}} command to get more details on the x310 as in the following image. Specifying {{{--args="type=b200"}}} ensures only the directly connected radio is probed, instead of the radios on the network.
     53 2.  Use the {{{uhd_usrp_probe}}} command to get more details on the x310 as in the following image. Specifying {{{--args="resource=rio0,type=x300"}}} ensures only the directly connected radio is probed, instead of the radios on the network.
    5454
    55  [[Image(wiki:Workshops/SigComm2022/group/labrador:b210_probe.png)]]
     55 [[Image(wiki:Tutorials/Wireless/introTutorial:uhd_probe.png)]]
    5656
    5757=== Run the experiment ===
     
    5959 1. ssh to node3-2 and start the rx_ascii_art_dft demo with the following command:
    6060 {{{
    61  /usr/lib/uhd/examples/rx_ascii_art_dft --args "type=b200" --freq 2400e6 --rate 5e6 --frame-rate 10 --gain 10 --ref-lvl -30 --dyn-rng 70
     61 /usr/lib/uhd/examples/rx_ascii_art_dft --args "resource=rio0,type=x300" --freq 2400e6 --rate 5e6 --frame-rate 10 --gain 10 --ref-lvl -30 --dyn-rng 70
    6262 }}}
    6363 Note that we are looking at the frequency band around 2.4GHz. You should see an output similar to this:
     
    6767 2. ssh to node8-7 and start the tx_waveforms demo with the following command:
    6868 {{{
    69  /usr/lib/uhd/examples/tx_waveforms --args="type=b200" --wave-freq 1e6 --wave-type SINE --freq 2400e6 --rate 5e6 --gain 10 --ampl 0.2
     69 /usr/lib/uhd/examples/tx_waveforms --args="resource=rio0,type=x300" --wave-freq 1e6 --wave-type SINE --freq 2400e6 --rate 5e6 --gain 10 --ampl 0.2
    7070 }}}
    7171
     
    7676 We can generate a different type of signal by changing the {{{wave-type}}} argument. For instance, if we transmit a square wave:
    7777 {{{
    78  /usr/lib/uhd/examples/tx_waveforms --args="type=b200" --wave-freq 1e6 --wave-type SQUARE --freq 2400e6 --rate 5e6 --gain 10 --ampl 0.2
     78 /usr/lib/uhd/examples/tx_waveforms --args="resource=rio0,type=x300" --wave-freq 1e6 --wave-type SQUARE --freq 2400e6 --rate 5e6 --gain 10 --ampl 0.2
    7979 }}}
    8080