logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Why should Boaters build their own electronics?
marinettejoe
#1 Posted : Saturday, January 05, 2008 2:28:24 AM(UTC)
marinettejoe

Rank: Administration

Groups: Admin2
Joined: 12/3/2007(UTC)
Posts: 515
Points: 611
Location: Aquia, Va

Thanks: 31 times
Was thanked: 39 time(s) in 25 post(s)
Yes, More books and breadboards exist and the internet has allowed new developers to enter the market.

New kits, forums, and electronics designed for amateur robotics hobbyist and automotive secondary market have lowered the bar of entry for the marine electronics hobbyist. Hobby electronics and computing has made a resurgence that is driven by low cost PC based tools (USB oscilloscopes, one off electronics, cheap CNC shops) all supporting the small electronics hobbyist. PIC Basic software is easy to develop and allows hobbyists to create many of their own systems.

If you have ever been afraid of the electronics on the boat, please consider trying to build the next project yourself with these inexpensive kits.

It's worth it.

If you are not building a PC system, consider an embedded system.

http://en.wikipedia.org/wiki/Embedded_system

Unzinced ships sink at slips. yep
Sponsor
Please Register : To weed out spammers, new members may not post until approved. An email is usually sent after approval. This forum is for Marinette Owners and other aluminum boat boaters who wish to share boating information. Aluminum Roamer owners are also welcome. (Do not post content you do not have the right to post and mass (robots) posters are unwelcome. We also have a marine electronics page and lots of Chrysler Engine info. State by what permission you copy content and give credit properly.) The site is now fixed with some more Chrysler information. We have space for pictures on the new location. Use shinkpic to autochange size http://www.onthegosoft.com/sp_download.htm

Great Sites - http://www.marinette.com Marinette Company

http://web.me.com/dougmrose/Doug_Roses_Website/Welcome.html

http://fastjeff.tripod.com/ Repair Tricks and Techniques for Marinettes

http://www.greatlakesmarinetteclub.com/

PLEASE post in the appropriate folder. Please, do not post your actual email address in publicly readable websites. The first rule is be a class act.

marinettejoe
#2 Posted : Saturday, January 12, 2008 1:08:11 PM(UTC)
marinettejoe

Rank: Administration

Groups: Admin2
Joined: 12/3/2007(UTC)
Posts: 515
Points: 611
Location: Aquia, Va

Thanks: 31 times
Was thanked: 39 time(s) in 25 post(s)
You may decide to buy a scope. Some projects on the bus you make will have debugging assisted by a scope.

Oscilloscopes are not necessary for most projects. Many engine repair persons will be familar with using a scope to set dwell and to determine electrical problems on engines (even the Chryslers). However a good scope can resolve intermittent electrical problems as they are triggered.


Oscilloscope links

I have a couple of scopes and will probably get another. A basic used scope (USB or Analog can run as little as 150 bucks on ebay). Old Tektronix scopes (if calibrated) are excellent. I have a TAS 465 and a 2245 scope (basic 100Mhz). I will get a 11803 (50Ghz) scope. I'd love to have a scope with CANBUS bus analyzer features (NMEA2000) and long storage also (TDS 4000 series).

http://web.mit.edu/6.115...miscfiles/tektronix.pdf

https://www.cs.tcd.ie/co...f/labs/scope/index.html

Manuals are often online

http://www.mrtestequipme...scope+Service+Manual.pdf
Unzinced ships sink at slips. yep
marinettejoe
#3 Posted : Sunday, January 13, 2008 5:20:24 AM(UTC)
marinettejoe

Rank: Administration

Groups: Admin2
Joined: 12/3/2007(UTC)
Posts: 515
Points: 611
Location: Aquia, Va

Thanks: 31 times
Was thanked: 39 time(s) in 25 post(s)
Like me, you may be considering creating a project for the NMEA2000 bus. You can take some different approaches. No I won't send you a NMEA2000 primer. I would like to hear from successful developers on the marinette site (www.marinetteboat.com/forum electronics thread).

My boat has 2 Murphy www.fwmurphy.com Helmviews (with 3 bus types – J1939, NMEA2000 and Modbus) connected to new 2007 Crusaders. The system needed a specialty wiring harness.

The easiest is to buy a USB adapter for NMEA2000 and connect it to a PC. We'll assume you can program in BASIC or C. If you have never programmed anything before, you can start with a USB adapter and create a useful PC program. Remember, in order to do anything useful, you need something to measure or control. Reading the fuel level (PGN 127505 message) is probably the easiest thing to program, but you will need something to connect to (a fuel tank sensor) like Maretrons, or others. A PC based approach to getting into the bus is much simpler to program. Look for something that has a Application Programming Interface (API) that is easy to program with in a language you like. Most of these are C or C++, but you can find BASIC API's. Lawicel and Kvaser LeafLight make excellent generic CAN based adapters and Mareton makes an NMEA2000 bus adapter. If you know how to program windows and Visual Basic or C#, these can be excellent choices. Microsoft has free versions of these compilers. Someone will mention using embedded GNU c++, it's great for an experienced user, but will turn off many first timers in the configuration and setup of the platform for building.

If you have never built any electronics or programmed anything – get a learning kit from Parallax called the Basic stamp (also at Radio Shack). It teaches basic concepts like sensors and controllers with an easy to follow manual under 100 bucks. Worth every penny, even though it won't get you connected to NMEA2000 systems. You can still build useful projects with a Basic Stamp. A good choice might be a bilge alarm (A parallax basic stamp is very close to the PIC microprocessor line). NMEA2000 is very close to automotive technology so many of the 2 year college training courses at community schools apply as do their textbooks. Since I have GM based engines with MEFI 4 (Crusaders) that are J1939 compliant engines I can use the Murphys to do a lot.

I decided to go the embedded systems route first. I wanted to learn a processor that had a lot of good features. I had 2 real choices – Microchip PIC 18F (which has very good hobby support) and ARM (my choice) which is closer to a manufacturer choice. My best choice would have been PIC, as they already have a free J1939 stack (link located on my site or go to www.microchip.com) and they have a very good C and Basic compiler for that chip by Mikroe. A small manufacturer could start here with little investment – http://www.mikroe.com, using the BigPIC or Can system. It's hard to avoid C programming in this area. I recommend getting a PIC and some of the many good PIC books. A generic book on the subject is http://www.oreilly.com/catalog/dbhardware2/ designing embedded systems. My project based on Luminary Micro's 8962 evaluation board is going slowly.

My project is to first build a reader of fuel level for 2 tanks using the NMEA2000 bus for indicators at the back of the boat. (No fast or extended messaging is needed). Other than registering the device and isolating it, it should be simple. I will probably adapt the Rochester gauge senders with Maretron sensors or use the LM 2101 board to create a sensor pack.

If you are just starting with electronics, learning embedded systems is a bit harder, so start with something easy. I do this for a living (but not CAN), and yet still should have started with something easier. Get as much research as you can done early. I found I should have investigated more on the starting point with a chip manufacturer microchip who already has a very close stack.

Good luck. I won't send you a copy of the NMEA bus primer, as it's intellectual property of NMEA.
Unzinced ships sink at slips. yep
Tedgo
#4 Posted : Friday, January 18, 2008 2:35:41 AM(UTC)
Rank: Newbie

Groups: Member
Joined: 1/17/2008(UTC)
Posts: 0
Points: 27

I have been looking at Can Bus for a 16+ years but only now am I getting around to doing something with it.

I am interested in NMEA2000 and finding that there is no real information available on the web. The NMEA2000 primer document is about as much as I would want to pay. I fear that it will be the usual superficial document describing the Can Bus and NMEA200 in a flowery sort of way, rather than providing any real technical information of use to a programmer.

What we are all interested in is the exact details of the data contained within the Can Bus packets. My question is to anyone who has the NMEA2000 primer document, does it have that level of detail.


I have recently bought two Arm boards from Embedded Artists at,

http://www.embeddedartis.../boards/lpc2129_can.php

along with very cheap prototyping boards.

The C language is probably the best way to program embedded systems as it is so portable from one processor to another. I long gave up on Gnu compilers, for the Arm processors I use a compiler from Image Craft at,

http://www.imagecraft.com/

They are simple but very effective Windows based compilers.
Tedgo
#5 Posted : Friday, January 18, 2008 7:19:47 AM(UTC)
Rank: Newbie

Groups: Member
Joined: 1/17/2008(UTC)
Posts: 0
Points: 27

I have just learnt that the compiler I am using does not support the Cortex M3 core processors, such as the Stellaris LM3S8962, which Marinettejoe is using in his first project.

That processor is actually Thumb-2 which is totally different from the original Arm Thumb instruction set. Image Craft will be adding that later on, may be around April-May, but currently it's not supported.

A little disappointing as the Stellaris LM3S8962 has some nice features.
marinettejoe
#6 Posted : Friday, January 18, 2008 7:40:15 AM(UTC)
marinettejoe

Rank: Administration

Groups: Admin2
Joined: 12/3/2007(UTC)
Posts: 515
Points: 611
Location: Aquia, Va

Thanks: 31 times
Was thanked: 39 time(s) in 25 post(s)
Tedgo.

Welcome aboard, Not familiar with the Imagecraft board. There is a set of J1939 docs out there I recommend. Particularly J1939-81. The Microchip PIC J1939 stack is close. The issue for me is fastpacket.

You should have a similar board type from most of the C code.

Let's keep working across the 2 boards. I also hacked a couple of Arm routers boards and the Nslu2 (Linksys) arm with debian.

More later. Nice to see you here.
Unzinced ships sink at slips. yep
Xspence
#7 Posted : Monday, March 31, 2008 3:22:38 AM(UTC)
Xspence

Rank: Member - Wooden Star

Groups: Member
Joined: 1/25/2008(UTC)
Posts: 21
Points: 84

Thanks: 1 times
After reading the last few posts...I don't think I have ever felt dumber. I have no idea what you guys are talking about. lol. Thank God you guys exist so I don't have to think about that kind of stuff....
The Beatings will continue until Morale improves....


"But why is the rum always gone?"Capt. jack Sparrow


WWW.XSPENCE.COM
Click here for my website
marinettejoe
#8 Posted : Monday, March 31, 2008 10:40:30 AM(UTC)
marinettejoe

Rank: Administration

Groups: Admin2
Joined: 12/3/2007(UTC)
Posts: 515
Points: 611
Location: Aquia, Va

Thanks: 31 times
Was thanked: 39 time(s) in 25 post(s)
Xspence wrote:
After reading the last few posts...I don't think I have ever felt dumber. I have no idea what you guys are talking about. lol. Thank God you guys exist so I don't have to think about that kind of stuff....


Somebody has to make it. BigM
Unzinced ships sink at slips. yep
Users browsing this topic
guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.788 seconds.