Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
Old 18-12-2015, 14:09   #151
Registered User

Join Date: Nov 2007
Location: Probably and anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 2,840
Re: OpenPlotter project

Quote:
Originally Posted by addboy View Post
Thanks, but I did see a wiring diagram for either one?
Lots in google, I got a BMP180 in a day or so off amazon.

Let me google that for you
__________________

__________________
conachair is offline   Reply With Quote
Old 18-12-2015, 14:25   #152
Registered User

Join Date: Aug 2012
Location: Slidell, LA
Boat: Laguna 33
Posts: 80
Re: OpenPlotter project

Quote:
Originally Posted by Sailoog View Post
Added 4 GPIO outputs.
So exciting!

Gosh... what would it take to get a column of 8 or so "buttons" in a browser window to use to trigger actions? Another small enhancement with huge implications.
__________________

__________________
Saqqara is offline   Reply With Quote
Old 18-12-2015, 15:03   #153
Registered User

Join Date: Aug 2012
Location: Slidell, LA
Boat: Laguna 33
Posts: 80
Re: OpenPlotter project

Here's what I have currently connected to my Raspberry Pi 2 B and where:

I have an IMU (GY-89), a toggle switch, DS18B20 temperature probe.

Pin 1 3.3v: IMU 3V3 and also to switch 1.
Pin 3 GPIO2/i2c: IMU SDA
Pin 5 GPIO3/i2c: IMU SCL
Pin 6 Ground: DS18B20 Probe GD
Pin 7 GPIO4: DS18B20 Probe DATA*
Pin 9 Ground: IMU GND


Pin 15 GPIO 22: switch 1.
Pin 17 3.3v: Temp Probe POWER*

There is a 4.7k resistor between DS18B20 POWER and DATA.


---

Next up I need to hook up a second i2c device, the HTU21D humidity/temp. I have not looked up how to do that yet, since I already have one i2c device connected (anyone know? I believe it just connects to same pins with the IMU in parallel)

I'm also going to see if I can connect a relay board using the new outputs.
__________________
Saqqara is offline   Reply With Quote
Old 18-12-2015, 15:51   #154
Registered User

Join Date: Aug 2010
Posts: 32
Re: OpenPlotter project

are the pin numbers on the long black pin connectors on the side of the PI 2?
__________________
addboy is offline   Reply With Quote
Old 18-12-2015, 16:04   #155
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,514
Re: OpenPlotter project

Does openplotter calibrate the intertial sensors?
__________________
boat_alexandra is online now   Reply With Quote
Old 18-12-2015, 16:19   #156
Registered User

Join Date: Aug 2012
Location: Slidell, LA
Boat: Laguna 33
Posts: 80
Re: OpenPlotter project

Quote:
Originally Posted by addboy View Post
are the pin numbers on the long black pin connectors on the side of the PI 2?
You should really look at an image on the web for reference. Much easier to see.

https://ms-iot.github.io/content/en-...ppingsRPi2.htm
__________________
Saqqara is offline   Reply With Quote
Old 18-12-2015, 19:47   #157
Registered User
 
exkma367's Avatar

Join Date: Jan 2014
Location: PA
Boat: 68 tartan 34c
Posts: 75
Re: OpenPlotter project

I wired mine with the two sensors in parallel on the same SDA/SCL pins. If I understand it correctly, it is a BUS and the data travels in packets. I believe quite a few devices can share the BUS. (SDAta, SCLock)




Quote:
Originally Posted by Saqqara View Post
Here's what I have currently connected to my Raspberry Pi 2 B and where:

I have an IMU (GY-89), a toggle switch, DS18B20 temperature probe.

Pin 1 3.3v: IMU 3V3 and also to switch 1.
Pin 3 GPIO2/i2c: IMU SDA
Pin 5 GPIO3/i2c: IMU SCL
Pin 6 Ground: DS18B20 Probe GD
Pin 7 GPIO4: DS18B20 Probe DATA*
Pin 9 Ground: IMU GND


Pin 15 GPIO 22: switch 1.
Pin 17 3.3v: Temp Probe POWER*

There is a 4.7k resistor between DS18B20 POWER and DATA.


---

Next up I need to hook up a second i2c device, the HTU21D humidity/temp. I have not looked up how to do that yet, since I already have one i2c device connected (anyone know? I believe it just connects to same pins with the IMU in parallel)

I'm also going to see if I can connect a relay board using the new outputs.
__________________
exkma367 is offline   Reply With Quote
Old 18-12-2015, 20:30   #158
Registered User

Join Date: May 2012
Location: Sydney, Australia
Boat: Beneteau 373
Posts: 147
Re: OpenPlotter project

I am interested in getting started with this project. Understand most of it and I can programming in c . I would like to know what screen you are using.

Sent from my G630-U251 using Cruisers Sailing Forum mobile app
__________________
ben373 is offline   Reply With Quote
Old 18-12-2015, 22:57   #159
Registered User

Join Date: Aug 2010
Posts: 32
Re: OpenPlotter project

Is this the same IMU you used?
10DOF L3GD20 LSM303D BMP180 Gyro Accelerometer Compass Altimeter for Arduino W | eBay
I don't see wear pins 6, 7, 9, 15 and 17 go?
__________________
addboy is offline   Reply With Quote
Old 18-12-2015, 23:26   #160
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: On the Boat
Boat: Finnsailer 38
Posts: 1,027
Re: OpenPlotter project

How could we get a Winlink2000 Client into this distribution ?

I wonder if the RPi2 would be fast enough to run the Winlink2000 Airmail client software ? Seems like it might be possible Using Wine and QEMU, I think ?

Or perhaps the Paclink-Unix client with generic Email client.

Eventually I hope there will be an opensource Linux client.
WL2KGO is a work in progress.

Setting this stuff up is beyond me, but I'd be happy to help test it.

Cheers,
JM.
__________________
NahanniV is offline   Reply With Quote
Old 19-12-2015, 01:40   #161
Registered User
 
exkma367's Avatar

Join Date: Jan 2014
Location: PA
Boat: 68 tartan 34c
Posts: 75
Re: OpenPlotter project

Quote:
Originally Posted by addboy View Post
Is this the same IMU you used?
10DOF L3GD20 LSM303D BMP180 Gyro Accelerometer Compass Altimeter for Arduino W | eBay
I don't see wear pins 6, 7, 9, 15 and 17 go?
I used a 6DOF IMU Invensense MPU6050 Gyro + Accelerometer for Arduino, Drone, RC Plane and BMP180 Replace BMP085 Digital Barometric Pressure Sensor Board Module Arduino OR.


I think on your sensor you should just have to wire up the scl, sda, vcc, and gnd. That should give you Ic2 access to all the chips on the board.
__________________
exkma367 is offline   Reply With Quote
Old 19-12-2015, 08:40   #162
Registered User

Join Date: Aug 2012
Location: Slidell, LA
Boat: Laguna 33
Posts: 80
Re: OpenPlotter project

Addboy my imu only used pins 1, 3, 5 and 9 on pi. The imu pins are labeled for their function. My previous list describes which goes where. Some pins on imu not connected.


Sent from my iPhone using Cruisers Sailing Forum
__________________
Saqqara is offline   Reply With Quote
Old 19-12-2015, 08:41   #163
Registered User

Join Date: Aug 2012
Location: Slidell, LA
Boat: Laguna 33
Posts: 80
Re: OpenPlotter project

And yes that eBay link looks right.


Sent from my iPhone using Cruisers Sailing Forum
__________________
Saqqara is offline   Reply With Quote
Old 19-12-2015, 15:10   #164
Registered User

Join Date: Aug 2012
Location: Slidell, LA
Boat: Laguna 33
Posts: 80
Re: OpenPlotter project

Sadly I have discovered a need for a way to stop openplotter from running actions at startup. I apparently have it shutting down if a switch is on or off.

Ideas?


Sent from my iPhone using Cruisers Sailing Forum
__________________
Saqqara is offline   Reply With Quote
Old 19-12-2015, 15:28   #165
Registered User

Join Date: Aug 2012
Location: Slidell, LA
Boat: Laguna 33
Posts: 80
Re: OpenPlotter project

I was able to get in quickly and stop all triggers.

All I had was a switch set to shut down pi when on. It triggered for some reason whether switch was closed or open.

I had a second trigger always true to publish Twitter.




Sent from my iPhone using Cruisers Sailing Forum
__________________

__________________
Saqqara is offline   Reply With Quote
Reply

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
Want To Buy: Project Boat: Engineless 35'ish blue water cruiser project Max Sail Classifieds Archive 52 24-03-2013 13:27
Greetings + my project Marco Meets & Greets 8 27-02-2009 17:28
Major Project: What is the best way to organize our discussions? Andy R Forum Tech Support & Site Help 6 04-04-2006 15:21
Our ongoing project - Offshore 41 By Invitation Construction, Maintenance & Refit 7 04-12-2005 07:42
Portal sailing website project CaptainTom Meets & Greets 2 20-03-2003 07:50


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 22:59.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.