| 1 | == Using Bots as Primary Transmitters== |
| 2 | |
| 3 | === Description === |
| 4 | |
| 5 | This example shows the use of the transmitter bot/bots that can act as primary user/users transmitting in periodic or random fashion. This tutorial has been specifically tested with X310 nodes on the ORBIT grid. However, with some minor changes this can also be used with any other node on the grid or sandbox. Information on SDR availability on particular nodes can be found on [https://www.orbit-lab.org/cPanel/controlPanel/start Orbit] by clicking on ''Status Page'', then on ''grid'', and then filtering the displayed nodes by SDR devices equipped. |
| 6 | |
| 7 | === Set Up === |
| 8 | |
| 9 | 1. Make a reservation on [https://www.orbit-lab.org/cPanel/controlPanel/start Orbit] to use the Grid. |
| 10 | 2. Make sure the node of interest is turned off: |
| 11 | {{{username@console.grid:~$ omf tell -a offh -t node21-1,node23-1,node23-2}}} |
| 12 | 3. Load the ''SC2-OrbitBot.ndz'' image onto the node. Note that this process might take several minutes. |
| 13 | {{{username@console.grid:~$ omf load -i SC2-OrbitBot.ndz -t node21-1}}} |
| 14 | 4. Turn on the node. After issuing the "on" command, wait a couple of minutes for the node to boot up. |
| 15 | {{{username@console.grid:~$ omf tell -a on -t node21-1}}} |
| 16 | 5. Connect to the node using SSH (only to check the connectivity of host with USRPs) |
| 17 | {{{username@console.grid:~$ ssh -Y root@node21-1}}} |
| 18 | |
| 19 | make sure that the node can communicate with the USRP use the command uhd_find_devices and probe it for specs by uhd_usrp_probe similar to the example [http://www.orbit-lab.org/wiki/Tutorials/k0SDR/Tutorial00 here]. Use the appropriate input for the –-args argument. Once the connectivity to the USRPs is confirmed, log out from the node21-1. |
| 20 | |
| 21 | === Running the Experiment === |
| 22 | Download the attached OEDL script in your console. Default setting in this script will turn on two periodic OFDM transmissions of 5MHz bandwidth with different period and duty cycle. The center frequency for these two transmissions are 5.04GHz and 5.05GHz. To start the experiment, run the following command. |
| 23 | |
| 24 | {{{username@console.grid:~$ omf exec bot_ofdm.rb}}} |
| 25 | |