Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 23-10-2018, 01:07   #1
Registered User

Join Date: Oct 2014
Posts: 20
A $20 Autopilot (Repost)

I have been using a windows computer software autopilot that I found.
It only requires a com port , relay board and GPS to operate.
It reads either $GPRMC or $GPVTG Baud 4800 and compares it to the set point then calculates an output that triggers Serial port DTR Pin 4 (steer to Port) or RTS Pin 7 (Steer to Starboard).
A Relay board is needed to amplify the com port outputs to drive the autopilot Motor
It is a stock Ebay item like this
https://www.ebay.com.au/itm/2-Channe...item4b3e1df0cb
It's tunable with Delays , Gain , Drive Time and PID loop.
I've attached the program zip and manual.
I would like someone with the necessary skills to convert it into an OpenCpn plugin.
The main work needed
1. Decomplile the program (Possibly compiled in Liberty Basic)
2. Allow the use of 38400 Baud (Set to 4800 only)
3. Include activated route to be used as course set point
4. Build as a plugin for easy cross platform use
Attached Thumbnails
Click image for larger version

Name:	Autopilot screen shot.jpg
Views:	103
Size:	62.0 KB
ID:	179487   Click image for larger version

Name:	Autopilot Relay Board.jpg
Views:	85
Size:	215.5 KB
ID:	179488  

Attached Files
File Type: pdf Autopilot.ZIP.pdf (1.23 MB, 28 views)
File Type: pdf Autopilot manual.pdf (131.2 KB, 27 views)
__________________

Steelcat is offline   Reply With Quote
Old 23-10-2018, 04:35   #2
Senior Cruiser
 
ronstory's Avatar

Cruisers Forum Supporter

Join Date: Sep 2015
Location: Portland, OR USA
Boat: C&C 35 MK-II
Posts: 142
Re: A $20 Autopilot (Repost)

Hi-

Interesting, but the ebay link doesn't seem to find item.
__________________

__________________
Thanks,
Ron
ronstory is offline   Reply With Quote
Old 23-10-2018, 04:55   #3
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 668
Re: A $20 Autopilot (Repost)

A quick google search for the text on he PCB easily find the board:
https://www.alibaba.com/product-deta...522026838.html


/Petter

Quote:
Originally Posted by ronstory View Post
Hi-

Interesting, but the ebay link doesn't seem to find item.
petter5 is offline   Reply With Quote
Old 23-10-2018, 05:09   #4
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 668
Re: A $20 Autopilot (Repost)

Price at Amazon UK is 5,99


https://www.amazon.co.uk/KKmoon-2-Ch.../dp/B07BQLJRJ7
petter5 is offline   Reply With Quote
Old 23-10-2018, 05:23   #5
Senior Cruiser
 
ronstory's Avatar

Cruisers Forum Supporter

Join Date: Sep 2015
Location: Portland, OR USA
Boat: C&C 35 MK-II
Posts: 142
Re: A $20 Autopilot (Repost)

Cool! Found it on the US site as well and thanks for the pointer.

https://www.amazon.com/Walmeck-2-Cha...ustomerReviews
__________________
Thanks,
Ron
ronstory is offline   Reply With Quote
Old 24-10-2018, 06:57   #6
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: chesapeake bay
Boat: bristol 27
Posts: 3,361
Re: A $20 Autopilot (Repost)

It's like saying you want to use seaclear for navigation instead of opencpn.

Don't expect a very efficient autopilot using a windows computer, and nmea sensor inputs. There is going to be a relatively large lag (time from boat turning to rudder reaction) This also going to use a lot of power and be unreliable running on a windows machine.

It would cost about the same to make a much better performing and efficient autopilot using pypilot which already has all the control interfaces implemented and much more.
boat_alexandra is offline   Reply With Quote
Old 24-10-2018, 17:56   #7
Registered User

Join Date: Jul 2018
Posts: 51
Re: A $20 Autopilot (Repost)

Quote:
Originally Posted by Steelcat View Post
I have been using a windows computer software autopilot that I found.
It only requires a com port , relay board and GPS to operate.
It reads either $GPRMC or $GPVTG Baud 4800 and compares it to the set point then calculates an output that triggers Serial port DTR Pin 4 (steer to Port) or RTS Pin 7 (Steer to Starboard).
A Relay board is needed to amplify the com port outputs to drive the autopilot Motor
Very nice project but I would dump those relays and move to MOSFETS instead.
__________________
Gary
ohgary is offline   Reply With Quote
Old 24-10-2018, 18:48   #8
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 11,705
Re: A $20 Autopilot (Repost)

As Sean wrote, Pypilot with the appropriate controller and your autopilot motor will save amps and work less.
rgleason is offline   Reply With Quote
Old 02-11-2018, 09:18   #9
Registered User

Join Date: Mar 2013
Location: Santa Cruz
Boat: 1975 Isander 28
Posts: 52
Re: A $20 Autopilot (Repost)

I am trying to do all this inside a micro controller. With a modern atmel it is easy to get NMEA from opencpn. Python is a non starter however, can someone refer me to NMEA based autopilot code written in C?
skkeith is online now   Reply With Quote
Old 02-11-2018, 17:13   #10
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: chesapeake bay
Boat: bristol 27
Posts: 3,361
Re: A $20 Autopilot (Repost)

Quote:
Originally Posted by skkeith View Post
. Python is a non starter
?


Many have attempted all in c with poor results. It is not a very good
Language if you don't want to send most of you time debugging. I have seen half dozen autopilot s like this, all hacks that are difficult to work on and not very efficient use of the motor.
boat_alexandra is offline   Reply With Quote
Old 08-11-2018, 16:28   #11
Registered User

Join Date: Mar 2013
Location: Santa Cruz
Boat: 1975 Isander 28
Posts: 52
Re: A $20 Autopilot (Repost)

well there is micro python, but I am attempting to do something light weight low power in a micro controller.
__________________

skkeith is online now   Reply With Quote
Reply

Tags
autopilot

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
REPOST: search for 23ft Waratah twin keel yacht (Orion 3)1970- & a set of plans. djaustralia Monohull Sailboats 0 20-04-2013 19:52



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 01:01.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.