Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > Navigation
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 28-08-2016, 17:41   #1
Registered User
 
vtomanov's Avatar

Join Date: Jan 2016
Location: UK , London
Boat: Jeanneau Sun Liberty 34
Posts: 225
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, 10:08   #2
Registered User
 
vtomanov's Avatar

Join Date: Jan 2016
Location: UK , London
Boat: Jeanneau Sun Liberty 34
Posts: 225
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, 11:43   #3
Registered User
 
vtomanov's Avatar

Join Date: Jan 2016
Location: UK , London
Boat: Jeanneau Sun Liberty 34
Posts: 225
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


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 04:58
Free navigation software JanPeter Navigation 33 17-04-2009 17:05

Advertise Here


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


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.