Shop OBEX P1 Docs P2 Docs Learn Events
Autonomous Toy Boat, revisited — Parallax Forums

Autonomous Toy Boat, revisited

TantanTantan Posts: 5
edited 2008-08-10 19:54 in Robotics
Over a couple of beers, me and a friend came up with the idea to try to build a solar powered autonomous toy boat that were capable to sail from Europe to the US. Later, we found jhoyoza posts in this forum and thought it was a good start to build a similar boat, learn as much as we could, and then take it to the next step. We started out with a small wood boat and have now moved on to a faster one, adding features in a steady pace. Our first buy was a Parallax Basic Stamp 2e and the board of education. We have then added a Pololu micro servo controller, a Garmin eTrex Vista GPS and a pile of commonly used R/C gadgets.
The boat is recently finished, and we're just about ready to start making the first longer trips. So far, we've always had the boat within range for the manual override switch. One more feature that we're working on is an onboard 3G mobile phone. The plan is for the boat to be able to respond to sms with it's current location, as well as answering incoming video calls.
For more information visit our project blog (its in Swedish, but a picture says a thousand words) http://korsaatlanten.blogspot.com/
confused.gif

The plan is to evaluate the project this summer and then upgrade to a bigger hull as we begin work on the solar power. More information on the project will be posted soon.
2272 x 1704 - 2M
1600 x 1200 - 287K

Comments

  • TantanTantan Posts: 5
    edited 2008-05-05 11:22
    The plan for this hull is to be able to navigate a 2 km long course from central Stockholm to the royal palace. On arrival the boat will activate a video link via cell phone, pan the view, and then return to its starting location. An alternative is for the boat to take a snapshot via a digital camera which can be viewed after the trip.
    The Basic Stamp 2e is a good microcontroller for this project, but two main problems had to be solved for it to work. First, sending a stream of commands to rudder and speedcontoller while at the same time listening to the receiver for a possible manual override command was a bit too much multitasking. This was solved by using the Pololu micro servo controller, enabling the BS2 to command a rudder position and speed which is then kept until further notice. Secondly, it took us a while to figure out why the BS2 gave funny numbers when calculating the heading from the GPS. This was solved by adding a fixed value to the variables before the calculations so that the BS2 never had to use negative numbers.
    Other problem that we've encountered is that small toy boats are generally not built to navigate icy Swedish waters. This was solved by finding a good supplier of spare propeller blades.

    The main problem we're faced with now is weight and power. Using standard R/C-batteries is a convenient and fairly cost effective way to increase range. However, the boat is now twice as heavy as it used to be in its standard configuration. It would be possible to build a power cell using lighter lithium-based batteries but then the cost would soar. The way to go is solar power, but that will probably require a third flatter hull. Here's a nice similar project from New Zeeland:
    Youtube link

    The plan of the project is to have a solar powered boat by next summer that is capable of traveling from Stockholm to Gotland (a Swedish island, about 400 km round trip). The year after, we've hoped to have learned enough to start building a boat capable of crossing the Atlantic. The goal is to make it go from Sweden to the US, take a photo, and then return. The trip will probably take a summer just in travel time, that is, if it survives the waves, fishnets, tankers, whales, etc., etc. If it were in fact to make it to the US, there's always the possibility of it being blown up by the coast guard. But considering all other possible ways to end up at the bottom of the Atlentic, it's a minor one.
    The hull for an Atlantic trip will probably be quite different. We're thinking in the lines of a semi-submerged boat-ish thing that would survive being overturned by storms and lying dormant for sunless weeks.
    2048 x 1536 - 898K
    1600 x 1200 - 298K
    1600 x 1200 - 300K
    1200 x 1600 - 323K
    1600 x 1200 - 575K
  • SethSeth Posts: 61
    edited 2008-05-05 13:24
    Very neat project. Can't wait to see the finished results.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    The pessimist is never disappointed.
  • skylightskylight Posts: 1,915
    edited 2008-05-06 20:40
    Good luck with the project, just hope it doesnt end up as fish food smilewinkgrin.gif
  • CapdiamontCapdiamont Posts: 218
    edited 2008-05-07 04:35
    Several ideas here, but one or both maybe useless.

    a) maybe able to save space and weight, by going with a gps module. Maybe power also, due to no lcd/display.

    b) and maybe useless, due to power/weight/drag/? to use the ocean as a battery.
  • TantanTantan Posts: 5
    edited 2008-05-07 09:26
    Our first thought was to purchase the Parallax GPS Receiver Module. The main reason for choosing the Gramin GPS was however simplicity. The GPS can be programmed with routs easily, it records track points when in motion, and it tells the BS2 heading to waypoint directly. The GPS also has a built in compass module that works whether the boat is still or moving.
    But, as you pointed out, the GPS module is far superior in weight and power consumption. The Garmin GPS will be connected to run on the boats batteries, reducing weight slightly. For the moment we have three separate battery systems, one rack of heavy-duty for the engine, one lighter airplane battery for the electronics and the GPS R6 batteries.

    We love to get ideas for alternative ways to generate power for longer trips. It's a bit scary sending it on longer trips with just one solar panel. It would be preferable to have separate power sources so that if the solar panel fails, the boat can still send its location via sms and power the electronics with i.e. wind power.
  • J. A. StreichJ. A. Streich Posts: 158
    edited 2008-05-07 19:02
    You can attempt to recoup some of the power loss from the propeller by making it a turbine with a simple magnate and coiled wire. If the batteries die and the solar go out, the currents forced past the propeller should generate a small amount of electricity.... But this seems like it wouldn't generate enough electricty when it's dead in the water. Generating electric in a small and compact and portable way has always been a huge difficulty, and the main reason electric cars are a long way off.
  • DgswanerDgswaner Posts: 795
    edited 2008-05-08 21:11
    What about adding one of those flash lights that you shake to generate electricity, modify it so it charges the battery and ditch the light, I imagine that there will be enough tossing and turning to generate quite a bit of power over the entire trip. this wouldn't cause drag or resistance. and could also serve as your battery holder(s).

    Id have the boat go into low power mode if a big enough storm was detected no sense fighting a fight you can't win. and use J. A. Streich's idea, have it switch into charge mode as the big waves are tossing about.

    and don't forget the ever important, return shipping address on the hull. just in case it runs a muck!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "A complex design is the sign of an inferior designer." - Jamie Hyneman, Myth Buster

    DGSwaner
  • TantanTantan Posts: 5
    edited 2008-05-08 22:03
    Hmm, tossing you say.. Last time I checked the storm weather of the coast of Norway, the waves were about 12 meters high. I imagine that could generate quite a bit of tossing-power.
    Thanks for the good idea.

    Another thing, concerning the currents; best way to the US from Sweden, north or south of England? Against the Gulf stream or with the north equatorial current? Perhaps better performance from the solar panel(s) closer to the equator is a factor? Not much of a rush though, we don't have to look into that for at least a year or two..
  • UghaUgha Posts: 543
    edited 2008-05-22 00:39
    I had a thought while reading your post...

    A Peltier device is a thermoelectric device that transfers heat from one side to another. They can even develope frost on one
    side and the other side be hot enough to melt plastic... they are often used in camping fridges, CPU coolers and the like.

    They are known to be very inefficient for this task....

    But they have another use. When there is a large temp difference between the two sides, they generate a current of their
    own!

    Basically you'd need a large temp difference between the sides... and as far as I can figure, the ocean is most likely the
    largest freaking heat sink in the world.

    Its just a thought. I'm no expert on Peltier devices or even electronics in general. Just thought I'd toss in my two cents.
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2008-07-15 09:58
    This project sounds like a lot of fun. I wish the blog was in english so I could read it.

    The Peltier device idea for power sounds neat. Ultimately the power system may be a combination of multiple methods so it is robust. I suspect that maybe the on-board electronics may get optimized to reduce their current draws.

    What is the latest with your experiments Tantan?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.

    www.brilldea.com·- Prop Blade, LED Painter, RGB LEDs, uOLED-IOC
    www.sxmicro.com - a blog·exploring the SX micro
    www.tdswieter.com
  • TantanTantan Posts: 5
    edited 2008-07-18 07:50
    If you want the blog in English, you can try Google translate (http://translate.google.com/) and translate the page from Swedish to English. Far from perfect, but at least it’s something.

    We’ve run into a bit of a snag with the project lately. It turns out that the bow mounted engine generated a strong enough magnetic field to make the internal magnetic compass go nutty. It’s kind of like the cartoons, when in order to make a wagon go you put a treat on a fishing rod and dangle it in front of the horse, well our boat was constantly chasing its own magnetic field. We’ve tried to use the compass bearing that the GPS can calculate from the satellites, but not only does it not work while the boat is still, it also seems fairly inexact. The problem was solved by adding a rather unaesthetic superstructure on top of the boat so that the compass is farther away from the engine.
    Another problem that took some time was that the speed controller that only was supposed to regulate the flow of power from the main battery to the engine diverted some of that power and sent it back into the servo controller chip (BEC-function). This royally screwed up the flow of electricity and nearly fried the entire chip. Luckily, we had a spare speed controller that suited our project better.

    We’ve also spent some time optimizing the timing of the autopilot-loop so that the every burst of data that is broadcasted from the GPS really is picked up and used to correct the heading.

    Due to heavy rain we couldn’t do the planned sea-trials yesterday and are now aiming for the first half next week, maybe preluded by good-luck sacrifice to Poseidon.
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2008-07-18 08:00
    Cool! Thank you for the update.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.

    www.brilldea.com·- Prop Blade, LED Painter, RGB LEDs, uOLED-IOC
    www.sxmicro.com - a blog·exploring the SX micro
    www.tdswieter.com
  • SRLMSRLM Posts: 5,045
    edited 2008-08-10 19:54
    You'll probably want to have two battery sytems: one for the motors and one for the electronics. The electronics battery is charged first, then the motor battey. This way the electronics are much less likely to loose power. Just a thought.

    Anyway: are you going to have an American contact? Your boat may be damaged in the journey, so it would be useful to have somebody look over it and make sure it can get back safely. Neat project.
Sign In or Register to comment.