Shop OBEX P1 Docs P2 Docs Learn Events
BS2 Submersible ROV — Parallax Forums

BS2 Submersible ROV

RichardFRichardF Posts: 168
edited 2009-09-08 17:50 in Robotics

I have just completed my BS2 controlled Submersible ROV (remotely operated vehicle) project in time for the spring lake thaw here in Michigan. My goal is to survey the bottom of lakes and look at neat fish. Some pictures are attached.

Here are the statistics:

Length 24 inches

Diameter of main tube 4 ½”

Material PVC

Weight with ballast 20 lbs

Internal battery 12V 3000mah NiMh

Microcontroller BS2

Motor and light controls (3) Parallax H-25’s

CCTV miniature television camera (12V)

This ROV is tethered to the surface with a 6 conductor Ethernet cable and nylon support line. It will be placed over the side of my boat and allowed to sink (buoyancy is adjustable with steel plates attached to the bottom of the main tube). Initially the tethered line is only 50 feet long.. Using the surface control console I am able to adjust left and right motor speeds forward and reverse (400 size electric RC brushed motors geared 6:1 and 3” diameter propellers cut down from electric RC props). Keeping the ROV fairly close to the boat I will be able to move it forward, backward and rotate it side to side. The control console has a 7” LCD monitor receiving signals from the TV camera mounted at the front of the main tube and viewing through ¼” polycarbonate plate. I have two 50 watt Halogen lights mounted on the forward top of the tube. I can control the intensity of the lights with a rheostat mounted in the surface control console. The lights are homemade using outdoor garden bulbs housed in 2” PVC with a polycarbonate plate lens.

Electronic control is straight forward using the PBasic RCTime command for all control functions. Five wires in the tether cable are connected to ground, TV monitor, lighting , left motor and right motor rheostats. The microcontroller just reads the resistance readings of the rheostats, converts that to pulse width and sends a pulse to control the three H-25’s. Simple and full proof. There is no need to send any power through the tether cable (except the 1 volt P-P from the TV camera). The control console contains On/Off switches for the motors and the lights. With a switch Off the BS2 sees an open and generates a RCTime of 0. In the program, if a 0 RCTime is detected a 750 msec pulse is sent to the H-25, shutting it off. Cool, huh?

Here is the program:

' {$STAMP BS2}

' {$PBASIC 2.5}

' This program controls a submersible ROV using resistance values from a suface console

' and converting the resistance values to a pulsewidth out to H-25's, which then control

' motors and lights.

RCtime1 VAR Word

pw1 VAR Word

RCtime2 VAR Word

pw2 VAR Word

RCtime3 VAR Word

pw3 VAR Word

light PIN 13

motorR PIN 10

motorL PIN 7

'Initialize H-25's (Parallax code)

DO : LOOP UNTIL light = 1 ' Wait For HB-25 Power Up

LOW light ' Make I/O Pin Output/Low

PAUSE 5 ' Wait For HB-25 To Initialize

PULSOUT light, 750

DO : LOOP UNTIL motorL = 1 ' Wait For HB-25 Power Up

LOW motorL ' Make I/O Pin Output/Low

PAUSE 5 ' Wait For HB-25 To Initialize

PULSOUT motorL, 750

DO : LOOP UNTIL motorR = 1 ' Wait For HB-25 Power Up

LOW motorR ' Make I/O Pin Output/Low

PAUSE 5 ' Wait For HB-25 To Initialize

PULSOUT motorR, 750

'Control the ROV

DO

'left motor control

HIGH 8

PAUSE 1

RCTIME 8,1,RCtime1

IF RCtime1 = 0 THEN RCtime1 = 750 ' swith is OFF, shut off motor

PULSOUT 7, RCtime1 ' control H-25

'DEBUG HOME, DEC4 time1, CR

'right motor control

HIGH 11

PAUSE 1

RCTIME 11,1,RCtime2

IF RCtime2 = 0 THEN RCtime2 = 750 'Switch is OFF, shut off motor

PULSOUT 10, RCtime2

'DEBUG DEC4 RCtime2, CR

'lighting control

HIGH 14

PAUSE 1

RCTIME 14,1,RCtime3

IF RCtime3 = 0 THEN RCtime3 = 750 'shut off motor

RCtime3 = RCtime3 MIN 750 MAX 1000 'set rheostat range from off to full on.

PULSOUT 13, RCtime3

'DEBUG DEC4 RCtime3, CR

LOOP

1280 x 960 - 562K
1280 x 960 - 614K
1280 x 960 - 527K
«1

Comments

  • DiablodeMorteDiablodeMorte Posts: 238
    edited 2008-02-25 04:14
    First off, Good job! The pictures show a project that looks very organized and structured and to that I applaud you. I am confused about one thing: Are your motors encased? From the pictures it looks like you would be sticking those motors directly into the water and I would think that would expose the electricity powering the motors to water. Am I missing something?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Current Projects:
    Robot Control Via Skype API - Dev Stage(50% Complete) - Total(25%)
    Robot Localization Via Xbee's - Research Stage
    IR Tracking with Propeller - Research Stage
  • RichardFRichardF Posts: 168
    edited 2008-02-25 12:19
    Yes, the motors are directly exposed. It turns out that at the low voltages (12V) used, fresh water does not conduct enought to form a noticeable short circuit. My ROV cannot be used in a swimming pool (Chlorine) or in salty water. Thanks for the compliments on my project. Now if warmer weather would come.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2008-02-25 15:57
    Someone discovered that 12v bilge pump motors could be used for submersibles if you need to adapt to salt or chlorine. They seem to be well enough sealed if you don't go extremely deep and affordable.

    Is the tube, the complete framework? A lot of people prefer a cage like frame work that allows for my stability. One can attach plastic bottles to increase ballast or flotation. One can also attach cameras, hooks and other devices as required.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    PLEASE CONSIDER the following:

    Do you want a quickly operational black box solution or the knowledge included therein?······
    ···················· Tropically,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
  • RichardFRichardF Posts: 168
    edited 2008-02-25 20:56
    Kramer,

    Yes, the 4" PVC is the complete structure. The ballast weight hangs about 2 inches below the tube, so stability is pretty good. Remember, to date all of this is in the bathtub. I am sure I will be making many changes once my ROV actually goes to work in a lake environment. All our lakes are still frozen solid and will be for a few more weeks.

    Richard
  • skylightskylight Posts: 1,915
    edited 2008-02-25 20:58
    Bit concerned about the ironing board getting wet, only joking lol.gif

    Nice project
  • PatMPatM Posts: 72
    edited 2008-02-28 00:10
    Nope, nope, completely wrong. The BS2 is the wrong processor for this job. Everyone knows boats need Propellers(tm)!

    (Sorry, someone had to do it 8)
  • RichardFRichardF Posts: 168
    edited 2008-02-29 00:26
    Pat,
    You are correct and that is in the works. I speak Spin as well as PBasic. The way I develop projects is to get a basic model running and then start upgrading. This is inefficient but more funtongue.gif .
    Richard
  • Larry SutherlandLarry Sutherland Posts: 77
    edited 2008-02-29 01:57
    Check this out readers

    http://www.societyofrobots.com/actuators_waterproof_servo.shtml

    Enjoy

    L Sutherland

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔






    "Understand a grain of rice through and through and you will understand the nature of the·universe."
    ·- Hsueh-feng, ·Blue Cliff Record
  • WhitWhit Posts: 4,191
    edited 2008-02-29 13:23
    Great project! The design variables are so different from "run around on the ground" robots. Very interesting info about the non-sealed motors working underwater. That really·is interesting.

    The fish will certainly be surprised! You may even find some sunken treasure.·Good luck with the next phase of testing and development. I'll hope for an early thaw.
    ·Great article Larry!


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Whit+


    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney

    Post Edited (Whit) : 2/29/2008 1:32:16 PM GMT
  • StampNut2StampNut2 Posts: 224
    edited 2008-03-02 06:06
    Fantastic project RichardF, really enjoyed reading it. Post results when you do a lake test, Video under water would also be nice!!.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Never give up when things go wrong, Just work them out.

    robosapienv2-4mem8.page.tl/
  • Nick WaldvogelNick Waldvogel Posts: 71
    edited 2008-03-04 02:33
    Very nice project!! I would also like to see some video. Where are you at in MI? I'm in northern MI. [noparse]:)[/noparse]

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • RichardFRichardF Posts: 168
    edited 2008-03-06 01:47
    Grass Lake, Michigan, about 10 miles East of Jackson on I-94. Video will be coming when I actually make dives in some lakes.

    I have made several improvements since my last post. One is to replace the 50 Watt Halogen bulbs with an LED cluster under the camera lense and totally enclosed in the tube; thus reducing my power requirements by a factor of ten (but quite expensive!), and reducing drag also.

    I have installed the Hitachi Compass module in the ROV which sends heading information back up the tether to an LCD readout on my control panel. This way I can tell which way the ROV is going. This is a huge addition.

    Next project is a depth sensor which will also give me a readout on the same LCD. This is a little complex because it will require an A/D conversion prior to the BS2 input. I don't have much physical space left in the tube and the wiring is getting pretty hairy.

    This is about it for my BS2 controller. All but a few pins are now in use and I don't have much RAM left.

    I have also built a simple buoy system, which will allow the ROV to swim some distance from the boat. I am really excited about this project, but it has been a lot of work. Hope it pays off this summer.
  • RichardFRichardF Posts: 168
    edited 2008-03-07 23:10
    Hello all,

    Here is an update on my submersible ROV project. I have completed and tested (out of the water) the installation of a HM55B Compass Module from Parallax. The output from the module is sent, via the BS2 and the tether wire, to·an LCD (20 X 4) on the surface console. I will now be able to tell which direction the ROV is headed. This is a big step forward in gaining utility from my project. The next update will be to install a depth sensor. A pressure sensor is on order from Mouser.com now. The changing voltage output as pressure/depth changes will be sent to the BS2 via an ADC0831 converter. The depth information will be sent to the surface console to be displayed alongside the heading.
    I have attached two pictures showing the compass module mounting. It is sealed with epoxy inside a small PVC pipe fitting. Would you believe our lakes are still frozen up? It is 7 March and the high today was 26!

    Hope you enjoy following this project,
    Richard

    PS That is the LED light cluster below the video camera lense.
    1280 x 960 - 596K
    1280 x 960 - 554K
  • kelvin jameskelvin james Posts: 531
    edited 2008-03-08 07:04
    Great work, and good camera addition also. I hope you will be able to record some of the action from the camera to show. I noticed you changed the lighting setup, from external to internal. I wanted to show you a led bulb that you might want to check out, if you have some battery power to spare. If you find you need more light, these would be the way to go. They also sell a 8 watt version, but may take a lot of juice to run.
  • WhitWhit Posts: 4,191
    edited 2008-03-09 12:31
    RichardF,

    Is that the compass module on the exterior just below the LED light? Why outside rather than inside? Just wondering.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Whit+


    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney

    Post Edited (Whit) : 3/9/2008 12:38:25 PM GMT
  • RichardFRichardF Posts: 168
    edited 2008-03-10 10:10
    Whit,
    Yes, the compass module is located as far away from electrical wiring and metal as I can get it, in order to minimize affects from magnetic fields induced by electrical current.

    Richard
  • RichardFRichardF Posts: 168
    edited 2008-03-13 15:58
    My submersible ROV project is now completed (at least for the time being). Lake thaw should occur next week so in the water we go! The ROV has dual propulsion motors, a magnetic heading sensor, a depth sensor, a·cluster LED headlight·and a TV camera. The surface console controls motor speed and direction. The LCD·displays left and right ·motor speed and direction, compass heading,·ROV depth and battery voltage.·A 7" LCD monitor displays the TV camera output in color. The master controller in the ROV is a BS2 (which is about maxed outtongue.gif ). I have attached pictures. The legs beneath the main tube are for sitting on the bottom. I will remove them when I want to drive the ROV around looking for interesting things (maybe a Lok Ness monster type freaked.gif ). Can't wait to try it, it has been a lot of work.

    PS: Depth sensing is via a FreeScale depth sensor (gives a 0-4.7V analog output proportional to pressure sensed) attached to a 0831 AD converter on the BS2 board.
    1280 x 960 - 568K
    1280 x 960 - 574K
    1280 x 960 - 566K
    1280 x 960 - 621K
    1280 x 960 - 565K
  • WhitWhit Posts: 4,191
    edited 2008-03-17 15:08
    Great new pictures RichardF! (Thanks for the answer about the compass - by the way - makes sense)

    Can't wait for the reports of the ROV in action.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Whit+


    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney

    Post Edited (Whit) : 3/17/2008 3:13:18 PM GMT
  • 556RECON556RECON Posts: 1
    edited 2008-04-28 20:43
    Has any one heard about the in water tests???
  • RichardFRichardF Posts: 168
    edited 2008-04-29 15:13
    Hi all,
    Thanks for the interest in my project. I have been doing a lot of work on it over the past month. In-water tests with just the two horizontal drive motors to a depth of 4 feet went just fine. Since I had no depth changing ability other than lowering the tether down from the dock, I tied a buoy to the tether at a preset distance from the ROV and let it go. It worked fine,·I could control all horizontal motion out to the 50 foot length of my tether. However, under this situation the camera is useless because I had no way of increasing depth down to the bottom or tilting the nose of the ROV down. Just dangling straight down from the dock the camera/video was okay, but limited to just a few feet. What was nice was the ability to turn the ROV in place and/or back it up.
    The control from the surface during these test was a change in resistance in the tether wires (rheostat in the surface control panel) connected to an RCTIME circuit on the Slave board in the ROV. That worked okay, but I had no way of adding vertical thrust motors and getting data back from the ROV to the surface without going to more conductors in the wire.

    Sooo. I have made some big changes! I have added two vertical thrust motors (see the attached pictures), and RS422 comms between the ROV and the surface control panel. If you look in the Sandbox Forum you will see my post concerning the succesful RS422 comms. Now I can control all four motors, plus turn the video and lights on and off, plus get all the data I want back from the ROV(depth, trim angle, water temp, battery voltage, etc.) If you look at the attached pictures the control panel has the video monitor sitting on it. Switches and rheostats now control all four motor speeds and directions (my code is attached) in the next post. The ROV "guts" show the BS2 board and the four HB-25 motor controls. The batteries are now underneath the electronic tray, giving me more room.

    No friends boats are on my lake yet and I have not purchased a means of recording the video, but that will come soon. Temperatures are cold this week, but next week it warms up and I can test my ROV from the dock. With my new setup I should be able to have the ROV swim out near the surface (buoyance set at neutral) and then I can submerge it to any depth desired using the vertical thrusters. If the ROV is moving ahead·and I want to increase depth I will just command the forward vertical thruster to thrust down and increase the down pitch angle. The horizontal thrusters will then push the ROV deeper. You get the picture I am sure. Another nice feature is being able to move the ROV up and down in depth while stationary horizontally. I should really be able to explore underwater objects with good control.·A still big problem Is being able to view the video monitor in daylight. I have cardboard hood that I place around it but it isn't very satisfactory. Any suggestions on monitors that work well in the daylight would be appreciated.

    This project has been a lot of work but it is certainly rewarding. When I get my tax rebate check I will buy a video recorder and I can then feed you guys some underwater pictures. Thanks for the interest,
    Richard
    640 x 480 - 170K
    640 x 480 - 160K
    640 x 480 - 159K
    640 x 480 - 161K
    640 x 480 - 157K
  • RichardFRichardF Posts: 168
    edited 2008-04-29 15:17
    Attached·are the Master and Slave PBasic programs for the current ROV control setup.
  • LilDiLilDi Posts: 229
    edited 2008-04-29 17:06
    Very nice project. I want one.
    Might I suggest before going deep, you pressure test the vehicle, without the electronics inside. Lake Michigan at 300 feet to bottom will be about 150 PSI. Those silicon joints might blow out and flood the vehicle at those depths.
    You should attach a grabber to the bottom of the vehicle so you can bring up all the bootie.
  • RichardFRichardF Posts: 168
    edited 2008-04-29 17:50
    LilDi,
    Good advice. As soon as a boat is available there is a 30 foot hole in our lake I will take it to and drop her down empty of electronics. All joints are flexible epoxy (West G epoxy), not silicon; so they should be okay. The tether is made up of both the electric cable (6 conductor, 28AWG) and a high strength nylon chord which is fastened to the body of the ROV so I can pull it up if it dies or gets stuck. I also am going to, at some point, put a water ballast system on the ROV which automatically blows out the water and the ROV rises to the surface if there is a loss of signal for a certain time between the surface and the ROV. By the way, the ROV weighs about 15 pounds when ballasted for neutral bouyancy.
    Thanks for the interest,
    Richard
  • MSDTechMSDTech Posts: 342
    edited 2008-04-29 21:27
    You might want to consider a ballast system like that used on the Trieste. The vessel was positive bouyant and used a pair of hoppers filled with steel shot to obtain negative bouyancy. The shot was held in place by a small electromagnet at the throat of the hopper. If the electromagnet lost power, like if the batteries ran out or shorted, then the pellets would fall out and the vessel would surface. It is fail safe in that it takes a positive action to keep the vessel submurged.
  • RichardFRichardF Posts: 168
    edited 2008-04-30 21:57
    Yeah! Really good dock trials today. Only four feet of water, but swam out·near the surface, submerged and explored the bottom. Don't have a video recorder yet but I have a few still shots. Magnetic heading and depth readouts work great.· I need to adjust the styrofoam floats on the the tether to get a neutrally buoyant tether. Waiting for a boat so I can get to deeper trials. I have very good control over the ROV. Attached are the shots from today's tests.
    640 x 480 - 167K
    640 x 480 - 173K
    640 x 480 - 174K
    640 x 480 - 151K
    640 x 480 - 169K
  • WhitWhit Posts: 4,191
    edited 2008-05-03 13:02
    Fantastic! Looks good in the water too!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Whit+


    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
  • jeffjohnvoljeffjohnvol Posts: 197
    edited 2008-07-21 02:11
    I know I'm late commenting on this thread, but impressive project.

    How did you get waterproof thrusters? Can you share your source?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    End dependance on foreign oil.· www.pickensplan.com
  • BradenBraden Posts: 5
    edited 2008-07-25 14:04
    Wow, that is an awesome project! Keep us posted.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    <.-.>Braden<.-.>
  • Karl WendtKarl Wendt Posts: 7
    edited 2009-04-24 16:48
    Which FreeScale depth sensor are you using? We are building a ROV in our engineering class and need one. confused.gif

    Thanks in advance, I wish we had found your project earlier! smilewinkgrin.gif
  • PainlessPainless Posts: 69
    edited 2009-05-01 21:24
    What a great project! I can't wait to see some video from the cam!

    A suggestion for a simplified ballast system:

    Attach a ballast tank to the ROV and connect it via two thin runs of nylon tubing, attached to the umbilical cable, running back up to the controller. You could then use a small electric pump to pump water either in or out of the ballast tank and save on battery power at the ROV.

    Have you considered removing the batteries from the ROV and providing power to it from the surface through the umbilical cable?

    Russ.
Sign In or Register to comment.