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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Legacy Personal Blogs AutoPiLot:  Using an RPi to drive a powerboat auto pilot
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: docjim
  • Date Created: 24 Jan 2014 4:11 PM Date Created
  • Views 584 views
  • Likes 0 likes
  • Comments 2 comments
  • rpibeginner
Related
Recommended

AutoPiLot:  Using an RPi to drive a powerboat auto pilot

docjim
docjim
24 Jan 2014

Project title: Auto PiLot

 

Objective: Design, construct, commission and operate a complete autopilot system capable of safely
steering a sea-going motor boat under user command.

 

Method: Exploit the processing capabilities of the RPi to

 

(1) Receive and interpret NMEA-coded GPS signals from a suitable receiver chip to
determine vessel's current position, course and speed.

 

(2) Receive and interpret user commands to set the required vessel course and
speed. Two methods of command input will be provided: (a) mouse/keyboard (Note
1), and, if cockpit noise levels permit, (b) voice.

 

(3) Combine inputs (1) and (2) to derive control signals (Note 2) to operate two
12V steering servo motors which will continuously (Note 3) trim the steering
gear and throttle settings of the vessel so that the course and speed requested
by the user can be set and maintained if sea conditions permit.

 

(4) Provide continuous monitoring of the vessel's status (Note 4) to ensure that
the requested course and speed can be safely achieved and/or maintained and
provide timely warning of any change in status which may require a user
response (Note 5).

 

Notes:

(1) In the cockpit environment of small vessels, any electromechanical device can
be at significant risk of damage and/or loss. The preferred 'failsafe' method
of user input would therefore be an environmentally hardened touchscreen but
these do not yet appear to have reached a sufficient stage of development to
provide the required reliability at an acceptable cost. Software experiments so
far indicate that a (radio controlled) mouse provides an adequate input device,
with occasional back-up from a keyboard (which may be kept under shelter).

(2) Ideally, all control signals will conform to NMEA protocols to ensure
broad-range compatibility with auxiliary equipment and ease of maintenance and
upgrade.

 

(3) Control adjustment cannot be truly 'continuous' and a major part of the
development effort will be devoted to the determination of control system
characteristics.

 

(4) The vessel 'status' data required will include accelerometer data (to gauge the
frequency and severity of aero- and hydrodynamic loadings) as well as the
vessel's position relative to navigational hazards. As an alternative, it may
be possible to use two GPS chips, situated at bow and stern, to provide the
required 'sea-state' data.

 

(5) A multi-level 'status notification' feedback is required, ranging from a simple
'advisory' VDU note to 'imminent hazard' warnings which will be backed by audio
alarms. The number and level of these will be determined by environmental tests.

 

Equipment required:

  1. Raspberry Pi (c/w mouse, keyboard and WiFi dongle)
  2. Compatible GPS chip(s) and/or accelerometers (see Note 4, above)
  3. Gertboard I/O buffer
  4. Cockpit monitor (7" HDMI)
  5. 2 x 12V d.c. servo motors
  6. Appropriate power supplies for 12V source

 

Progress so far:

An RPi has been programmed to interrogate a GPS chip and provide a 'user friendly'
GUI for the display of vessel position and speed and for the input of user
commands (via mouse and, occasionally, keyboard, see Note 1, above). Plotter
software has also been completed which allows a display of the vessel's
position on user-selected chart. All programming has been carried out using
RISC OS; it is anticipated that conversion to Raspbian may be necessary if the
full functionality envisaged above is to be achieved.

 

This system was tested at sea during Sept.-Oct., 2013. Further development,
particularly the development of the active control system software and
associated hardware components, had to be curtailed due to (unrelated)
mechanical problems with the test vessel. Testing will be resumed in the spring
of 2014, by which time it is hoped to have a prototype control system ready for
testing, once the required components (Gertboard, 12V servo-motors) can be
bought.

 

Supporting statement:

This project is a 'real world' application of the RPi and associated Gertboard,
which aims to do a little more than flash a few LEDs. My immediate aim is to
provide my boat with a sophisticated autopilot costing orders-of-magnitude less
than possible commercial alternatives but the longer-term development
opportunities which will be opened up on successful completion are also
extremely attractive, particularly in the areas of automatic 'vessel status
monitoring' and ‘remote hazard warning’ where potential applications extend far
beyond my hobby interests.

  • Sign in to reply
  • michaelkellett
    michaelkellett over 11 years ago in reply to Former Member

    Jim, aren't you just a little concerned about the safety aspects of all this. The RPi was never designed to be used in a safety critical application and I think that steering  a power boat is exactly that. AFAIK you are not meant to leave the helm of a powerboat un-manned even if the autopilot is in control. At the very least make sure you have a totally reliable emergency cut off for the autopilot and check your insurance policy.

     

    MK

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

    I am interested in following your post as I have an autopilot but the hydraulic pump controller has broken. The unit has an electronic compass which allows one to set a course and the autopilot then maintains the course via sensing the compass.

    • 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 © 2026 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