Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Engineering & Systems > Marine Electronics
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 29-07-2019, 01:01   #46
Registered User
 
GILow's Avatar

Join Date: Sep 2008
Location: On the boat, somewhere in Australia.
Boat: Swanson 42 & Kelly Peterson 44
Posts: 9,349
Re: DIY boat electronics, starting from scratch, what would you use?

Quote:
Originally Posted by conachair View Post
I keep banging the drum ........ No serious programming required for a Pi (unless you really want to just for the sake of writing code) , copy image onto a SD card, turn on....
Pi/esp combination works so well, a you need to to is send the data as signalk, a few extra lines of code on an esp.
I hear you, and I will bookmark this thread for when I have the time (and the inclination) to play.
__________________
Refitting… again.
GILow is offline   Reply With Quote
Old 30-07-2019, 06:44   #47
Registered User
 
GILow's Avatar

Join Date: Sep 2008
Location: On the boat, somewhere in Australia.
Boat: Swanson 42 & Kelly Peterson 44
Posts: 9,349
Re: DIY boat electronics, starting from scratch, what would you use?

Small aside.

Australia Post finally found my stuff. Only took three weeks, but very relieved to be reunited with all my electronics tools and components.

Despite this, I am still inclined to go ahead with the M5Stack. It just feels so much better than the picaxe for these jobs. I'll try them and report back with a separate thread on the build.
__________________
Refitting… again.
GILow is offline   Reply With Quote
Old 31-07-2019, 00:07   #48
Registered User
 
OldGreyB's Avatar

Join Date: Jan 2016
Location: East Coast, Australia
Boat: Lagoon 400
Posts: 221
Images: 1
Re: DIY boat electronics, starting from scratch, what would you use?

FionaJC: Cool integration on your Ketch.

GIlow :
Quote:
"Logical: I don't want to be debugging some other idiot's thinking in a crisis."
I hear you on that point! Glad OZ Post has found your tools.

conachair: Thanks for the link to the M5Stack. I had not seen that before.

I think this thread shows the true beauty of CF. The vast amount of real world knowledge and advice on any subject that is raised. May all your electronics learn not to smoke.
OldGreyB is offline   Reply With Quote
Old 31-07-2019, 00:11   #49
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: DIY boat electronics, starting from scratch, what would you use?

Seems lime a good overview of programming the esp8266, esp32 is similar.
https://ludzinc.blogspot.com/2019/07...velopment.html
conachair is offline   Reply With Quote
Old 31-07-2019, 00:57   #50
Registered User
 
GILow's Avatar

Join Date: Sep 2008
Location: On the boat, somewhere in Australia.
Boat: Swanson 42 & Kelly Peterson 44
Posts: 9,349
Re: DIY boat electronics, starting from scratch, what would you use?

Quote:
Originally Posted by OldGreyB View Post
May all your electronics learn not to smoke.


Well, that rules out using Lucas parts.

Click image for larger version

Name:	IMG_0028.jpg
Views:	84
Size:	37.0 KB
ID:	196936
__________________
Refitting… again.
GILow is offline   Reply With Quote
Old 31-07-2019, 04:49   #51
Registered User

Join Date: May 2011
Location: Lake Ont
Posts: 8,561
Re: DIY boat electronics, starting from scratch, what would you use?

Quote:
Originally Posted by conachair View Post
Seems lime a good overview of programming the esp8266, esp32 is similar.
https://ludzinc.blogspot.com/2019/07...velopment.html
Heh. I fell across that site last week, and I agree - he has truly condensed a few years of struggle into a single page of excellent advice. I also arrived at about the same place after following the ESP8266 since late 2014.

One ESP8266 framework I have not yet tried is Annex Wifi RDS, a web-based rapid development environment based on a form of BASIC. I've not been a big fan of BASIC, but the redeeming feature of this system is the way it's been integrated into an easy to use system. Hoping to have a play with it soon.
Lake-Effect is offline   Reply With Quote
Old 31-07-2019, 05:33   #52
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: DIY boat electronics, starting from scratch, what would you use?

Quote:
Originally Posted by Lake-Effect View Post
One ESP8266 framework I have not yet tried is Annex Wifi RDS, a web-based rapid development environment based on a form of BASIC. I've not been a big fan of BASIC, but the redeeming feature of this system is the way it's been integrated into an easy to use system. Hoping to have a play with it soon.
I've gone over to visual studio code with the platformio plugin for most arduino/esp stuff. Fair bit of a learning curve from the arduino IDE but worth it imho, links up to github & do all the python/esp/html in the same place. Plus save the libraries used so if someone changes a library in the future it doesn't break.
OTA is great as well, just add a little code and hide the esp away anywhere but still tweak the code without having to get a usb lead plugged in. Though I had to put it in a little loop with some delay to get it stable rather in the main loop.
conachair is offline   Reply With Quote
Old 31-07-2019, 12:22   #53
Registered User
 
GILow's Avatar

Join Date: Sep 2008
Location: On the boat, somewhere in Australia.
Boat: Swanson 42 & Kelly Peterson 44
Posts: 9,349
Re: DIY boat electronics, starting from scratch, what would you use?

Quote:
Originally Posted by conachair View Post
I've gone over to visual studio code with the platformio plugin for most arduino/esp stuff.

After staring at the Visual Studio IDE since version 6.0 in 1998, I can honestly say I NEVER want to see it again.

Not saying it isn’t any good, I am sure it is very good, but that part of my life is over now and I want it to stay that way n
__________________
Refitting… again.
GILow is offline   Reply With Quote
Old 31-07-2019, 14:09   #54
Registered User

Join Date: May 2011
Location: Lake Ont
Posts: 8,561
Re: DIY boat electronics, starting from scratch, what would you use?

Quote:
Originally Posted by GILow View Post
After staring at the Visual Studio IDE since version 6.0 in 1998, I can honestly say I NEVER want to see it again.

Not saying it isn’t any good, I am sure it is very good, but that part of my life is over now and I want it to stay that way n

You say that now... but spend a weekend with the standard Arduino IDE.
Lake-Effect is offline   Reply With Quote
Old 31-07-2019, 14:34   #55
Registered User
 
GILow's Avatar

Join Date: Sep 2008
Location: On the boat, somewhere in Australia.
Boat: Swanson 42 & Kelly Peterson 44
Posts: 9,349
Re: DIY boat electronics, starting from scratch, what would you use?

Quote:
Originally Posted by Lake-Effect View Post
You say that now... but spend a weekend with the standard Arduino IDE.
Ah... right. Fair point. I had a quick look the other day... it's umm... good for the price.

I concede, if I got serious I'd probably grudgingly go back to Visual Studio, but 30 years of programming for a living has left me wanting something else from my life, like sailing.

The plan is to knock out these three projects as quickly as possible and then settle down in the cockpit with a cup of tea and book for the next few years.

The M5Stack gizmos were posted to me yesterday, so should arrive within a week. Can't wait to get my hands on them.
__________________
Refitting… again.
GILow is offline   Reply With Quote
Old 02-08-2019, 07:35   #56
Registered User

Join Date: Jul 2014
Location: Seattle
Boat: Wauquiez Pretorien 35
Posts: 68
Re: DIY boat electronics, starting from scratch, what would you use?

The biggest issue I would see for a Raspberry Pi in a critical application like this is the SD card which is the Achilles heel of the pi, and the assumption that the Pi will be shut down gracefully and not just have its power cut. You need to figure out how to boot it from more reliable media over the network, and boot up reliably whether the power was cut with or without uncommitted writes in play when the power was cut. Arduino and other microcontrollers which do not attempt to be full-blown computers don't have this problem.


Part of the problem is it will all work great for a while, and then suddenly the SD card will give up the ghost or you will have some other file corruption issue because the power was cycled unexpectedly.


You can solve all these problems with the Pi, but it does take some foresight and work.
patja is offline   Reply With Quote
Old 02-08-2019, 08:23   #57
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: DIY boat electronics, starting from scratch, what would you use?

Quote:
Originally Posted by patja View Post
You can solve all these problems with the Pi, but it does take some foresight and work.
Not that hard, just never turn it off
Don't think I've ever had a card fail yet, and crashed it a good few times playing around. It is worth getting a name brand though imho.
conachair is offline   Reply With Quote
Old 02-08-2019, 08:30   #58
Registered User

Join Date: Jan 2012
Posts: 82
Re: DIY boat electronics, starting from scratch, what would you use?

I use Openplotter on an RPI, and an assortment of Arduino and ESP32 devices. I've just discovered M5Stack and M5Stick, and associated add-ons. What a great system! They are ESP32 based, so plenty of power, have nice little displays and cases. I'm looking forward to implementing them on the boat.
abarrow is offline   Reply With Quote
Old 02-08-2019, 10:30   #59
Registered User
 
blubaju's Avatar

Join Date: Mar 2008
Location: where my little boat is ;-) now Philippines
Boat: Catamaran Schionning Wilderness 1320, built myself
Posts: 475
Re: DIY boat electronics, starting from scratch, what would you use?

Quote:
Originally Posted by GILow View Post
But the boat IS home.
I like to check my home=boat on sidetrips, like Kalahari or Kilimandscharo, or even next town. Might not be there where I left it or freezers cooling water pump stopped.....



Nice informative thread, thank you to all experts here!
blubaju is offline   Reply With Quote
Old 02-08-2019, 16:40   #60
Registered User
 
GILow's Avatar

Join Date: Sep 2008
Location: On the boat, somewhere in Australia.
Boat: Swanson 42 & Kelly Peterson 44
Posts: 9,349
DIY boat electronics, starting from scratch, what would you use?

Quote:
Originally Posted by abarrow View Post
I use Openplotter on an RPI, and an assortment of Arduino and ESP32 devices. I've just discovered M5Stack and M5Stick, and associated add-ons. What a great system! They are ESP32 based, so plenty of power, have nice little displays and cases. I'm looking forward to implementing them on the boat.


My three M5’s are on their way to me now in the post. I figured I’d share the results of my three projects here on CF when I get them. Keep an eye open for the thread in a month or so, or maybe you’d like to start a M5Stack thread if you’ve got stuff already that people here (me) would find helpful. [emoji846]
__________________
Refitting… again.
GILow is offline   Reply With Quote
Reply

Tags
boat, DIY, electronics


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
Complete boat electrical and electronics from scratch Timber Marine Electronics 22 23-07-2016 07:13
Tanzer 22 - Starting wiring from scratch again... (help!) scottmcleod Electrical: Batteries, Generators & Solar 7 23-06-2013 16:43
Starting from Scratch knottybuoyz Construction, Maintenance & Refit 46 14-12-2008 18:03
Starting From Scratch - What Would You Do? ssullivan Navigation 45 16-06-2008 15:10
Buiding our boat - starting from scratch Alain d'HYLAS Construction, Maintenance & Refit 11 02-12-2006 09:19

Advertise Here


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


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.