Underwater Rover

by dyoung210 in Circuits > Remote Control

704 Views, 2 Favorites, 0 Comments

Underwater Rover

IMG_0435.JPG

In this project, we are solving the problem of our unexplored oceans by creating an underwater rover. This rover will be able to scour the ocean’s great depths and collecting data within its immediate surroundings. Many companies that are attempting to make advancements in space exploration are looking for life outside of our planet, when there may be enough resources in our oceans to sustain it. We have only identified 5% of earth’s oceans, meaning that there is still much that we have yet to discover.

Get Materials

Get the following materials for your project:

  • PXtoys 9302 1:18 Off-road RC Racing Car
  • Plexiglas
  • Acrylic glue
  • O-ring set
  • Computer
  • Wireless router
  • Raspberry Pi 3 Model B
    • 32 GB MicroSD Card w/ Adapter
    • Monitor
    • HDMI Cable
    • Keyboard
    • Mouse
    • Power Supply (uses microUSB cable)

Setting Up the Raspberry Pi

image1 (1).jpeg
image1 (2).jpeg
image2 (2).jpeg

Materials Needed:

  • Raspberry Pi 3 Model B
    • 32 GB MicroSD Card w/ Adapter
    • Monitor
    • HDMI Cable
    • Keyboard
    • Mouse
    • Power Supply (uses microUSB cable)
  • Computer
  • Wireless Router

Setting Up the Raspberry Pi:

  1. Access the Internet on you Computer
  2. Go to https://etcher.io/
  3. Download and Install Etcher for Windows
  4. If Running Windows: (If running Linux or Mac OS, Skip to Step __)
    1. Go to https://www.virtualbox.org/wiki/Downloads
    2. Select "Windows Hosts"
    3. Run the Install Process and Install the VirtualBox (We will come back to this in a bit)
    4. Go to: https://www.ubuntu.com/download/desktop
    5. Download "Ubuntu 17.10.1"
    6. Open VirtualBox
    7. Select "New"
    8. Name the Virtual Machine, Set the Type to Linux and the Version to Ubuntu (64-bit)
    9. Set the memory(RAM) to 6,144 MB (6 GB)
    10. Leave the Hard Disk setting on "Create a Virtual Hard Disk Now"
    11. Set it up as a "VDI"
    12. Set it as "Dynamically Allocated"
    13. The size of the drive needs to be greater than 6 GB, leaving it at the default 10 GB should suffice
    14. Right-Click The Virtual Machine you just made and open the settings
    15. Go to the "System" Tab
    16. Set the "Boot Order" as "Optical (Check), Hard Disk (Check), Floppy, Network"
    17. Open the "Storage" Tab
    18. Click "Empty" under "Controller: IDE"
    19. Click the button next to the drop-down box
    20. Find the .iso file you downloaded from Ubuntu and select that as your boot file
    21. Save Changes
    22. Run Virtual Machine
    23. Go through the Ubuntu Setup
    24. Close the Virtual Machine
      1. We will come back to this later
  5. Click Link and Download the File: https://raspbian-france.fr/download/and7_1-tablet-...
    1. Use a .zip file manager(7zip, WinRAR, 8zip, etc.) to extract the contained file into a separate folder on your desktop
  6. Insert the microSD card into the adapter, and insert the adapter into the computer

  7. Open Etcher, select the extracted .iso file for the image you will be writing, select the microSD card as the device you will be flashing the image file onto, and then click the Flash! button

  8. Once the Flash is complete, take the SD card out of the adapter and put it into the SD card slot of the Raspberry Pi

  9. Connect the Raspberry Pi to the monitor with the HDMI Cord and also connect the Keyboard and Mouse to the Raspberry Pi in the USB slots

  10. Boot up the Raspberry Pi by plugging the power supply into an outlet and connecting it to the power supply port, it is the MicroUSB Slot.

  11. Run the setup of the Android OS and get it all set up.

  12. Once it is setup, then you need to go into the settings and find the IP Address that corresponds with your device

  13. Now you must go back to your computer and boot up the virtual machine again

  14. Follow this link on the Raspberry Pi: https://howtoraspberrypi.com/install-android-raspb...

  15. Click the link to download the "sh script"

  16. Open the file and change the target IP Address to the IP Address of the Raspberry Pi

  17. Open the CMD Terminal

  18. Run these commands in order

  19. Command: sudo apt install android-tools-adb

  20. Command: sudo apt install lzip

  21. Command: adb connect ________ (Insert Raspberry Pi IP Address Here)

  22. Then, go through your files and open the terminal through where the file is located

  23. Run command: sudo chmod u+x ./gapps.

  24. Command: sudo ./gapps.sh

  25. Now wait for the script to finish running

  26. Once it is done, the Raspberry Pi will restart and then it will have the Google Play store installed onto the Raspberry Pi

  27. When the Raspberry Pi loads, open the Google Play Store, Search Graphical Analysis and download it

Now it is ready for testing

When you want to test, this is how you will connect the Raspberry Pi to the Lab Quest

  1. First, you need an unrestricted mobile hotspot/wireless network (There are a couple of different options for that: Mobile Phones, Portable HotSpots, etc.)
  2. Connect the Raspberry Pi and the LabQuest to the Hotspot/Wireless Network
  3. Then, click "New Experiment" and select "Data Sharing"
  4. Make sure that Data Sharing is enabled on the LabQuest
  5. Select the LabQuest as the connected device

You can then run your tests and the data will be stored on the Raspberry Pi

Construct a Waterproof Chamber

image1 (5).jpeg
image1 (6).jpeg
image2 (4).jpeg
image2 (5).jpeg
image2.jpeg
image5.jpeg
image7.jpeg
image8.jpeg

1. Measure the dimensions of the RC car

2. Mark dimensions of the bottom of the RC car onto the polycarbonate plexiglass with a dry erase marker

3. Clamp the sheet of plexiglass to a table with the marked portion hanging off of the table.

4. Put on safety glasses and protective gloves

5. Using a dremel tool, cut along the marked lines.

6. Once you have completely cut the entire marked portion of the plexiglass, smooth out the edges of the newly cut piece using an electric sander

7. Repeat this process for all sides of the waterproof chamber, including the part that surrounds the RC car motor, as well as the part that houses the sensors and LabQuest2.

8. Using super glue, glue the bottom piece of plexiglass to the underside of the RC car.

9. Let this sit for 24 hours to fully strengthen and dry

10. Next, glue the other pieces of plexiglass to the bottom piece (that you previously glued with super glue) using acrylic glue.

11. You may need to hold these pieces one or two at a time after applying the glue in order to keep the pieces upright while the glue strengthens.

12. Once the bottom portion of the waterproof chamber is constructed, coat all of the empty areas between pieces with silicone sealant.

13. Continue on by completing the top portion of the waterproof chamber (gluing the pieces together with acrylic glue and sealing the empty spaces) except for the top piece of the top portion.

14. On the bottom piece of the top portion (that is already glued onto the RC car), drill two holes over top of the areas where the charging cable resides.

15. Now, place the top piece of the top portion of the waterproof chamber on, gluing in place and sealing the empty spaces.

16. Next, cut a small opening in the side of the waterproof chamber (the bottom portion by the RC car motor) so that you can reach the ON/OFF switch. Whenever the car is going to be used underwater, seal the opening with the silicone sealant.