Skip to content

Communication Relay by creating a WiFi Mesh Network using ROS, and using that network for Data Telemetry, with Telemetry radios ( Ubiquiti Bullet, Ubiquiti Nanostation) being used as Access Points and Base stations. These are mounted on Drones (with provision for Autopilot using PixHawk modules) so as to facilitate large scale operations at remo…

Notifications You must be signed in to change notification settings

neelabhro/Data-Telemetry-using-WiFi-based-IoT-Nodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Communication-Relay-using-Wifi-Mesh

Communication Relay by creating a WiFi Mesh Network ( essentially making IoT Nodes) using ROS, and using that network for Data Telemetry, with Telemetry radios ( Ubiquiti Bullet, Ubiquiti Nanostation) being used as Access Points and Base stations. These are mounted on Drones (with provision for Autopilot using PixHawk modules) so as to facilitate large scale operations at remote locations, accompanied with an Android App. All of this is achieved Without the use of an Active Internet Connection.

User Interface:

Instructions for installing ROS:

Install either ROS Kinetic / ROS Indigo, preferrably ROS Kinetic by following the instructions provided here: https://bit.ly/2Kp5JMR

Instructions for setting up new Ubiquiti Nanostation Loco M2:

https://bit.ly/2BjKcC1 . https://bit.ly/Nanostation

After following this, connect to the Designated WiFi SSID you have created, go to Edit Connections, and then set a Static IP Address, as per your choice.

The Complete Pipeline ( How, and the order in which the files work )

  1. Drone checks connection to both the Nanostations using ping command(as used using the terminal) (chk_connection.py)
  2. Whichever Nano the drone gets connected to, the transfer will take place with that Nano(dronecomm1.sh)
  3. Data syncing is done with the respective nano (drone1.py)
  4. It will ping the other nanostation ( chk_connection1.py)
  5. Data syncing is done again with that Nano(The one with which the connection is established in the upper case). (dronecomm2.sh)
  6. Again it will ping the first (chk_connection2.py)

Steps to get the System Running:

  1. Open terminal ( Alt+ Ctrl + T), and type in rosversion -d, to check if ROS has been correctly or not. If the version name is shown, it means that it has been correctly installed and is good to go.
  2. Get to the directory where check check_connection.py is located, and type in ./check_connection.py. For example, cd Desktop/Summer\ Communications\ Project\ IP/comm_src/src/comm/src/ and then the above command. This would get the system going, and all the processes, as mentioned in the above Pipeline Process, will begin, and in order.
  3. The files and folders that need to be in the same directory are:
    1. check_connection.py
    2. nano2_comm.sh
    3. nanostation2.py
    4. send_folder
    5. receive_folder
  4. Open check_connection.py and change the IP Address to the one you want to connect to, for example '192.168.1.202'.
  5. Open nano2_comm.sh
    1. Change the IP Adress to your own system's IP address in this line: export ROS_IP=192.168.1.200
    2. Change the IP Adress to the Master's (which is sending the files) IP address in this line: export ROS_MASTER_URI=http://192.168.1.202:11311
  6. To kill all the processes, type in killall -9 rosmaster

Login details for the WiFis and the RPis & Ubiquiti Domain details

    1. User:ubnt
    2. Password: iiitd_ubnt
    3. Preset IP Address: 192.168.1.158
    1. User:ubnt
    2. Password: ubnt123
    3. IP Address: 192.168.1.160
    1. Raspberry Pi 2 user: iiitd
    2. IP Address: 192.168.1.200
    3. Password: test@123
  1. Access Point 1:

    1. WiFi SSID: ubiquiti_IIITD
    2. Password: ubiquiti_iiitd123
  2. Access Point 2

    1. WiFi SSID: ubnt_IIITD
    2. Password: ubiquiti_iiitd123

    hi

About

Communication Relay by creating a WiFi Mesh Network using ROS, and using that network for Data Telemetry, with Telemetry radios ( Ubiquiti Bullet, Ubiquiti Nanostation) being used as Access Points and Base stations. These are mounted on Drones (with provision for Autopilot using PixHawk modules) so as to facilitate large scale operations at remo…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published