Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 28-08-2016, 18:41   #1
Registered User
 
vtomanov's Avatar

Join Date: Jan 2016
Location: UK , London
Boat: Jeanneau Sun Liberty 34
Posts: 197
Arduino software for navigation/boats

In case someone is planing to use arduino for boat navigation and other tasks - I've decided to share open source two of the core libraries in my electric dinghy outboard project :

New Electric Outboard Engine - Opinions wanted! | Jeanneau Owners Network Forum

arduino libraries:


https://github.com/vtomanov/Gps64
https://github.com/vtomanov/Thread64

The GPS calculations in Gps64 may be more appealing as they are quite precise, uses 64bit floating point arithmetic ( non available on arduino) and added some trigonometric functions implemented using latest math theory discoveries in 3D graphics - as result on a arduino slow architecture in 150msec can be calculated precise distance between 2 GPS points with less then 1/2m precision (usually takes about 15sec.)

The Thread64 brings preemptive multithreading on arduino with locking structures which enables some slow operations to be done in background asinchronously based on "producer->processor-> consumer" pattern
__________________
vtomanov is offline   Reply With Quote
Old 30-08-2016, 11:08   #2
Registered User
 
vtomanov's Avatar

Join Date: Jan 2016
Location: UK , London
Boat: Jeanneau Sun Liberty 34
Posts: 197
Re: Arduino software for navigation/boats

Added full featured new example - e.g. using it you can build with arduino a marine fixed GPS for pennies similar to this model : ( all calculation and code in the example - just add the gps censor and display and send the data to the display instead of the serial - including reset of the starting point and simultaneous calculation for average speed, distance and bearing from starting point and current distance , speed and bearing from last point )


http://www.psicompany.com/catalog/im...runo_GP-33.jpg


https://github.com/vtomanov/Thread64

example : Thread64WithGps64Example.ino
__________________
vtomanov is offline   Reply With Quote
Old 11-09-2016, 12:43   #3
Registered User
 
vtomanov's Avatar

Join Date: Jan 2016
Location: UK , London
Boat: Jeanneau Sun Liberty 34
Posts: 197
Re: Arduino software for navigation/boats

For who may need it - Logging and Motor/H-Bridge step control added as open source also :

https://github.com/vtomanov/Log64

https://github.com/vtomanov/Motor64
__________________
vtomanov is offline   Reply With Quote
Reply

Tags
navigation, software

Thread Tools
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
A DIY barograph based on an Arduino shield PauloOnArbutus Marine Electronics 5 23-01-2016 05:58
Free navigation software JanPeter Navigation 33 17-04-2009 18:05



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.