Changes between Version 1 and Version 2 of Workshops/Sig Comm2022/group/dolphin
- Timestamp:
- Aug 10, 2022, 6:30:16 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Workshops/Sig Comm2022/group/dolphin
v1 v2 47 47 1. Use {{{uhd_find_devices}}} to make sure that the onboard x310 SDR is detected as in the following image: 48 48 49 [[Image(wiki: Workshops/SigComm2022/group/labrador:b210.png)]]49 [[Image(wiki:Tutorials/Wireless/introTutorial:find_devices.png)]] 50 50 51 51 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. 52 52 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. 54 54 55 [[Image(wiki: Workshops/SigComm2022/group/labrador:b210_probe.png)]]55 [[Image(wiki:Tutorials/Wireless/introTutorial:uhd_probe.png)]] 56 56 57 57 === Run the experiment === … … 59 59 1. ssh to node3-2 and start the rx_ascii_art_dft demo with the following command: 60 60 {{{ 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 7061 /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 62 62 }}} 63 63 Note that we are looking at the frequency band around 2.4GHz. You should see an output similar to this: … … 67 67 2. ssh to node8-7 and start the tx_waveforms demo with the following command: 68 68 {{{ 69 /usr/lib/uhd/examples/tx_waveforms --args=" type=b200" --wave-freq 1e6 --wave-type SINE --freq 2400e6 --rate 5e6 --gain 10 --ampl 0.269 /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 70 70 }}} 71 71 … … 76 76 We can generate a different type of signal by changing the {{{wave-type}}} argument. For instance, if we transmit a square wave: 77 77 {{{ 78 /usr/lib/uhd/examples/tx_waveforms --args=" type=b200" --wave-freq 1e6 --wave-type SQUARE --freq 2400e6 --rate 5e6 --gain 10 --ampl 0.278 /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 79 79 }}} 80 80