Raspberry Pi Chart Ploter

Setting up Open CPN on a Raspberry Pi.

I started out thinking that it was going to be a matter of ordering all the parts plugging them together and installing some software. even though that is basically what I did, it ended up taking more time and research than I had initially expected.

I am working on adding an AIS receiver and GPS to this setup but as i don’t have them working yet I won’t cover them here.

Today I am going to cover;

  • The Hard Wear setup
  • Installing NOOBS
  • Installing Open CPN

Hardware

I got all my parts on amazon.co.uk you can find them on other places.  You will need:

913xyu1vtjl-_sl1500_

Raspberry Pi I got the Pi 3 as it was the newest when I placed the order. Pi 3 has a built in wifi and 4 USB ports.

71o2sh4linl-_sl1500_

A Micro SD Card nothing special here, just make sure you get a real name brand one.

613mkxukfjl-_sl1360_

Touch Screen  You don’t need a touch screen I just got this as I wanted to try it out. The raspberry pi is a little slow and the touch interface makes it a little frustrating to use at times. So I generally use the mouse most of the time.

7135urilukl-_sl1500_

Key Board and Mouse I got this keyboard Mouse combination as it was small wireless and had a track pad. It’s a little flimsy but is fine for working on the Raspberry pi.

61nteory9vl-_sl1000_

DC/DC Converter I am powering the Raspberry Pi and Screen from a DC/DC converter tuned to 5 volts. To use this instead of a micro USB cable you will need to do some soldering. If you are going to power your setup like this you need to check the converter is set to 5v first, otherwise you might burn your Pi!!
Burnt Pi

I used my multi meter to check the voltage.

img_8924

I then connected the Converter to the GPIO pin of the Raspberry pi to power it up.
Burnt Pi

I 3D printed the case to hold everything in one box and tidy the wires. I have up loaded all the files to MyMiniFactory page www.myminifactory.com/users/IrialK

20160912_072830charttable20160912_072821

I have also designed my own wall mounts and quick release plate for mounting everything.

img-20161124-wa0000wallmountscreenshot_2016-12-04-00-54-32

Chart_plotter stl ZIP File

Software

Once I had power to my setup then I installed NOOBS on the Micro SD Card. There is no point in repeating information. Here is a link to the Raspberry Pi website:

https://www.raspberrypi.org/learning/software-guide/quickstart/

I had a problem when setting up my screen. The raspberry wasn’t automatically recognizing the screen. After lots of looking I found a simple solution:

  1. I inserted the Micro SD Card into my main computer and found the config.txt file.
  2. I opened the file in a text editor.
  3. I added the following lines to the bottom of the file. hdmi_force_hotplug=1
    hdmi_group=2
    hdmi_mode=2
    hdmi_mode=87
    hdmi_cvt=1024 600 60 3 0 0 0
  4. I saved the file and reinserted the SD Card into the Pi.

It worked fine after this.

Now that the Pi is booted up and setup its time to install Open CPN. Again here I’m not going to go into detail. There is a page on the Open CPN website that covers this and a link to a blog post that does a much better job of explaining the process than I could. The blog post also explains adding a GPS which I have not done yet.

http://opencpn.org/ocpn/Install_raspberry-pi

http://kingtidesailing.blogspot.ie/2015/09/how-to-install-opencpn-on-raspberry-pi.html

There are a few other articles and videos that I came across and it either helped me or are related to running Open CPN

 

 

A Sinking Feeling – VLOG 006

In this video Irial patches our new rubber dinghy and we finish work in the heads, painting the walls, fitting the fresh water pump and putting in the surround for the sink.
The Time Lapse at the end of the video is taken from the top of the highest mountain in Ireland, where we went last weekend.

Enjoy the video!

LINKS
WEBSITE – https://asailingadventure.com/
INSTAGRAM – https://www.instagram.com/asailingadventure/

GEAR:
CANON 600D – http://www.dpreview.com/reviews/canoneos600d
CANON LENSE 18-135mm – http://www.dpreview.com/products/canon/lenses/canon_18-135_3p5-5p6_is
GOPRO Hero 4 Black
MAGIC ARM – https://www.amazon.co.uk/dp/B018QEIPSA?psc=1

VLOG 004 – Plumbing and Hatches – ASailingAdventure

In this episode we make some new hatches for the wheel house, discover a cheap solution for the vents on our dorade boxes and Irial talks about the plumbing in the bathroom.

 

 

Blog Post on Seacocks:

The Galley Part 1

Thanks for watching.

Enjoy the video!

LINKS
INSTAGRAM – https://www.instagram.com/asailingadventure/

GEAR:
CANON 600D – http://www.dpreview.com/reviews/canoneos600d
CANON LENSE 18-135mm – http://www.dpreview.com/products/canon/lenses/canon_18-135_3p5-5p6_is
GOPRO Hero 4 Black
MAGIC ARM – https://www.amazon.co.uk/dp/B018QEIPSA?psc=1

VLOG 003 – A Sailing Adventure – Drilling holes in the hull

In this episode we discover some problems in the bilge and Irial looks for possible solutions.

Thanks for watching.

Enjoy the video!

LINKS
WEBSITE – https://asailingadventure.com/
INSTAGRAM – https://www.instagram.com/asailingadventure/

GEAR:
CANON 600D – http://www.dpreview.com/reviews/canoneos600d
CANON LENSE 18-135mm – http://www.dpreview.com/products/canon/lenses/canon_18-135_3p5-5p6_is
GOPRO Hero 4 Black
MAGIC ARM – https://www.amazon.co.uk/dp/B018QEIPSA?psc=1

MUSIC – Nice and Easy – http://www.audionautix.com

Let there be light

The lights we had on the boat were old fluorescent tubes that ran on 12v. They were properly quite efficient from their time bbut that was 2 years ago and lighting technology has come a long way since then.

weekend035

I went online and ordered some 12v LED lights that looked like they  would work for our situation, like everything you buy online I was not sure of the quality of the product I was buying so I only ordered two. On arrival I was pleasantly surprised to find the lights were much brighter than I was expecting and more that adequate for our needs. Here is a link to them

weekend4-36

We ordered the larger version with 2 LED strips in them. We are going to order more of this size to fit in the salon, galley, chart table and work shop but I think they might be too bright for the cabins. We’ll have to find some nice small ones, maybe with a pivoting head.

weekend4-35

We also got some 12v to USB sockets for charging electronics. I’m going to go into the power system in more detail in another post but for now here is the USB sockets. I have them mounted in a case I 3D printed.

 

Safety First Kids!

We got some new protective gear this weekend to help with the boat maintenance. Here’s Ciara with her new gloves and mask.

weekend4-6

And here’s Ciara working with the ankle grinder.

weekend4-13

And about 20minutes later Ciara was on her way to the hospital. The ankle grinder slipped and Ciara ended up getting stitches along her baby finger. It can so easily happen. You should always be prepared and have a first aid kit onboard.

On the plus side Ciara now has an awesome scar!