Cruisers Forum
 


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 Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
Old 18-12-2015, 13:09   #151
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
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, 13:25   #152
Registered User

Join Date: Aug 2012
Location: Slidell, LA
Boat: Laguna 33
Posts: 86
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, 14:03   #153
Registered User

Join Date: Aug 2012
Location: Slidell, LA
Boat: Laguna 33
Posts: 86
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, 14:51   #154
Registered User

Join Date: Aug 2010
Posts: 35
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, 15:04   #155
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: OpenPlotter project

Does openplotter calibrate the intertial sensors?
seandepagnier is offline   Reply With Quote
Old 18-12-2015, 15:19   #156
Registered User

Join Date: Aug 2012
Location: Slidell, LA
Boat: Laguna 33
Posts: 86
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, 18:47   #157
Registered User
 
exkma367's Avatar

Join Date: Jan 2014
Location: PA
Boat: 68 tartan 34c
Posts: 76
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, 19:30   #158
Registered User

Join Date: May 2012
Location: Sydney, Australia
Boat: Dufour 310
Posts: 202
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, 21:57   #159
Registered User

Join Date: Aug 2010
Posts: 35
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, 22:26   #160
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: Nova Scotia Canada
Boat: Wharram Tiki 46
Posts: 1,321
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, 00:40   #161
Registered User
 
exkma367's Avatar

Join Date: Jan 2014
Location: PA
Boat: 68 tartan 34c
Posts: 76
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, 07:40   #162
Registered User

Join Date: Aug 2012
Location: Slidell, LA
Boat: Laguna 33
Posts: 86
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, 07:41   #163
Registered User

Join Date: Aug 2012
Location: Slidell, LA
Boat: Laguna 33
Posts: 86
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, 14:10   #164
Registered User

Join Date: Aug 2012
Location: Slidell, LA
Boat: Laguna 33
Posts: 86
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, 14:28   #165
Registered User

Join Date: Aug 2012
Location: Slidell, LA
Boat: Laguna 33
Posts: 86
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


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 12:27
Greetings + my project Marco Meets & Greets 8 27-02-2009 16:28
Major Project: What is the best way to organize our discussions? Andy R Forum Tech Support & Site Help 6 04-04-2006 14:21
Our ongoing project - Offshore 41 By Invitation Construction, Maintenance & Refit 7 04-12-2005 06:42
Portal sailing website project CaptainTom Meets & Greets 2 20-03-2003 06:50

Advertise Here


All times are GMT -7. The time now is 01:40.


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.