element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi Projects
  • Products
  • Raspberry Pi
  • Raspberry Pi Projects
  • More
  • Cancel
Raspberry Pi Projects
Blog AutoPiLot: Using an RPi to control a powerboat
  • Blog
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi Projects to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: docjim
  • Date Created: 24 Jan 2014 3:11 PM Date Created
  • Views 1148 views
  • Likes 1 like
  • Comments 2 comments
  • raspberry_pi_projects
Related
Recommended

AutoPiLot: Using an RPi to control a powerboat

docjim
docjim
24 Jan 2014

Project background

Element 14 has just shaken me out of winter hibernation by awarding me an Ultimate Pi bundle to help pursue my aim of using the Raspberry Pi as a low-cost 'nerve centre' from which I can automatically control my powerboat.

Complete automatic control would be a very tall order indeed, so I'll have to approach it in stages.  One obvious and apparently 'doable' first task is to link the Pi to a GPS receiver and servo motors controlling the helm position so that a course can be set and maintained automatically.  This is my first stage project objective.

I have two major incentives for making this my first priority:

(1)     There is almost nothing more miserable than standing at the helm for hours on end in the cold and rain of a British summer.  It can be a very pleasant occupation (see any glossy ever produced on the subject) but my experience suggests that at least 50% of the helmsman's time will be spent exposed to our least clement weather.

(2)     Of course, commercial suppliers are well aware of this and offer ready-made solutions.  These, however, are not 'mass market' products so prices are high and functionality is constrained by a number of commercial considerations which generally have very little to do with my requirements, the characteristics of my boat and the very limited depth of my pocket.

So, for the cost of a little effort in software writing, some minimal 'boning-up' on modern electronics and a little application of workshop practice (extending no further that wielding a soldering iron and spanner), it looked like the Pi was the answer to this maiden's prayer - and Project AutoPiLot was born!

 

Previous work
I acquired my Pi about a year ago so have had some time to get acquainted.  Attaching a GPS chip directly (via the UART) and providing software to parse and interpret the GPS input proved (fairly) simple.  Supplying a GUI which allowed for easy (and reasonably weatherproof) onboard interaction with this system was similarly straightforward and limited sea trials were carried out towards the end of the last sailing season.

A number of problems came to light (weatherproofing, VDU visibility in high ambient light conditions) but the main problem anticipated in taking development forward was the apparent need to change from RISC OS and BBC Basic, in which my software had been written, to Raspbian OS and C/Python which were the 'recommended options' used to provide software support for most of the hardware packages I was going to need.

These I knew nothing about.  I have resisted 'object orientated' programming for more years than I care to mention and what I had seen of Raspbian and Python in the course of setting up my Pi had not been reassuring ('bloatware' seemed too kind a description: this project will eventually require me to store digital charts on the Pi SD card, so space could be at a premium).

Then the Ultimate Pi bundle arrived.  Well, beggars can't be choosers, so it's roll up your sleeves time, Jim lad!

Which brings us up to date....

 

Current tasks

First, I must get to grips with the Ultimate Pi bundle.  It offers several possibilities for steering servo motor control and system state display.  Which will be best?  Turns out, that is not an easy question to answer: I'm still struggling with software downloads and steep learning curves.  And, depending on how that works out, I have a choice of helm control mechanisms: mechanical or hydraulic.  So the detailed design of my system has still to be finalised - but I'm looking forward to a bit of 'right first time' top-down design.  That'll be nice!

I'll keep you posted.

Jim Gibb

Attachments:
image
  • Sign in to reply
  • docjim
    docjim over 11 years ago in reply to mazzmn

    Yes, I'd heard of these: but the fun of boating is being there - you're just not enjoying yourself unless you're soaked to the skin!

    I'm keeping an eye on the robotic boat developments but, so far, I'm still struggling to get the Pi to talk to the world in some sort of 'universally' accepted - or at least, popular - fashion.

    Best of luck with your projects.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mazzmn
    mazzmn over 11 years ago

    Very fun and useful project Jim! Good luck on that!
    My friends and I have heard of various projects where teams are building autonomous "boats" that are trying to cross the Atlantic...here's one that is guided by an arduino Robotic Boat Hits 1000-Mile Mark in Transatlantic Crossing - IEEE Spectrum

    We thought we'd start with a smaller challenge and just create one that will cross the pond in a nearby lake ... then move up to a narrow portion of the Mississippi river eventually. Maybe someday we can have a challenge and you send a boat our way and we'll send one your way to see who arrives first !!  :-)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube