Changes between Version 29 and Version 30 of Tutorials/k0SDR/Tutorial04a
- Timestamp:
- May 21, 2015, 5:47:23 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/k0SDR/Tutorial04a
v29 v30 4 4 5 5 === Description === 6 This tutorial will give a walk through on how to usedWiserd to set up USRPs for signal transmission and reception.6 This tutorial will utilize Wiserd to set up USRPs for signal transmission and reception. 7 7 8 8 === Hardware / Software Resources utilized === 9 9 1. Grid nodes with a USRP2 connect via Ethernet. 10 10 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. 12 12 4. octave - generate transmit data file and plot received data file. 13 13 … … 31 31 }}} 32 32 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 36 34 {{{ 37 35 nilanjan@console.grid:~$ omf tell -a offh -t system:topo:all … … 56 54 }}} 57 55 58 The signal will look something like the following in the frequency domain - notice the first half of the spectrum is populate :56 The signal will look something like the following in the frequency domain - notice the first half of the spectrum is populated: 59 57 || [[Image(s1.png, width=500px)]] || 60 58 … … 89 87 }}} 90 88 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: 94 90 {{{ 95 91 > set --uhd_tx_freq 700e6 --uhd_tx_rate 5e6 --uhd_tx_gain 20 --tran_wavefilename s1.bin … … 107 103 108 104 The 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. 113 113 114 114 ''add --signalfromfile'' opens the above filename, reads the samples and streams to the usrp. 115 115 116 116 At 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. 118 119 119 120 … … 154 155 155 156 Here 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) 158 161 159 162 The 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) 162 167 163 168 Received signal file should should be prepended with the frequency, rate and gain: … … 173 178 174 179 Received signal should look simiar to 175 || [[Image(rx_signal.png, width=500px)]] || 180 || [[Image(signal.png, width=500px)]] || 181